Fine-Tuning guide: https://platform.openai.com/docs/guides/fine-tuning/fine-tuning
pip install --upgrade openai
export OPENAI_API_KEY="your-api-key"
Prompt an Completion Formating: input file is basketball_data.csv, output file is going to be prompt_completion_pairs.json
python prompt-completion-formating-to-json.py
openai tools fine_tunes.prepare_data -f <LOCAL_FILE>
openai tools fine_tunes.prepare_data -f prompt_completion_pairs.json
openai api fine_tunes.create -t <TRAIN_FILE_ID_OR_PATH> -m <BASE_MODEL>
openai api fine_tunes.create -t prompt_completion_pairs_prepared.jsonl -m curie