Fine-Tune ChatGPT For Your Exact Use Case

Fine-Tune ChatGPT For Your Exact Use Case

Matthew Berman

10 месяцев назад

60,010 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@johnnvula7246
@johnnvula7246 - 18.01.2024 15:40

That is cool.
So can I reuse the same API to integra-te in some other platform like flutter to creat an App. Or I have to creat an other API according to the fine-tune.

Ответить
@mernsolution
@mernsolution - 13.01.2024 22:01

After build model I use in Node js thanks

Ответить
@AshiqKhan-ky5cu
@AshiqKhan-ky5cu - 12.12.2023 08:40

Hey, thanks for this video. I have some large ppt file and I want to fine tune those content. How can I achieve this?

Ответить
@mdnpascual
@mdnpascual - 25.11.2023 07:57

I want to make a chatbot for a retailer. A customer can prompt "suggest me a gift item for an 8 year old girl who loves etc etc.", Is this the right solution for me? If yes, does the training data always needs to response in a question/prompt? I already have the dataset for this retailer of their catalogue plus their tags, like toys, education, kitchen, etc. How can I format the data that chatgpt can do it?

Ответить
@trackerprince6773
@trackerprince6773 - 18.11.2023 03:00

Mathew , if I have a database of PDF docs , and I want to fine tune gpt3.5 turbo on a private knowledge base ,how can I use gpt4 to create the training data? Also would I need to fine tune again if new docs are added to my knowledge base or can would I just add to vector DB and query my custom model

Ответить
@vKILLZ0NEv
@vKILLZ0NEv - 12.11.2023 06:00

Does the format of the dataset have to be system, user, assistant as shown here?

Ответить
@CoachDeb
@CoachDeb - 07.11.2023 09:11

GREAT Video on Fine Tuning!
one of the BEST!
Now that GPT 4 TURBO was just released -- will we still be able to do this fine tuning programming?
or will it be obsolete -- now that we will all have GPTs and assistants to do things like this for us?

Ответить
@echofloripa
@echofloripa - 12.10.2023 23:11

I did a test using questions and answers about the elections process in Brazil. It had 67 questions and answers. I tried the default 3 epochs, 5, 7 and even 12. In none of the cases I managed to get the same response I had trained on, for exact same system message and user message. I tried in Portuguese and English language, and the result was the same.
Yes, it gave a different response compared to the base model, but yet, never a correct answer.
For the English dataset test I trimmed the 67 questions to only 10. You can check the loss of the training using its api and the numbers was erratic.
I guess that at least in gpt3.5-turbo fine tuning, it's not possible to get it increase it's knowledge. I did some tests with open-source llms, but I still have to train with llama2.
Maybe fine-tuning isn't really fit for that, and you have to use embeddings and vector databases to achieve that.

Ответить
@muh6131
@muh6131 - 05.10.2023 06:58

Very good. I have a question. Can I use gpt-3.5 in your code? I made an error. Thanks

Ответить
@mastamindchaan387
@mastamindchaan387 - 14.09.2023 03:31

Im sorry but the tutorial is really bad. He just read out what's on the page, and I can read on my own. I still don't know what I'm supposed to do next.

I don't understand. So, when I click on upload, my model is automatically uploaded to OpenAI's servers? and then I can use my model on the chatgpt site just like usual?
What should I put in the Tokens field? The default is 1000 Tokens. But what if I want to train with more than 1000 words? Did I change it when i want to train with 200k words to 200k tokens or not?

I also don't get the "Role, System, Content" part. So, do I have to set everything up beforehand? Like, if I input "dog" as the prompt, should ChatGPT respond with "nice,"?!
Example:
Role: You are my teachter
User: Tell me how much is 5+5
Role/Answer/output should be: sure i will help u 5+5 is 10

Role: You are answering me as someone interested in books
User: Name from the guy from harry potter?
Role/output should be: Her name is harry Potter

I still have no idea how to train ChatGPT, for example, to learn the content of a book and then ask it questions. I can't preconfigure every question and answer beforehand?

Ответить
@openedai
@openedai - 07.09.2023 13:31

can a fine tuned model be fine tuned further by adding more examples and training again further?

Ответить
@Nick_Tag
@Nick_Tag - 05.09.2023 21:05

Might be a silly question but for actually using the fine tuned model (either as a chat bot or within other apps) how would you achieve that? I guess there would be a unique API key and model name to put in relevant places for apps, but is there a recommended 'ChatGPT-like app' where you would just paste those in as variables and get a similar experience. Doing it inside of the same colab seems a little clunky?

Ответить
@achille_king
@achille_king - 05.09.2023 12:50

I mean, this is nice but I wanted to fine tune chat GPT with the knowledge I got in PDFs.

Ответить
@aadityamundhalia
@aadityamundhalia - 05.09.2023 03:59

how can you do the same with llama2 on local

Ответить
@sabedoria.artificial
@sabedoria.artificial - 04.09.2023 16:30

What is the limit of data set for fine tuning?

Ответить
@IrmaRustad
@IrmaRustad - 04.09.2023 13:16

You are just brilliant!

Ответить
@moon8013
@moon8013 - 03.09.2023 17:05

nice

Ответить
@pandoracraftart
@pandoracraftart - 02.09.2023 15:20

Hi Matthew, thank you so much for this tutorial, this is mindblowing
I was wondering you could help me with the create a completion process so I could use the generated model as integration for other platforms?

Ответить
@richardbasile
@richardbasile - 31.08.2023 19:06

Hey Matthew! I love your videos, keep up the great work. I was wondering how I could deploy a fine-tuned LLM to a service or ChatBot like you mentioned at the end of the video? It seems like an interesting concept but I have yet to find any videos on it.

Ответить
@un852
@un852 - 30.08.2023 19:46

SudoLang is the best example of using ChatGPT smartly that i have seen, and i think the future.

Ответить
@MetaphoricMinds
@MetaphoricMinds - 30.08.2023 19:41

There seems to be an awful lot of work to get this to work. How hard would it be to create an application that actually requires no code? You just open it, input your requirements in the fields provided, and viola..

Ответить
@MetaphoricMinds
@MetaphoricMinds - 30.08.2023 19:35

The only problem I have with some of your videos is, they are too high-level. Sometimes you rush through sections that you may have explained in a previous video. I understand you can't go all the way into each aspect due to time, but maybe a quick reference on "how to do that". Just a suggestion. Otherwise, great content!

Ответить
@eyemazed
@eyemazed - 30.08.2023 14:59

What's the difference between fine-tuning and just using custom instructions?

Ответить
@chanansiegel834
@chanansiegel834 - 30.08.2023 14:31

Can i give tune on my own computer and then upload the model to open ai. I have some medical reports which I would like the ai to learn how to write but I have to be careful of who has access to those reports.

Ответить
@trailblazer7108
@trailblazer7108 - 30.08.2023 10:04

Please can you test Phind code lama 32b model - apparently better than chat GPT 4.

Ответить
@drgnmsr
@drgnmsr - 30.08.2023 04:36

Would there be a way to use this to fine tune a model based on a collection a pdfs?

Ответить
@SRSGMAG
@SRSGMAG - 30.08.2023 04:32

Why can't you just type the same command in the chat prompt instead of all this?

Ответить
@VaibhavPatil-rx7pc
@VaibhavPatil-rx7pc - 30.08.2023 04:23

Excellent, information thanks

Ответить
@echofloripa
@echofloripa - 30.08.2023 02:51

What about if I want to train with question answers of my niche (about specific law area) and after I'd like to train with several laws full text, can I do that?

Ответить
@claudiodev8094
@claudiodev8094 - 30.08.2023 00:20

You don't want to finetune your models, it's not worth it. What little you gain in stability and save in prompting is lost immediately since you now have a static model that is what it is and nothing else. Invest in proper prompts and validation instead

Ответить
@jackiekerouac2090
@jackiekerouac2090 - 30.08.2023 00:04

Great video, which brought 4 questions:

1) Can you use that process with free accounts?
2) How secure is it, especially if you upload personal files?
3) Let's say I have a 300-page novel in draft mode, can I "securely" upload it in GPT?
4) Is there a way to use ChatGPT as a standalone tool, for your own stuff only?

Ответить
@zacharypump5910
@zacharypump5910 - 29.08.2023 22:22

Cool example but keep in mind without any fine tuning, GPT vanilla will likely yield the same results just by using that same system prompt. It’s very challenging to evaluate the benefits of fine-tuning without truly using a private and distinct data set that wouldn’t be part of its base training.

Ответить
@angelsmobile7876
@angelsmobile7876 - 29.08.2023 22:18

Just to understand. The data you have generated with the 50 entries. And the system prompt. Temperature etc. Everything is stored under your openAI account somewhere in the cloud? And gpt appends it as a context before running the query?

Ответить
@RichardGetzPhotography
@RichardGetzPhotography - 29.08.2023 22:15

When fine-tuning, do I always have to use the roles format? Can I upload a bunch of docs and have it gain the voice from there? Say I want it to speak in an engineering tone, would uploading our engineering papers aid in that? If I do have to use the role formate, then how do I fine-tune on my data for knowledge?

Ответить
@marcfruchtman9473
@marcfruchtman9473 - 29.08.2023 22:10

Awesome.

Ответить
@tunestyle
@tunestyle - 29.08.2023 21:19

Working on this now. You are an absolute wealth of information!!!

Ответить
@Boneless1213
@Boneless1213 - 29.08.2023 21:17

This is a great video. I would love a follow up that tackles either a real use case or at least a usecase that isn't something I could just ask chatgpt to do for me already. Like maybe inventing a new concept and giving it understanding of it and being able to do intelligent tasks with it. I guess I just don't see a point to fine tuning unless it helps with something that just adding to the prompt couldn't do.

Ответить
@p0gue23
@p0gue23 - 29.08.2023 19:38

Is there a tool anywhere that will convert text to system/user/assistant JSON format for fine-tuning?

Ответить
@p0gue23
@p0gue23 - 29.08.2023 19:27

Useful to see the process, but how is fine-tuning gpt-3.5 with it's own output any different than just using stock gpt-3.5 with the same training system message? The fine-tuned version costs 8x more to run.

Ответить
@thenext9537
@thenext9537 - 29.08.2023 19:20

Fine tuning is a train wreck, if you get really deep you’ll find it’s not that hot. I don’t appreciate being treated like a child with some data that’s been lobotomized. The pace is accelerating and yet all I keep finding is walls. I keep hitting the great idea, try to execute something and realize I’m going to need a 11 step flow to accomplish something. Fragmented reality.

I know there are people out there with a lot of experience thinking the same thing. It’s frustrating.

Ответить
@mirmisbahuddin9921
@mirmisbahuddin9921 - 29.08.2023 18:54

Please prepare a video on finetuning of llama-2-7B using colab

Ответить
@federicoloffredo1656
@federicoloffredo1656 - 29.08.2023 18:38

Great video, it worked for me and that's already great.. Just a question: now I've a "personal" model but in practice how can I use it? How can I change it? It's not so clear for me...

Ответить
@otaviopmartins
@otaviopmartins - 29.08.2023 18:29

Awesome

Ответить
@09jake12
@09jake12 - 29.08.2023 18:08

Hi Matthew, I'm looking for something like this that searches the internet for actual data to train on, rather than synthetic data, because my use case requires updated and recent data. (say 2021 and later) Could you point me in the right direction? Thanks!

Ответить
@hqcart1
@hqcart1 - 29.08.2023 17:39

I dont get it, what was the data you trained the model for??

Ответить
@nor3299
@nor3299 - 29.08.2023 17:37

Yeah that was amazing but is there a method through which we can create the dataset using the data from a pdf file etc

Ответить