Fine-Tune GPT-4o Model Step by Step

  Рет қаралды 4,966

Pradip Nichite

Pradip Nichite

Күн бұрын

Пікірлер
@arijitpaul3968
@arijitpaul3968 Ай бұрын
please make a video on how to finetune with images and text. I want to use it in my thesis. But quite not getting how to apply it. TIA
@rajashekhar7211
@rajashekhar7211 2 ай бұрын
Yes please explain with images and text
@MMSakho
@MMSakho Ай бұрын
Hi, thanks for the tutorial. I have a question, did openai give additional cost (beside finetuning cost) for inference? And is there a cost for storage to save the finetuned model?
@FutureSmartAI
@FutureSmartAI Ай бұрын
Yes there is inference cost similar to how we pay for other models. There is no storage cost
@vsnew4644
@vsnew4644 2 ай бұрын
Amazing video. Can fine tuning be done for Nl2sql tasks too?
@FutureSmartAI
@FutureSmartAI 2 ай бұрын
Yes, absolutely! Fine-tuning can definitely be applied to NL2SQL tasks. However, for the best results, it’s important to ensure that your training data includes examples covering each column and table at least once. This will help the model learn to handle the full range of potential queries.
@yazanrisheh5127
@yazanrisheh5127 2 ай бұрын
yes please do with images and text. Also, can you do a video on RAG where for example its on all company documents but someone like a junior will have access to specific documents, a manager will have access to more documents, ceo will have access to all documents etc...
@FutureSmartAI
@FutureSmartAI 2 ай бұрын
I could do but these is part of access control and specific to RAG
@alexramos587
@alexramos587 2 ай бұрын
Please make a video to demonstrate how to fine-tune with images and text.
@ranbeermakin
@ranbeermakin Ай бұрын
yes, pls do great video
@praveenbhandari2516
@praveenbhandari2516 2 ай бұрын
Hey I'm joining a company recently which related data work in Big query and looker studio so I just want to learn and upskill I have an idea of ML and DL which I was done in certificate so can I go with deep learning engineering profile right now or something else please suggest.
@KumR
@KumR 2 ай бұрын
I did not quite get what we are trying to achieve.. You gave sample data which extracts text and creates json format.. Then you tested with a line and that also extracted json data.. So what is next step ? What exactly does this mean ? How is this fine tuning ? How are you training the last layer weights and biases ? was this an example of LORA or QLORA ?
@FutureSmartAI
@FutureSmartAI 2 ай бұрын
It seems there might be some confusion between fine-tuning an open-source LLM (Large Language Model) and fine-tuning a closed-source model like OpenAI's API-based LLMs. With OpenAI models, we don’t have direct control over specific layers or weights. Instead, we fine-tune by submitting our data to their platform, which processes it and provides us with a new model ID. This is different from methods like LoRA or QLoRA, which are typically used for open-source models and involve directly adjusting specific layers or weights. Let me know if you'd like more details on either approach!
@KumR
@KumR 2 ай бұрын
@@FutureSmartAIYes please. I think that clarity was important to know. So in your example, what are you trying to achieve by giving model jason data? Can u tell me a real world example of where this can be used ?
@FutureSmartAI
@FutureSmartAI 2 ай бұрын
Many use cases involve getting structured data from the model as a response rather than just plain text. In our example, we aimed to extract structured information from medical reports. We’ve observed that LLMs often struggle to consistently provide structured output, which can create issues in downstream processes when it fails. We usually include examples and instructions in the prompt, but sometimes that's not enough. This is why we fine-tune the model-to allow it to learn from more examples. The example provided is a simplified version of a real case we did for a client. The goal wasn’t to provide actual data but to demonstrate the methodology so you can apply it to your own data. In the video, I show that the model can learn the structure from examples alone, without explicit instructions.
@reserseAI
@reserseAI 27 күн бұрын
@@KumRreal world example, i develope police investigator ai assistance, the goal is how i specialized the ai to help analize case based on court decision and my country criminal law, the problem with all ai model is made for universal task and so bias and sometimes to many halucination when facing specific domain, another problem is the constitution always update that maybe not learn by ai model, so implementing fine tune and rag help me a lot to achieve my goal, why im choosing fine tune open ai rather than open source model? The open source model free but cost a lot money if i want to deploy it in virtual server, open ai has model gpt4o mini, its not free but i think the capabalities of open ai in LAW TERMS domain much advance then any model, and again gpt4o mini is cheap 😅, still working collecting court decision to make it more better dataset
@ChetanAnnam
@ChetanAnnam 2 ай бұрын
It would be better how the model was performing before and after fine tuning. Rest all is good 💯.
@FutureSmartAI
@FutureSmartAI 2 ай бұрын
Thanks for suggestions
RAG From Scratch: Conversational RAG Without LangChain or LlamaIndex
37:56
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,2 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Fine-Tuning GPT-4o with Synthetic Data: A Step-by-Step Guide
16:50
Developers Digest
Рет қаралды 10 М.
How I built an AI Teacher with Vector Databases and ChatGPT
13:43
Aspect-based Sentiment Analysis with InstructABSA
26:42
Robert Wynn
Рет қаралды 590
This is how I scrape 99% websites via LLM
22:44
AI Jason
Рет қаралды 187 М.
Building Multi-Agent Systems with OpenAI Swarm: Practical Example
20:56
From RAG to Knowledge Assistants
27:29
LlamaIndex
Рет қаралды 28 М.
Fine-Tuning GPT Models with Python
23:14
NeuralNine
Рет қаралды 15 М.
EASIEST Way to Fine-Tune LLAMA-3.2 and Run it in Ollama
17:36
Prompt Engineering
Рет қаралды 60 М.
Fine-tuning Large Language Models (LLMs) | w/ Example Code
28:18
Shaw Talebi
Рет қаралды 380 М.