К содержимому
learnspaceYOUR NEXT CHAPTER
ПРОСТРАНСТВО ОБУЧЕНИЯ
ГлавнаяКаталог курсовМоё обучениеCoursera

Знания без границ

Учитесь у лучших университетов и компаний мира.

Открыть Coursera
Интеграция
Пространство университета
Моё пространствоСтраница курса
↵
ЯЛичный кабинетСтудент
© 2026 LearnSpaceКаждый день — возможность узнать больше.Помощь
Building AI Apps with Hugging Face Spaces and Gradio · LearnSpace
Назад в каталог
courseraIT и технологии

Building AI Apps with Hugging Face Spaces and Gradio

Курс от Hugging Face
Средний≈ 7.2 чАнглийский
О курсеНавыкиПрограммаПреподаватели

О курсе

By the end of this course, learners will be able to: • Load and preprocess HF Hub datasets, fine-tune a pre-trained model with the Trainer API, compute evaluation metrics, and push the result to the Hub with a model card. • Build interactive AI applications using gr.Interface and gr.Blocks with multi-component layouts, conditional visibility, session state, and event listeners • Build a streaming multi-turn chatbot using gr.ChatInterface with an LLM backend and extend it with real-time inference workflows. • Deploy a Gradio app to HF Spaces, configure hardware and secrets, evaluate cost vs. performance trade-offs, and query the deployed app programmatically using the Gradio Python client. A model stuck in a notebook is a model nobody uses. Some familiarity with the HF Transformers library and pipeline API will help you hit the ground running. The course starts where most tutorials stop — with the data. Work through a realistic fine-tuning scenario: the off-the-shelf classifier isn’t cutting it for your domain, so you’ll load a dataset from the Hub, preprocess it with the right tokenization strategy, configure the Trainer API, evaluate with real metrics, and publish the result with a model card. Once you have a model that works for your domain, the next question is: how do people use it? Wrap it in a Gradio app, graduate from quick prototypes with gr.Interface to structured applications with gr.Blocks, and add streaming chatbot behavior with gr.ChatInterface — including diagnosing why a chatbot demo feels broken the day before a client presentation. Deploy everything to Hugging Face Spaces, configure ZeroGPU when the budget won’t cover dedicated hardware, and turn your app into a programmable API endpoint. By the end, you’ll have a fine-tuned model and a live, deployed application that other systems can call.

Навыки, которые вы освоите

Hugging FaceModel EvaluationUser Interface (UI) DesignApplication DeploymentData PreprocessingData ProcessingAI WorkflowsCloud DeploymentApplied Machine LearningModel DeploymentApplication Programming Interface (API)UI ComponentsLLM ApplicationEvent-Driven ProgrammingModel TrainingReal Time DataApplication DesignFine-tuningLarge Language ModelingTransfer Learning

Программа курса

4 модулей · 33 учебных материалов

01Working with HF Datasets and Fine-Tuning10 материалов
Welcome: From Consumer to CreatorВидеоKey Terms GlossaryЧтениеThe Model Isn’t Learning — What’s Wrong with the Data?DIALOGUELoading and Exploring Datasets from the HubВидео

Учитесь у экспертов

Hugging Face

Преподаватель курса

Building AI Apps with Hugging Face Spaces and Gradio
В каталоге вашей программы

Инвестируйте в себя

Новые знания — в удобное для вас время.

Начать на Coursera

Обучение откроется на Coursera
в новой вкладке

Обучение на Coursera

≈ 7.2 ч

4 модулей

Язык: Английский

Часть программы вашего университета
Preprocessing with map() and DataCollatorWithPaddingВидео
Trainer API and Dataset Preprocessing ReferenceЧтение
Fine-Tuning with the Trainer APIВидео
Evaluating, Publishing, and Documenting Your ModelВидео
Fine-Tune a Sentiment Classifier for NovaPayЛабораторная
Practice Assignment: Working with HF Datasets and Fine-TuningЗадание
02Gradio Fundamentals: Interface and Blocks6 материалов
Your First Gradio App with gr.InterfaceВидеоFrom Interface to Blocks — Taking Control of LayoutВидеоGradio Components and Blocks ReferenceЧтениеState Management and Event Wiring in BlocksВидеоBuild a Multi-Component Classification App with BlocksЛабораторнаяPractice Assignment: Gradio Fundamentals: Interface and BlocksЗадание
03Building Chatbot and Streaming Apps7 материалов
The Chatbot Demo Is Tomorrow — and It’s Not StreamingDIALOGUEBuilding a Chatbot with gr.ChatInterfaceВидеоChatInterface and Streaming ReferenceЧтениеStreaming Responses Token by TokenВидеоReal-Time Inference Workflows Beyond ChatВидеоBuild NovaPay’s Customer Support ChatbotЛабораторнаяPractice Assignment: Building Chatbot and Streaming AppsЗадание
04Deploying to HF Spaces10 материалов
Deploying to Spaces — The Git-Based WorkflowВидеоSecrets, Environment Variables, and Production ConfigurationВидеоThe App Is Too Slow on CPU — But the Budget Won’t Cover A10GDIALOGUEProgrammatic Access with the Gradio Python ClientВидеоSpaces Deployment and Gradio Client ReferenceЧтениеDeploy the NovaPay Chatbot to SpacesЛабораторнаяPractice Assignment: Deploying to HF SpacesЗаданиеFinal Assessment: Building AI Apps with Hugging FaceЗаданиеWhat You Can Build, Ship, and IntegrateВидеоApplying Your Fine-Tuning and Deployment SkillsЧтение