A Historical GPT-3.5 Fine-Tuning Walkthrough

Matthew Berman demonstrates generating synthetic examples in Colab and training a model to use a distinctive tone.

MBMatthew BermanAnime · Forward Future
Chaîne
Matthew Berman
Publié
29 août 2023
Vidéo
6:28
Lecture
2 min
Diapositives
2
Original
anglais
Ouvrir sur YouTube
En faisant défiler, la vidéo se réduit en bas à droite et continue. Les sous-titres suivent votre langue de lecture.
Langue de lectureDisponible en 2 langues
Cet article n’est pas encore disponible en français ; il s’affiche dans l’original en anglais.
RÉSUMÉ

En 30 secondes

Berman walks through an early GPT-3.5 Turbo fine-tuning workflow using a notebook credited to Matt Shumer. He creates synthetic examples, uploads them, starts a job and tests its style; the specific models and API workflow are historical.

  1. 1Three stepsPrepare examples, upload them and create a training job.
  2. 2Synthetic dataA notebook generates examples with a larger model.
  3. 3A style testThe trained model responds to a new question in the requested tone.

À retenir

  1. Fine-tuning uses examples of desired model behavior.
  2. Synthetic examples can accelerate data preparation but require review.
  3. The example tests a sarcastic style with a single new prompt.
  4. API interfaces, model availability, timing and costs may have changed.
TEXTE INTÉGRAL

Lire le texte remanié, chapitre par chapitre

Transcription seule
01

Fine-tuning workflow

Berman explains the goal and the three basic steps.

I demonstrate an early GPT-3.5 Turbo fine-tuning workflow for changing a model’s style and output format. This is a historical tutorial: models, APIs, notebooks, costs and availability can change. Fine-tuning does not automatically reduce cost or guarantee accuracy.

Fine-tuning steps
DIAPOSITIVE 1 / 2Fine-tuning stepsThe historical interface shows data preparation, upload and job creation.

The process in the video has three broad steps: prepare examples containing system, user and assistant messages, upload the data, then create a fine-tuning job. On completion, the service returns a custom model identifier for API requests.

02

Generating and uploading examples

He uses a notebook to generate and format training data.

I use a Google Colab notebook credited to Matt Shumer to generate synthetic examples with GPT-4 and train the smaller model. The desired behavior is an exaggerated sarcastic comment style. Synthetic data is convenient, but the examples should be reviewed and evaluated for the intended use.

In the demonstration I choose a temperature of 0.8 and request 50 examples, then install the notebook’s dependencies and run the generation cell. Those settings are examples, not universally optimal values or a guarantee that 50 examples are enough.

The notebook uses an API credential to generate the examples. I say the key shown in the recording will be revoked; credentials should be kept private and managed securely rather than copied into a shared notebook.

The notebook creates a system message, converts generated examples to the expected message format and uploads the file. I start a training job and check its progress; I report that jobs in my experience took around 20 minutes at the time.

Formatting the examples
DIAPOSITIVE 2 / 2Formatting the examplesThe notebook converts generated prompts and responses into training examples.
03

Testing the result

He retrieves the model identifier and tests its tone.

After the job succeeds, I retrieve the fine-tuned model name and test it with a new question about sushi. The response adopts the requested sarcastic tone, which is a useful illustration of style transfer but only one example.

I suggest adapting the approach to a personal or business chatbot. A real deployment would need representative training data, independent evaluation and attention to current API documentation and pricing.

Sur la même chaîne

12 diapositives34:21EN
Matthew Berman· 27 oct. 2026Matthew Berman Examines Anthropic’s IPO Filing, AI Growth and GovernanceMatthew Berman, Sam Altman · Forward FutureThe presenter reviews the S-1’s financial metrics, compute strategy and voting structure while questioning the tension between rapid AI development and safety.AnthropicAI SafetyIA en entreprise+2
2 diapositives0:36EN
Matthew Berman· 25 oct. 2026Kimi K3.1 and a Rubik’s Cube Solver DemonstrationMatthew Berman · Forward FutureMatthew Berman shows a scrambled virtual cube being solved and gives the Kimi K3.1 test a favorable assessment.ÉvaluationsAgents de codeOpen-weight models
6 diapositives25:50EN
Matthew Berman· 24 oct. 2026Kimi K3.1 Pro Tested: Strong 3D Demos, Uneven Results and Competitive PricingMatthew Berman · Forward FutureMatthew Berman tests the open-weight model on coding, 3D rendering and visual explanations, then compares benchmark results and prices.Open-weight modelsBenchmarksAI cost & performance+1
2 diapositives32:20EN
Matthew Berman· 23 oct. 2026Who Is Local AI For? The Costs, Trade-offs and a Hybrid FutureMatthew Berman · Forward FutureMatthew Berman weighs data control and independence against hardware cost, setup complexity and inference speed.Local inferenceOpen-weight modelsAI cost & performance+1
6 diapositives1:03:37EN
Matthew Berman· 23 oct. 2026Matthew Berman’s Team Tests Kimi K3.1 on Animation, Games, and ChartsMatthew Berman, Alex, Brian · Forward FutureA live team AMA turns into an informal test of Kimi K3.1, from personal-agent workflows to motion graphics, a browser game, and a benchmark chart.Agents de codeGenerative mediaÉvaluations+2
0:53EN
Matthew Berman· 22 oct. 2026Sam Altman on AI and the Discovery of New KnowledgeSam Altman · OpenAIAltman expects progress in mathematical discovery to extend to biology, materials and energy.AI for scienceMathematicsComputational Biology+1