How to Fine-tune a GPT-3 Model - Step by Step 💻

  Рет қаралды 82,927

All About AI

All About AI

Күн бұрын

Пікірлер: 121
@AllAboutAI
@AllAboutAI Жыл бұрын
Become a member here: kzbin.infojoin Join the newsletter here: www.allabtai.com/newsletter/
@andrescolon
@andrescolon Жыл бұрын
Thanks for your videos and sharing your knowledge in this evolving field.
@AllAboutAI
@AllAboutAI Жыл бұрын
Thank you for the support 🙏⭐️
@ai-DAAS
@ai-DAAS Жыл бұрын
can you link the src code thank you for this great channel
@joey9784
@joey9784 Жыл бұрын
where is the GitHub link??? what is the use of watching the whole video when we can't implement it??
@talkingtoai
@talkingtoai 2 жыл бұрын
Not sure what is more outstanding, the content or the thumbnails? 👌
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Thnx😃
@ajitkumar15
@ajitkumar15 Жыл бұрын
Thank you for this great video !!! , please share the link to the code sample.
@christophchristoph9909
@christophchristoph9909 Жыл бұрын
Thanks for the video! Why did it you use Ada as the model? It’s much cheaper? Also in use later
@TomaszMadry
@TomaszMadry Жыл бұрын
What was the website for selling/buying programs?
@mauricioosorio3103
@mauricioosorio3103 Жыл бұрын
Do you think that we can train a AI with all company data and then use the chat to ask questions about all that information in a natural language?
@daniyalumer1425
@daniyalumer1425 Жыл бұрын
I was wondering about the same thing
@erobusblack4856
@erobusblack4856 Жыл бұрын
we got agi with either the perceiver line of modalities or ig really Gato 🤔 but vima is the Nvidia version
@adamhughes4496
@adamhughes4496 Жыл бұрын
This was a perfect introduction of how to start using chatGPT to create your own models. Incredible that learning python 12 years ago has now equipped me to fine tune the most sophisticated AI models on the planning. LOL what a time to be alive
@automioai
@automioai Жыл бұрын
Almost the same story here XD
@ZParodie
@ZParodie Жыл бұрын
Great vid, thanks a ton
@thecutestcat897
@thecutestcat897 Жыл бұрын
Thanks, this helps me a lot!
@ArthurPex
@ArthurPex Жыл бұрын
Where is the link for the gist shown on video? great content btw!
@AllAboutAI
@AllAboutAI Жыл бұрын
Look up David Shario, a genuis
@kevinsequen6674
@kevinsequen6674 Жыл бұрын
What are only commands that I have to execute Disuculate or those that I have to have installed on my console.
@YuriRJRW
@YuriRJRW Жыл бұрын
How can I use this models in my API ? I tried to change the name of model but doesn't work
@gibsonmunene3462
@gibsonmunene3462 Жыл бұрын
Thank you so much for this! I wonder whether you have any ideas on how I can finetune gpt3 with image datasets.Something like a receipt, would the approach be the same or would it follow a different approach
@Jona
@Jona Жыл бұрын
I'm maybe completely wrong here … But is there a way to train the knowledge into GTP-3 and get answers from that dictionary? (Maybe convert the PDF to plain Text or something" … Chat GTP already kinda does this; but not with a whole book (too many characters) … any easy way to do that with GTP-3?
@AllAboutAI
@AllAboutAI Жыл бұрын
Check out these 2 vidoes:) GPT-3: How to Summarize a PDF (70 000+ Words) 📔 kzbin.info/www/bejne/d4unh6mMjs57nMk
@AllAboutAI
@AllAboutAI Жыл бұрын
I Built My Second Brain with AI (GPT-3) kzbin.info/www/bejne/Z5yVe6OAh66id6M
@raminoureddine6342
@raminoureddine6342 Жыл бұрын
thank you, that was amazing.
@wasima4463
@wasima4463 Жыл бұрын
@All About AI can you provide the github link to upload jsonL (as you mentioned at 19:30)
@AllAboutAI
@AllAboutAI Жыл бұрын
Yes! send me a mail kris@allabtai.com
@ivanjosephgamboasanchez1158
@ivanjosephgamboasanchez1158 Жыл бұрын
This video is excellent, good job. Is it possible to access this project from your github, if so where can I find your repository, thanks.
@AllAboutAI
@AllAboutAI Жыл бұрын
join discord.gg/Xx99sPUeTd and send me a DM
@ivanjosephgamboasanchez1158
@ivanjosephgamboasanchez1158 Жыл бұрын
@@AllAboutAI I sent you a friend request, otherwise I can't send you a message. I'm Goodjoe01
@tiechengspreadsheets
@tiechengspreadsheets 2 жыл бұрын
Hello, thank you for this video. Where could we find the files you use in your video?
@AllAboutAI
@AllAboutAI 2 жыл бұрын
I dont have a public GitHub yet, but i migth make one soon
@AiAngel
@AiAngel Жыл бұрын
Using Notepad++ in bright mode...
@XWSshow
@XWSshow Жыл бұрын
Do someone has an Solution for c# especially for unity?
@thelavalampemporium7967
@thelavalampemporium7967 Жыл бұрын
how do i change the n_epochs parameter when fine tuning?
@edwards2990
@edwards2990 2 жыл бұрын
could U have a step by step Video on creating a DATA SET importing into AI GPT for training a Model of a Script not in it's DATA BASE .
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Noted :)
@AdamShaw-dd3up
@AdamShaw-dd3up Жыл бұрын
What script is the one you are using from david shapiro? Couldnt figure it out just looking at hi github
@AllAboutAI
@AllAboutAI Жыл бұрын
This is several months ago now. So i really hope he still has them up. He is kinda my mentor on this stuff so :)
@andrewbouras3880
@andrewbouras3880 Жыл бұрын
Is there any link with the code in the description?
@AllAboutAI
@AllAboutAI Жыл бұрын
Send me a mail if you want access:)
@mathlab_jordan
@mathlab_jordan Жыл бұрын
does this still work? I got it to work once but I'm having trouble getting it to work again
@Benjamin-vw2km
@Benjamin-vw2km Жыл бұрын
Well explained, thanks. One question though: Does it actually make sense to train GPT with data that it has generated itself? Like, does your prompt at the end actually give a better answer than when you would ask it straight away?
@paulmuehleip
@paulmuehleip Жыл бұрын
I was wondering this as well. The video is a great “how to” but I’m not sure how much benefit you get from training it on output it has generated. It may make answers more opinionated depending on the bad examples you filter out though. 🤔
@larissapinheiro8236
@larissapinheiro8236 Жыл бұрын
The ideia of such training is to specialize chatGPT with your own data. For example, you can train it with your own market list, so in the end you can feed your trained model your current list and it will inform you of absent common items (just a dummy exemple).
@Trancer006
@Trancer006 Жыл бұрын
Once fine tuned, is the GPT not allowed to have access to its default database? I just want to give it a certain voice I don't want to feed everything
@yoniwoker
@yoniwoker Жыл бұрын
Can GPT-3 be downloaded directly to the PC?
@AllAboutAI
@AllAboutAI Жыл бұрын
Nope :) But i think you could run GPT-2 locally with a get Hardware setup
@0xcBenevolent
@0xcBenevolent 2 жыл бұрын
How viable is it to develop an AI writing tool like Jasper using GPT-3? Do I need to learn train the model or can I use the pre-trained GPT-3 model? Could you also advise me on the best way to get started writing prompts that are both effective and efficient? Is there any book/manual on writing high quality prompts?
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Jasper is built on top of GPT-3 so thats is very viable. Would be better if you contacted me on Discord or mail
@pabloaf87
@pabloaf87 2 жыл бұрын
Thanks for this video, that's useful and amazing!
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Very happy to help :)
@wallisonbrumatti3676
@wallisonbrumatti3676 Жыл бұрын
Hi Kris! How are you? Do you have the project link in github?
@cameronscryptos2064
@cameronscryptos2064 Жыл бұрын
This is a great video! thank you for all the info. You mentioned in the video you would link to your code. Any chance you could share it?
@Trancer006
@Trancer006 Жыл бұрын
So if GPT is fine tuned does that mean GPT doesn't have access to outside data at all?
@FilmFactry
@FilmFactry Жыл бұрын
I'm googling the definition of SYNTETIC but I can't find it. It suggests Synthetic?
@AllAboutAI
@AllAboutAI Жыл бұрын
?
@FilmFactry
@FilmFactry Жыл бұрын
@@AllAboutAI Is "Syntetic" a real word? or is it the misspelling of Synthetic?
@TheVitkuz
@TheVitkuz 2 жыл бұрын
Thank you for such detailed wlkthrough
@mohammadkassir3545
@mohammadkassir3545 Жыл бұрын
can you please provide the code and files you are using?
@AllAboutAI
@AllAboutAI Жыл бұрын
Yes! send me a mail
@AliKhan-i6q7g
@AliKhan-i6q7g Жыл бұрын
where can we get the code
@ayw7542
@ayw7542 2 жыл бұрын
Loved the Video , does the openAi charge based on the dataset we use ?
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Yeah, input size matters
@Stuart_Bache
@Stuart_Bache 2 жыл бұрын
Hello, when uploading the fine-tune model I repeatedly receive this Treaceback error: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/openai_object.py", line 59, in __getattr__ return self[k] KeyError: 'json' I've tried everything but I can't figure it out. Do you have any advice?
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Hello Stuart! Not 100% sure, as I am not a Python expert. But your json structure is good (line59)?
@Stuart_Bache
@Stuart_Bache 2 жыл бұрын
@@AllAboutAI Thank you for replying. Yes, I believe so. That line doesn't exist in my code, but in the code of the file 'openai_object.py' situated in the Python Framework library. I'm at a loss.
@AllAboutAI
@AllAboutAI 2 жыл бұрын
hmm, i cant really help. Maybe ask on a Python reddit:)
@erictan9274
@erictan9274 2 жыл бұрын
How can we fine tune gtp3 for quantitative reasoning ?
@AllAboutAI
@AllAboutAI 2 жыл бұрын
ohh i have never tried that. Few shot prompting maybe for specific outputs🤔🤔
@erictan9274
@erictan9274 2 жыл бұрын
@@AllAboutAI yeah step by step quantitative reasoning seems impossible even with fine tune
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Ah okei, you think its a model problem?
@AvizStudio
@AvizStudio 2 жыл бұрын
This tutorial helped me a lot. Gave me good introduction to fine-tuning. Thanks you
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Glad I could help :D
@jrey4057
@jrey4057 Жыл бұрын
Hi sir, amazing content! I'm trying to find the Fine Tune option in 21:30 in the MODEL, but it doesn't appear. How did you find it? did you uploaded it? if yes, how? thanks in advance!!
@jrey4057
@jrey4057 Жыл бұрын
@Tushar Chakraborty, I dont, my man. He never replied
@Stuart_Bache
@Stuart_Bache 2 жыл бұрын
This was incredibly helpful. I've been wanting to test something like this with my writing. I have wrote book 1 a few years ago and I wonder - from your experience - whether I could use something like this to write book 2 (just as a test, I have children now so my time is limited in a great way)? I assume even if I could create something I would need to consistently add short synopsis' of what came before.
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Hello Stuart I would start with short stories and go from there! I think you could generate some pretty good synopsis generators with fine-tuning tho!
@marcaurelio74
@marcaurelio74 2 жыл бұрын
Thank you very much😀great tutorial
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Glad you found it helpful :)
@planetmars6615
@planetmars6615 2 жыл бұрын
Helpful video.. thanks boss. Curious, u created the thumbnail using AI? :P
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Hey!:) yes i did! This one was with Midjourney
@nazifkadiroglu7203
@nazifkadiroglu7203 2 жыл бұрын
Is it then possible to create a web app or something that uses the new fine-tuned gpt 3 or can it only be used on the playground?
@AllAboutAI
@AllAboutAI 2 жыл бұрын
do you mean you own fine tuned models or text_davinci_003?
@nazifkadiroglu7203
@nazifkadiroglu7203 2 жыл бұрын
@@AllAboutAI the own fine tuned model
@ozorg
@ozorg 2 жыл бұрын
great info! thx!
@AllAboutAI
@AllAboutAI 2 жыл бұрын
No problem mate :)
@checkmate4832
@checkmate4832 2 жыл бұрын
Hello do u have the python script ? Thx
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Hello:) I dont have a public GitHub atm, but i am working on it!
@checkmate4832
@checkmate4832 2 жыл бұрын
@@AllAboutAI thx u !
@rezatay
@rezatay Жыл бұрын
If you are using Shapiro's code you should give proper credit to him and share his modified code also address and location of his code. That is just a right thing to do. Shapiro had the generocity to make his code public. To be gacious to him, you should share his modified code at the minimum.
@dafran500
@dafran500 Жыл бұрын
Awesome content and channel! I subscribed to it. Can I use books to finetune gpt? What kind of preprocessing/categorization do the books should have?
@AllAboutAI
@AllAboutAI Жыл бұрын
Watch my video coming out today. Might be what you need instead of fine-tuning
@huymakazi1028
@huymakazi1028 Жыл бұрын
Great video, like a good movie, it all makes sense in the end. I am just concerned by the price … I am myself definitely not an experienced programmer, learning to fine-tune GP3 on different prompts, datasets, making the inevitable mistakes etc. … might be quite expensive
@AllAboutAI
@AllAboutAI Жыл бұрын
Thnx :) yes be careful with fine-tuning, start out small atleast
@Silkari
@Silkari Жыл бұрын
Where are the github links?
@suyeongchoi2967
@suyeongchoi2967 Жыл бұрын
where is the github link..
@etaredaferaphaeljuliethai1220
@etaredaferaphaeljuliethai1220 2 жыл бұрын
We are looking at fine tuning the Davinci model to better suit our goal, can we have a meeting to discuss this?
@AllAboutAI
@AllAboutAI 2 жыл бұрын
Send me an e-mail: kris@allabtai.com
@etaredaferaphaeljuliethai1220
@etaredaferaphaeljuliethai1220 2 жыл бұрын
@@AllAboutAI I have sent you an email
@AllAboutAI
@AllAboutAI 2 жыл бұрын
hmm, try again :)
@etaredaferaphaeljuliethai1220
@etaredaferaphaeljuliethai1220 2 жыл бұрын
@@AllAboutAI I just did
@widerthanpictures
@widerthanpictures 2 жыл бұрын
Can you share a github repo of what you're showing in the video?
@AllAboutAI
@AllAboutAI 2 жыл бұрын
I might make a public GitHuB repo soon
@serdar1629
@serdar1629 2 жыл бұрын
Link to github?
@AllAboutAI
@AllAboutAI 2 жыл бұрын
I have a tutorial and github repo on my KZbin membership page :) kzbin.infojoin
@mmuneebajaz
@mmuneebajaz Жыл бұрын
And meet our sponsor for today video ~~!DAVID SHAPIIIRO*&^
@yu-tingchang5032
@yu-tingchang5032 Жыл бұрын
where is the python script
@jd_turner_ai
@jd_turner_ai Жыл бұрын
Ok, but where's the link to the code you used? It's kind of ridiculous that you say "step by step" but you don't actually provide useful information for the people watching in order for them to do it themselves.
@00000a0009
@00000a0009 Жыл бұрын
Why don't you do it for the community? Thanks
@Neokalix
@Neokalix Жыл бұрын
​@@00000a0009 It's as if you don't realize that he asked a question.
@00000a0009
@00000a0009 Жыл бұрын
@@Neokalix I know that it is annoying to copy from the video, but to me it seems that in the video there are all the steps and the code
@Anonym-ny6wz
@Anonym-ny6wz Жыл бұрын
Well he told you it was from the GitHub of David shapiro. I’m sure you can find the matching code
@10KRotator
@10KRotator Жыл бұрын
are you swedish?
@AllAboutAI
@AllAboutAI Жыл бұрын
Norwegian!
@SanjayRoy-vz5ih
@SanjayRoy-vz5ih Жыл бұрын
My thought process is that we shouldn't start with fine tuning in beginning itself and take advantage of GPT 3 or 3.5, mainly davinci...and take its full capacity until you really need a fine tuning due to possible "hallucinations" in the process
@maxihamu
@maxihamu Жыл бұрын
You look like you are about to sneeze all the time :)
@benchokwaiman
@benchokwaiman Жыл бұрын
I don't understand how this fine tune model is in any way better then the regular chat GTP3.
@siddharthshukla3557
@siddharthshukla3557 Жыл бұрын
i see 999 likes, i press like :)
@jordanchristley1306
@jordanchristley1306 Жыл бұрын
Amazing video! thanks
Prompt Engineer | 5 Practical GPT-3 Tips🔥
9:19
All About AI
Рет қаралды 12 М.
ChatGPT Prompt Engineering: The Secret to 10x Smarter Responses!
18:02
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Fine-tuning GPT from Scratch in 15 Minutes with JavaScript
14:41
Nader Dabit
Рет қаралды 49 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,1 МЛН
"okay, but I want Llama 3 for my specific use case" - Here's how
24:20
How ChatGPT is Trained
13:43
Ari Seff
Рет қаралды 526 М.
Fine-tuning Large Language Models (LLMs) | w/ Example Code
28:18
Shaw Talebi
Рет қаралды 378 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН