Fine-Tuning GPT-3.5 on Custom Dataset: A Step-by-Step Guide | Code

preview_player
Показать описание
Dive into the world of GPT-3.5 fine-tuning in this tutorial. Learn how to customize AI models for better accuracy and performance, covering dataset formatting, fine-tuning with OpenAI's API, and practical testing of your model.

🚀 Top Rated Plus Data Science Freelancer with 8+ years of experience, specializing in NLP and Back-End Development. Founder of FutureSmart AI, helping clients build custom AI NLP applications using cutting-edge models and techniques. Former Lead Data Scientist at Oracle, primarily working on NLP and MLOps.

💡 As a Freelancer on Upwork, I have earned over $100K with a 100% Job Success rate, creating custom NLP solutions using GPT-3, ChatGPT, GPT-4, and Hugging Face Transformers. Expert in building applications involving semantic search, sentence transformers, vector databases, and more.
Рекомендации по теме
Комментарии
Автор

hi, teacher! First thanks for helping me find my first job🙂. Nothing, just drop by and say hi

duetplay
Автор

Hi Pradip, thanks for such great tutorial. i want to know if i want to create data analyst chatbot with Chat Assistant apis, does finetuned model works with it? if yes does it supports Code interpreter and retrieval capabilities same as Assistant?

jigneshpatel
Автор

Hi Pradip, thanks for your video.
Please, I would like to know how I can fine-tune ChatGPT for threat and anomaly detection in information systems without using an API, directly from its source code or core.

nlfkfhv
Автор

Hi Pradip, Very good video. Can you please also make a video on how did you generate this data. Did you just went to GPT and used the required prompt to generate it or you used any specific plugin.

deepaktripathi
Автор

Hey pradip nichite, thank u so much for your videos. It is very helpful. Can u give a video for was deploying the chatgpt assistant chatbot using gpt4 new updated API. I tried to do that with help of your previous videos. But there is module error. Can u do new video for that??? please

Kira-fjel
Автор

Hi Pradip, thank you so much for the video it was very helpful . I have a doubt, I am preparing a customised chatbot for a construction company so how to format the input data for this, there are some huge specifications document and how to create input using that . I am looking forward to hearing from you

aravindraamasamy
Автор

Hi Pradip,
Thats a great tutorial.
I'm curious about whether ChatGPT will be trained on the data we provide. Some of the data might be confidential, so if it's used for training, it could potentially be harmful.
Additionally, is it possible for us to obtain a blend of results? For instance, if we're aiming to identify the top 5 schools in our area and our database which we used to finetune only contains information on 3 schools, can we supplement it with additional data from the OpenAI Database?

bimaljohn
Автор

Hi Pradip, thanks for video. So how can we fine-tune our custom models that are not on huggingface or openai etc. other than LLM models?
If we consider a private model that is not public. What would you suggest on this subject?

fatihornek
Автор

If I want to use this fine tunned model in other scripts of code which is running on server than how can i do
it

NileshThonte
Автор

Can you do a video on Chatbot using Google Bard API, its free to use and I am currently doing it right now but I can't complete it. It does not retain messages.

ansharora
Автор

Hi require some help, i am not able to fine tune due to openai limitation with azure that our company uses. Is there any alternative way that i can use using hugging face open source libraries to get classification output on the data, my train data is very low

pratikahire
Автор

Hey can i fine tune gpt to create custom images? With prompt

Coralhere
Автор

I have a very long form prompt that I pass every time tk generate a valid json out of it. Structure of this prompt also changes little bit on the basis available parameters...


If I fine-tune the model then will it start generating that json data without being too explicit in prompt?

thoughtchit
Автор

Imagine I want to create a LinkedIn post generator that follows certain style.. which option is best:

- fine tuned LLM
- customGPT/assistant API
- system prompt?

asiddiqi
Автор

Please, I would like to know how I can save fine-tune gpt-3.5-turbo model locally, and load that model to predict with new input.during prediction no need to use client open api key.
is this possible ?

kajalkumari-ilok
Автор

How to buy the API key because for fine tune we need a paid version?

sagarikaghosh
Автор

Hey, i got this error: BadRequestError: Error code: 400 - {'error': {'message': 'Invalid file format. Line 1, key "messages": At least one message must be from the assistant', 'type': 'invalid_request_error', 'param': None, 'code': None}} and cant seem to find any solution online. i followed step by step as what you did but got this while executing 12:17 . can u explain me what should i do now?

harddikbafna
Автор

I'm getting NotFoundError: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}
while trying to run this code:
response =
training_file=training_file_id,
validation_file=validation_file_id,
model="gpt-35-turbo"
)
I'm using Azure OpenAI

rameshh
Автор

Hi pradeep, is it compulsory to get dataset to fine tuning?

rajeshkhadka
Автор

fine tuning can be done on free trial apikey?

Sanajaved-gbpb