Getting Started With Hugging Face in 15 Minutes | Transformers, Pipeline, Tokenizer, Models

  Рет қаралды 337,361

AssemblyAI

AssemblyAI

Күн бұрын

Learn how to get started with Hugging Face and the Transformers Library in 15 minutes! Learn all about Pipelines, Models, Tokenizers, PyTorch & TensorFlow integration, and more!
Get your Free Token for AssemblyAI Speech-To-Text API 👇www.assemblyai.com/?...
Hugging Face Tutorial
Hugging Face Crash Course
Sentiment Analysis, Text Generation, Text Classification
Resources:
Website: huggingface.co
Course: huggingface.co/course
Finetune: huggingface.co/docs/transform...
▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬
🖥️ Website: www.assemblyai.com
🐦 Twitter: / assemblyai
🦾 Discord: / discord
▶️ Subscribe: kzbin.info?...
🔥 We're hiring! Check our open roles: www.assemblyai.com/careers
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Timestamps:
00:00 Intro
00:40 Installation
01:02 Pipeline
04:37 Tokenizer & Model
08:32 PyTorch / TensorFlow
11:07 Save / Load
11:35 Model Hub
13:25 Finetune
HuggingFace Tutorial
HuggingFace Crash Course
#MachineLearning #DeepLearning #HuggingFace

Пікірлер: 151
@xade8381
@xade8381 8 ай бұрын
eyebrows are talking in there own language
@yami007
@yami007 5 ай бұрын
😅
@violentfox
@violentfox 4 ай бұрын
You mean German?
@socialtraffichq5067
@socialtraffichq5067 2 ай бұрын
Actually the eyebrows are communicating and Morse code and the messages I'm being held hostage help me escape exclamation
@johnjay2455
@johnjay2455 2 ай бұрын
Hahaha I love KZbin comments
@Paperbutton9
@Paperbutton9 2 ай бұрын
yeah what the hell going on here
@yangsung
@yangsung 11 ай бұрын
I love the fact you're smiling like a genuinely happy individual. Good vibes. We need more that in the world.
@10xFrontend
@10xFrontend Ай бұрын
That is because you cant see the gun behind him....
@canyahandle
@canyahandle 8 күн бұрын
@@10xFrontend Cuz he is using Happying Face,,,
@clintl326
@clintl326 Жыл бұрын
Thank you for this introduction! The Finetuning part at the end was a little fast, so I'll be checking out your other videos to learn more. Thanks again.
@theonerm2
@theonerm2 Жыл бұрын
I've been trying to figure this out for days and in the first couple minutes of the video you helped me a lot.
@sarapicciau8906
@sarapicciau8906 Жыл бұрын
Thank you for this quick tutorial! It's exactly what I was looking for :)
@erfanshayegani3693
@erfanshayegani3693 Жыл бұрын
Great and concise explanation! Thank you so much!
@joseluisbeltramone599
@joseluisbeltramone599 Жыл бұрын
Awesome summary / introduction. Thank you so much!
@sumowll8903
@sumowll8903 Жыл бұрын
This is a very helpful introduction! Thank you so much for putting it up!
@AssemblyAI
@AssemblyAI Жыл бұрын
Glad it was helpful!
@echofloripa
@echofloripa 8 ай бұрын
Thanks for the tutorial! In only 1 year we came from 34K models available to almost 300K models, almost 10x increase! 😮
@ThomasPrivat
@ThomasPrivat 8 ай бұрын
What an awesome introduction! Thanks a lot mate! 💪
@SebastianSastre
@SebastianSastre 7 ай бұрын
Thanks for making this task more inviting. Now I definitively want to know details on the hot-to do the fine tuning over custom content
@jyim0310
@jyim0310 2 ай бұрын
I like your clear voice, easy explanation and smile.😄
@kahwatv
@kahwatv Жыл бұрын
This is awesome. Thanks for the excellent walk through transformers library
@akshpatel1321
@akshpatel1321 11 ай бұрын
He covered each details for a beginner and its great.
@knkn5049
@knkn5049 2 ай бұрын
I cant invent by myself, how to save history of chat for conversation
@CezarVasconcelos
@CezarVasconcelos Жыл бұрын
Amazing explanation. Thanks for sharing your knowledge!
@bernds.2986
@bernds.2986 Жыл бұрын
Very helpful tutorial! Many thanks for it! By the way, you speak very clear English and that is extremely helpful for me as a 'non-native speaker' 😊
@rayfincle2466
@rayfincle2466 6 ай бұрын
Excellent tutorial. Cannot believe only 3.7k likes for this. I recommend typing the code out in vscode or other and running in parallel while watching the video.
@ElNachoMacho
@ElNachoMacho 28 күн бұрын
Exactly what I was looking for. Thank you for sharing!
@satyamm9901
@satyamm9901 28 күн бұрын
Man such a cherpy guy. I loved your energy. Thanks for the video.
@sergiofigueiredo1987
@sergiofigueiredo1987 Ай бұрын
Simple and straight to the point!
@being-awe-some
@being-awe-some 11 ай бұрын
Thanku so much for putting together important things in an easy way. Waiting for more of such videos from you.
@user-ms3nf6tv6h
@user-ms3nf6tv6h Ай бұрын
Thank you so much for the tutorial. It was very helpful. The explanation was precise and concise!
@user-jm6pi1en7g
@user-jm6pi1en7g 5 ай бұрын
Thanks for clearly explained tutorial !
@EricSchroeder-cc4hf
@EricSchroeder-cc4hf 9 күн бұрын
Totally appreciate this, thank you - had to install tensorflow==2.13.0 and kares==2.13.1 - worked great
@ykoy1577
@ykoy1577 Жыл бұрын
Great lecture. Thank you for sharing your knowledges
@user-yh4mk4sd8y
@user-yh4mk4sd8y 6 ай бұрын
It's the best tutorial I've ever see. Thanks!
@harsh9558
@harsh9558 Жыл бұрын
Awesome tutorial, to the point 🔥 Thx a lot man!!!!
@bendev6807
@bendev6807 Жыл бұрын
Thank you very much for the very informative video and the great examples.
@peterdonnelly1074
@peterdonnelly1074 6 ай бұрын
This is a superb tutorial. Many thanks.
@saibharathwajsaikannan3783
@saibharathwajsaikannan3783 Жыл бұрын
This is amazing! Thanks :)
@vanshshah8352
@vanshshah8352 11 ай бұрын
What a sweet guy. Amazing work
@ferdaozdemir
@ferdaozdemir 6 ай бұрын
This is fantastic I hope you can make more videos covering other pipelines for HuggingFace transformers package.. Many thanks.. 😀
@nagibgonzalez5645
@nagibgonzalez5645 11 ай бұрын
Great video! Do you know how I would be able to view a classification report and confusion matrix of a sentiment analysis pipeline?
@brillosan08
@brillosan08 Жыл бұрын
really useful intro, thank you!
@razdingz
@razdingz Жыл бұрын
love ur vids man
@Amir-ee8mc
@Amir-ee8mc Жыл бұрын
Nice summary! Thanks!
@alternbits
@alternbits 8 ай бұрын
complete and short. awesome.
@juliank7408
@juliank7408 Ай бұрын
Thanks! Clear and informative
@abhijoysar
@abhijoysar Жыл бұрын
Thank you very much. It has been super helpful. Huggingface is the best thing I discovered this year.
@kahwatv
@kahwatv Жыл бұрын
What are you working on ?
@abhijoysar
@abhijoysar Жыл бұрын
@@kahwatv I am building an AI system that can code itself.
@kahwatv
@kahwatv Жыл бұрын
@@abhijoysar That's interesting (and ambitious). Would be interested to learn more by if possible.
@JoshuaFurman-nd1os
@JoshuaFurman-nd1os Жыл бұрын
Great explanation, danke!
@BDEvans
@BDEvans 4 ай бұрын
This is a brilliant video!!!
@metamatt7257
@metamatt7257 Жыл бұрын
Hey! Thanks for the great tutorial. How can you make the AI remember the full convo, so it remembers the outputs it gave? For example it says my name is Andrew, but then will say that it's name is Anna when asked again Sorry if its a dumb question:D
@user-dn1uh5zq7u
@user-dn1uh5zq7u Жыл бұрын
I love this video, very useful!
@ChikereEzeh
@ChikereEzeh 28 күн бұрын
brilliant!!!
@manisharya2138
@manisharya2138 Ай бұрын
you are eye blinking that's awesome 😊😊
@mauroinde
@mauroinde 11 ай бұрын
thanks for using VSC, it is a better good feeling for me
@krinodagamer6313
@krinodagamer6313 Жыл бұрын
THANK YOU!!!
@TheRealKitWalker
@TheRealKitWalker 9 ай бұрын
Dude I so love you❤ for making such useful videos😊😊😊
@debatradas1597
@debatradas1597 7 ай бұрын
thank you so much
@skyforever1000
@skyforever1000 2 ай бұрын
this is way more better than what AWS guys do ...
@JaimeZX
@JaimeZX 8 ай бұрын
I enjoyed the video but perhaps need a "100-level" one with specific use-cases and how you would plan out your development and configuration to get after that use-case. :)
@MuhammadKhan-ok3hf
@MuhammadKhan-ok3hf 9 ай бұрын
outstanding, Thank You
@ahmedelsabagh6990
@ahmedelsabagh6990 14 күн бұрын
Great video!
@shahab7363
@shahab7363 6 ай бұрын
great video! Thank you
@matthiasdenhamer3925
@matthiasdenhamer3925 Жыл бұрын
Very helpful, thanks!
@AssemblyAI
@AssemblyAI Жыл бұрын
Glad it was helpful!
@giovanniguerreiro8640
@giovanniguerreiro8640 Ай бұрын
Great intro video!
@ferdaozdemir
@ferdaozdemir 6 ай бұрын
Hi, I want to use tokenizer along with some other AI models(not decided yet). I have a set of files of text (source code). They are already classified for multiple attributes. Such as file A has x and y true, file b has x true y false.. Regarding that I have two questions. 1- I want to tokenize the file contents but in my case not single words but groups of words (such as groups of 3, 4 tokens) makes sense. So, I want to tokenize in a way to group those sets of words if that is possible. 2- Each file would have different lengths, thus different number of tokens. How can I use these sets of mergedtokens for prediction. I mean what is the best AI technique to use afterwards to prepare a model for prediction?
@antonioanerao
@antonioanerao 5 ай бұрын
I'm watching this video in October 2023 and it's so cool to see that now there are 376,348 models
@stanTrX
@stanTrX 6 ай бұрын
3:01 i understood up to this point,the first example 🤗
@_virtualbeings_
@_virtualbeings_ 9 ай бұрын
Still the best intro to HF in my opinion! PS: would love to know which theme is used in VS Code, it's great.
@Shahrose-Khan
@Shahrose-Khan 5 ай бұрын
I think it is Night Owl
@zoyaa9759
@zoyaa9759 Ай бұрын
The best explanation
@AssemblyAI
@AssemblyAI 29 күн бұрын
Glad you think so!
@rajkumar3433
@rajkumar3433 7 ай бұрын
This should be on hugging face
@ajaykryadav
@ajaykryadav 11 ай бұрын
Too good 👍
@naedeezy8967
@naedeezy8967 Ай бұрын
Bro gives off good vibes
@allgoodstufftoknow7000
@allgoodstufftoknow7000 11 ай бұрын
greate video! thanks!
@razdaz5306
@razdaz5306 Жыл бұрын
Ur best teacher
@AssemblyAI
@AssemblyAI Жыл бұрын
Thank you :)
@fernandofrias8322
@fernandofrias8322 9 ай бұрын
muchas gracias!!!!
@macaunutritionassociation
@macaunutritionassociation Жыл бұрын
im running windows on my PC is there any problem downloading Linux and the other codes you described?
@Shiny_Mewtwo
@Shiny_Mewtwo 8 ай бұрын
Nice
@generichuman_
@generichuman_ Жыл бұрын
Do you know how to use the BPE tokenizer and have it keep the spaces? I've tried every combination of parameters imaginable and my transformer always outputs a string with no spaces.
@josephpareti9156
@josephpareti9156 Жыл бұрын
do you have a repo for the code shown in the video?
@hernandosierra8759
@hernandosierra8759 2 ай бұрын
Gracias
@meirgoldenberg5638
@meirgoldenberg5638 9 ай бұрын
Is there a pipeline for translating a text into a dense vector representation?
@caiyu538
@caiyu538 Жыл бұрын
Great. 🎉
@steveopenn
@steveopenn 10 ай бұрын
Do you run this and visual basics?
@fahadasif638
@fahadasif638 3 ай бұрын
your smile is so cute😍😚
@Blooper1980
@Blooper1980 Жыл бұрын
NOICE!
@arachnaut2432
@arachnaut2432 4 ай бұрын
what app did you switch to one minute in?
@mellio19
@mellio19 23 күн бұрын
what software are you using i love the interface so streamlined i'm using jupyter notebooks
@mellio19
@mellio19 23 күн бұрын
its ok i found it visual studio thanks 🙂
@rzl1025
@rzl1025 7 ай бұрын
What is the best natural language model for answering multiple choice questions in mathematics? CHATGPT is not so good at this..
@huseyinsenol1769
@huseyinsenol1769 7 ай бұрын
I hope one day you will fix your pip install problems.
@daveckw
@daveckw Жыл бұрын
for other models, sometimes i get something like below: pytorch_model-00001-of-00002.bin pytorch_model-00002-of-00002.bin How do I make them into safetensor format so it can be loaded into the webui?
@jbperez808
@jbperez808 Жыл бұрын
How do you get VS Code to show the completions (in a python virtual environment)?
@knkn5049
@knkn5049 2 ай бұрын
2 questions : i get some warning about "right padding", dk how to fix it. I was trying to use conversational pipes but why they are such trash? 50% of times they just repeat, and cant do anything about it. Send help.
@aeigreen
@aeigreen Жыл бұрын
it took be entire day when i read doc and implement ,, while i sould have learn the same in 15 mins.
@meirgoldenberg5638
@meirgoldenberg5638 9 ай бұрын
It says that no model was supplied and it's using a default model. Did it actually download that default model or used an API to connect to it remotely? If it's the latter, is that free of charge?
@ashj1165
@ashj1165 9 ай бұрын
thanks for this video. But towards 11:32 timestamp, why do we save tokenizer as well? Isn't it a static module that we can simply import again?
@crassflam8830
@crassflam8830 9 ай бұрын
Tokenizers can be rather complicated; in many cases they're learned/trained; you'd want to save after fine-tuning them (and just to have them offline i reckon)
@user-wr4yl7tx3w
@user-wr4yl7tx3w 10 ай бұрын
How come I didn’t see any labels data used for training or fine tuning in your examples?
@tanusri11a84
@tanusri11a84 10 ай бұрын
can i use these transformers for commercial use
@alvarobyrne
@alvarobyrne Жыл бұрын
one level of abstraction inside 6:07 tokenization 8:22
@user-bg1ef9xc9v
@user-bg1ef9xc9v 5 ай бұрын
Can you please help explain what to do if you have a Mac OS and your Jupyter Notebook keeps crashing when you try to import pipeline from transformers? The kernel keeps dying.
@CodySmiley
@CodySmiley 11 ай бұрын
Tutorial for peoples already know Transformers, Pipeline, Tokenizer and Models :)
@balrajvishnu
@balrajvishnu Ай бұрын
What is the app you are using to code
@venes3713
@venes3713 11 ай бұрын
Is it safe to send proprietary data on hugging face APIs?
@MyMusicNow23
@MyMusicNow23 8 ай бұрын
외국어로 듣는데 왜이리 잘들리지.
@yinghaohu8784
@yinghaohu8784 Жыл бұрын
I like your smile
@haralc
@haralc Жыл бұрын
How to do text generation without the pipeline? I'm not sure why everyone everywhere is doing sentence classification.
@peepdaslan984
@peepdaslan984 Жыл бұрын
So you not going to show us how to install the pytorch, tensorflow, or flax? #ijs
@ravipaliwal4041
@ravipaliwal4041 5 ай бұрын
I am using a gated model and I am getting authorization error in JS can you please suggest me some resources to add authorization
@nat.serrano
@nat.serrano Жыл бұрын
ModuleNotFoundError: No module named 'transformers' how can I fix this?
You need to learn AI in 2024! (And here is your roadmap)
45:21
David Bombal
Рет қаралды 576 М.
$0 Embeddings (OpenAI vs. free & open source)
1:24:42
Rabbit Hole Syndrome
Рет қаралды 234 М.
Transformers for beginners | What are they and how do they work
19:59
HuggingFace Crash Course - Sentiment Analysis, Model Hub, Fine Tuning
38:12
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 865 М.
OpenAI Embeddings and Vector Databases Crash Course
18:41
Adrian Twarog
Рет қаралды 343 М.
Fine-tuning Large Language Models (LLMs) | w/ Example Code
28:18
Shaw Talebi
Рет қаралды 193 М.
Transformers, explained: Understand the model behind GPT, BERT, and T5
9:11
6 Ways For Running A Local LLM (aka how to use HuggingFace)
28:21
Semaphore CI
Рет қаралды 16 М.