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

Shaw Talebi August 10, 2023
Video Thumbnail

About

No channel description available.

Video Description

🤝 Work with me: https://www.shawhintalebi.com 🚀 Ship AI apps in weeks, not months: https://aibuilder.academy/ 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://medium.com/towards-data-science/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 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

Boost Your NLP Projects

AI-recommended products based on this video

Loading...
Asus Dual NVIDIA GeForce RTX 3050 6GB OC Edition Gaming Graphics Card - PCIe 4.0, 6GB GDDR6 Memory, HDMI 2.1, DisplayPort 1.4a, 2-Slot Design, Axial-tech Fan Design, 0dB Technology, Steel Bracket

Asus Dual NVIDIA GeForce RTX 3050 6GB OC Edition Gaming Graphics Card - PCIe 4.0, 6GB GDDR6 Memory, HDMI 2.1, DisplayPort 1.4a, 2-Slot Design, Axial-tech Fan Design, 0dB Technology, Steel Bracket

(903)
$248.98
FREE delivery Sat, Jan 3
300+ bought in past month
Loading...
MSI NVIDIA GeForce RTX 3050 Ventus 2X XS 8G OC Graphics Card - 8 GB GDDR6, 1807 MHz, PCI Express Gen 4, 128 Bits, DP v 1.4a, DL DVI-D, HDMI 2.1 (Supports 4K at 120Hz)

MSI NVIDIA GeForce RTX 3050 Ventus 2X XS 8G OC Graphics Card - 8 GB GDDR6, 1807 MHz, PCI Express Gen 4, 128 Bits, DP v 1.4a, DL DVI-D, HDMI 2.1 (Supports 4K at 120Hz)

(760)
$1,020.45
Loading...
Yeston RTX 3050 6GB GDDR6 Graphics Cards Nvidia pci Express 4.0 x8 Video Cards Desktop Computer PC Video Gaming Graphics Card

Yeston RTX 3050 6GB GDDR6 Graphics Cards Nvidia pci Express 4.0 x8 Video Cards Desktop Computer PC Video Gaming Graphics Card

(94)
$448.71$429.58
FREE delivery Feb 18 - 20
Loading...
Instant Eye & Face Tightener Cream: Reduces Bags & Puffiness, Smooths Wrinkles & Fine Lines in Minutes, Temporary Lift & Firm Under-Eye Area, Anti-Aging Lightweight Formula for Men & Women, 30 ml

Instant Eye & Face Tightener Cream: Reduces Bags & Puffiness, Smooths Wrinkles & Fine Lines in Minutes, Temporary Lift & Firm Under-Eye Area, Anti-Aging Lightweight Formula for Men & Women, 30 ml

(41)
$25.99
FREE delivery Tue, Apr 7 on your first order
Loading...
Instant Eye & Face Tightener Cream: Reduces Bags & Puffiness, Smooths Wrinkles & Fine Lines in Minutes, Temporary Lift & Firm Under-Eye Area, Anti-Aging Lightweight Formula for Men & Women, 30 ml

Instant Eye & Face Tightener Cream: Reduces Bags & Puffiness, Smooths Wrinkles & Fine Lines in Minutes, Temporary Lift & Firm Under-Eye Area, Anti-Aging Lightweight Formula for Men & Women, 30 ml

(41)
$23.99
FREE delivery Fri, Feb 6 on your first order
Loading...
Organic Rosemary Oil for Hair Loss: Hair Scalp Serum Treatment to support Looking Fuller Hair - botanical boost for healthy scalp - Natural Nutrient Rich ingredients for Damage hair strengthen roots 110 ML

Organic Rosemary Oil for Hair Loss: Hair Scalp Serum Treatment to support Looking Fuller Hair - botanical boost for healthy scalp - Natural Nutrient Rich ingredients for Damage hair strengthen roots 110 ML

(17)
$24.99
FREE delivery Sat, Dec 27 on your first order
Loading...
PAKCHOICE 2 Pack Continuous Spray Bottle Mister - 10.1 oz/300 ml, Refillable Fine Mist Spray Bottle for Hair Styling, Plants, Cleaning, Salons and Skin Care (White and Black)

PAKCHOICE 2 Pack Continuous Spray Bottle Mister - 10.1 oz/300 ml, Refillable Fine Mist Spray Bottle for Hair Styling, Plants, Cleaning, Salons and Skin Care (White and Black)

(298)
$12.99
FREE delivery Sat, Jun 14 on your first order