Back to Home: Full-Stack AI Developer Toolkit 2023

<aside> ⚠️ This is an advanced topic


Fine-tuning is very expensive, often done incorrectly, and can take multiple days to run and train. Most apps will not need fine-tuning. But if you’re curious to learn, read on!

</aside>

Do you need fine-tuning?

As mentioned by OpenAI and Glean, you likely don’t need fine-tuning.

Untitled

You may think that fine-tuning is the answer to adding proprietary knowledge into your AI apps. For example, say you’re making an internal chatbot for your company, and you want to give it access to company rituals, meetings, revenue numbers, internal documents, and so on.

Chances are, when done this way, fine-tuning will actually increase hallucinations and decrease your accuracy. If you’re trying to add specific knowledge to your model, you’re probably looking for 5/ Retrieval-Augmented Generation.

As OpenAI states:

“fine-tuning is better suited to teaching specialized tasks or styles, and is less reliable for factual recall.”

Here are some examples:

Here’s a practical example I faced:

If this sounds like you, then there are a few options. Let’s read on.

Fine-Tuning Options


Happy building!

That’s it for the Guides as of now.