flâneur — a map of the web's best reading

Fine-tuning a LLM on my blog posts | Didier Lopes

didierlopes.com · 8,996 words · saved by 1 readers

At the start of the year I shared this blogpost, which converted all my blogs into a Q&A dataset that I could use to fine-tune a LLM. After sharing this, I spent time trying to fine-tune an LLM - but results were not great and combined with all things happening at OpenBB I didn't have time to dedicate a lot of time to this. :upside-down-hf-logo But I hate leaving things half way. And this task didn’t leave my TODO for the past 6 months. So I finally took things to my hands last weekend, and I’m going to share the entire journey on what, why and how. Buckle up, this will be a long post - and more technical than previous ones. And all the code will be available here: https://github.com/DidierRLopes/fine-tune-llm. Most AI models are like Wikipedia - they know a little about everything but lack the depth and personality that comes from lived experience. Think of it this way: RAG is like giving someone a reference book during an exam. Fine-tuning is like actually teaching them the subject u

Ever wondered what it would be like to have an AI that writes exactly in your style? I did. And in this post, I share what I did about it. This is a very practical guide on how to fine-tune an LLM using LoRA with MLX on Apple Silicon. At the start of the year I shared this blogpost , which converted all my blogs into a Q&A dataset that I could use to fine-tune a LLM. After sharing this, I spent time trying to fine-tune an LLM - but results were not great and combined with all things happening at OpenBB I didn't have time to dedicate a lot of time to this. :upside-down-hf-logo But I hate leavin

Explore this link on the map →

related reading