How to Use Hugging Face Inference API

  Рет қаралды 29,847

Fahd Mirza

Fahd Mirza

Күн бұрын

This video is a hands-on step-by-step tutorial with code to show you how to use hugging face inference API locally for free.
▶ Become a Patron 🔥 - / fahdmirza
#huggingface
PLEASE FOLLOW ME:
▶ LinkedIn: / fahdmirza
▶ KZbin: / @fahdmirza
▶ Blog: www.fahdmirza.com
RELATED VIDEOS:
▶ Code www.fahdmirza....
▶ HF huggingface.co...
All rights reserved © 2021 Fahd Mirza

Пікірлер: 35
@kij0te
@kij0te 9 ай бұрын
I am a beginner, after many hours of failed attempts with other KZbin videos, yours worked, THANK YOU, you are the best
@fahdmirza
@fahdmirza 9 ай бұрын
Glad I could help!
@Alvaro-cc6dt
@Alvaro-cc6dt 8 ай бұрын
Thank you so much, my teacher asked me to make a similar tutorial and i based on yours, but dont worry i put your video as reference, greetings from Brazil
@fahdmirza
@fahdmirza 8 ай бұрын
wow, so nice of you, thanks. Please also share the channel with your teacher and class. Thanks
@DmitriZaitsev
@DmitriZaitsev 12 күн бұрын
What was the exact code you used? The one you linked to produces another output. Thanks.
@samratajamal
@samratajamal 19 күн бұрын
I want to deploy openface model for my application but unable to do this and not even showing the deploy option.can you tell me how I deploy this model because The model you use can be deployed.
@shubhamnikumbh4117
@shubhamnikumbh4117 Ай бұрын
How we can make sure the model we pick for repo id. At what quantization type? Because in many models comes with the quantization.
@zanjeeltariq9079
@zanjeeltariq9079 6 күн бұрын
Thank you so much, God bless!!!!
@fahdmirza
@fahdmirza 6 күн бұрын
You are so welcome
@adityapatil6723
@adityapatil6723 2 ай бұрын
sir i want to use "openai/whisper-large-v3-turbo" model but i cant find any tutorial on this
@TestAutomationTV
@TestAutomationTV 2 ай бұрын
Why'd you use a giant model locally?
@vigneshrs3221
@vigneshrs3221 2 ай бұрын
Can I use this api just like the open ai api? And maybe use for my projects?
@adityapatil6723
@adityapatil6723 2 ай бұрын
sir i admire for just making such a grate vid
@fahdmirza
@fahdmirza 2 ай бұрын
Appreciate it!
@NetZeroEarth
@NetZeroEarth 9 ай бұрын
Can u provide the code use in github or on your website please?
@fahdmirza
@fahdmirza 9 ай бұрын
Sure, I have put the link to code in video's description.
@NetZeroEarth
@NetZeroEarth 9 ай бұрын
Thank you !!! 😊
@dallasdominguez9501
@dallasdominguez9501 8 ай бұрын
Fahd great video! Now When you say we can work with any model on huggingface, does this also include models that accept multimodal inputs? Im on a project where I need to make calls to models like InstructBLIP and LLaVA-Next which are found in the huggingface transformers library. However I'm getting stuck on both how I would make the call to the actual model, how I would structure the prompt and json packet to send to the model (given that I need to send multiple images, data from a csv file, and how I'd be able to integrate all of this into a proper prompt that could be sent to a multimodal model). Any tips or guidance would help. Thank you!
@fahdmirza
@fahdmirza 8 ай бұрын
would have to check.
@nocode_fever
@nocode_fever 8 ай бұрын
Same question
@hitthetone9635
@hitthetone9635 8 ай бұрын
Im having difficulty with exporting the token. I think in Windows its done with "set" instead of "export", but it still doesnt accept this.
@fahdmirza
@fahdmirza 8 ай бұрын
yes set or setx
@tillwill3232
@tillwill3232 7 ай бұрын
Hi, does the free inference api work for custom/pivate models or do we need to use the paid endpoints? Thanks
@fahdmirza
@fahdmirza 7 ай бұрын
I think there are some free credits available.
@ketan6182
@ketan6182 5 ай бұрын
very often when i try to run code this way it does not run at all, it just sits blankly waiting for output... is there a solution to this significant waiting time? microsoft/Phi-3-vision-128k-instruct is the model i was using.
@saarza9991
@saarza9991 4 ай бұрын
try running in parallel thread using async await
@joshuamickey1648
@joshuamickey1648 3 ай бұрын
Hi Mirza, Can we do tool call through this HFInference API? Reply fast if possible.
@fahdmirza
@fahdmirza 3 ай бұрын
yes you can if the model supports it.
@merakshot9277
@merakshot9277 6 ай бұрын
i know you explained it but i want just to make sure how to know if a model is paid, or free, and does Inference API can be used for free like lifetime or it will stop one day
@merakshot9277
@merakshot9277 6 ай бұрын
thank you for the video, and i will appreciate your reply
@innovatorshome
@innovatorshome Ай бұрын
@@merakshot9277 you need to pay for the endpoint
@dronnema203
@dronnema203 4 ай бұрын
is that an ai agent??
@fahdmirza
@fahdmirza 3 ай бұрын
No
@loicnembot5927
@loicnembot5927 6 ай бұрын
thanks
What is Hugging Face? - Machine Learning Hub Explained
10:05
NeuralNine
Рет қаралды 53 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
The Best Way to Deploy AI Models (Inference Endpoints)
5:48
Arseny Shatokhin
Рет қаралды 16 М.
RAG from Scratch without any Frameworks
11:21
Prompt Engineering
Рет қаралды 24 М.
Inference API: The easiest way to integrate NLP models for inference!
10:38
This is How I Scrape 99% of Sites
18:27
John Watson Rooney
Рет қаралды 266 М.
AI Horde - Crowdsourced AI For Free
8:52
Fahd Mirza
Рет қаралды 574
Hands-On Introduction to Inference Endpoints (Hugging Face)
7:22
Nodematic Tutorials
Рет қаралды 2 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН