Fine-Tuning

BytapaScript

Also known as: Fine Tuning

In a nutshell

Training an existing model further on your own examples.

What it means

Further training an already pre-trained model using additional task-specific or domain-specific data.

💡 Sending an experienced doctor for specialised training in cardiology.

Code example

from openai import OpenAI
client = OpenAI()
job = client.fine_tuning.jobs.create(
  training_file="file-abc123",
  model="gpt-4o-mini",
)
print(job.id)

Why it matters

It adapts a model to specialised tasks or behaviour when prompting and retrieval are insufficient.

Common misconception

Fine-tuning changes style and behavior, not live knowledge — use RAG for fresh, up-to-date facts.

When to use it

  • Adapting tone and style
  • Teaching a niche domain
  • Shortening prompts

Further reading

Related terms

Learn Full Stack

with tapaScript

By clicking Sign Up you re confirming that you agree with our Terms and Conditions.

newsletter

Don't forget to connect with us on