MENU

Fun & Interesting

The Hugging Face Transformers Library | Example Code + Chatbot UI with Gradio

Shaw Talebi 81,398 lượt xem 1 year ago
Video Not Working? Fix It Now

🗞️ Get exclusive access to AI resources and project ideas: https://the-data-entrepreneurs.kit.com/shaw
🧑‍🎓 Learn AI in 6 weeks by building it: https://maven.com/shaw-talebi/ai-builders-bootcamp
--
This is the 3rd video in a series on using large language models (LLMs) in practice. Here, I give a beginner-friendly guide to the Hugging Face Transformers library, which provides an easy and cost-free way to work with various open-source language models.

▶️ Series Playlist: https://www.youtube.com/playlist?list=PLz-ep5RbHosU2hnz5ejezwaYpdMutMVB0

📰 Read more: https://towardsdatascience.com/cracking-open-the-hugging-face-transformers-library-350aa0ef0161?sk=225a4171af141daeb3869dcf614201dd
💻 Example code: https://github.com/ShawhinT/YouTube-Blog/tree/main/LLMs/hugging-face

More resources
pipeline() doc: https://huggingface.co/docs/transformers/main_classes/pipelines#transformers.pipeline.task
pip installation: https://huggingface.co/docs/transformers/installation
Vanilla Chatbot demo: https://huggingface.co/spaces/shawhin/vanilla-chatbot

--
Homepage: https://shawhintalebi.com/

Intro - 0:00
What is Hugging Face? - 1:05
🤗Transformers - 2:05
Models - 4:40
Installation - 8:24
Sentiment Analysis - 9:49
Summarization - 11:48
Conversational - 13:04
Chatbot UI with Gradio - 14:42
Web app with Spaces - 17:38
What's next? - 20:46

Comment