Skip to content

hao0608/gpt-3.5-turbo-fine-tuning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT fine-tuning

Introduction

This project follows the OpenAI documentation to customize an intelligent assisant for an airport, providing an actual fine-tuning process example.

Steps to Fine-Tune Your Model

1. Setup

python 3.8

pip install -r requirements.txt

2. Prepare training data

Prepare your training data (e.g., train_data.jsonl)
In preparing_dataset.ipynb, I use OpenAI API to generate multiple questions with the same semantics but different wording, hoping to improve the model's performance.
Note: You can use function to validate your data format in training.ipynb

3. Train a new fine-tuned model

To train your model, use the training.ipynb

4. Using fine-tuned model

picture

Resources

Official OpenAI API documentation on fine-tuning: OpenAI Document

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published