Beginner Friendly Step-by-Step Example of RAG
Imagine your large language model (LLM) is like a vast library brimming with books containing general knowledge about almost everything. Now, suppose you run a specialized store—maybe a boutique with exclusive fashion items or a tech shop with unique gadgets. Customers pop in with questions specific to what you offer. While your LLM is a […]
Read More
How to Fine-Tuning Local LLMs with Axolotl in Python
Today, let’s dive into the intricacies of fine-tuning large language models (LLMs) locally using Axelottle, a Python framework designed for such tasks. Imagine you’re a mechanic, tweaking a well-designed car to perform specific stunts – that’s pretty much what fine-tuning an LLM entails. You start with a solid base—a pre-trained model—and then customize it to […]
Read More
How to simplify AI model fine-tuning
Imagine walking into a complex factory, machines buzzing in synchronicity, crafting intricate parts for bespoke engines. Here, every cog, every conveyor belt is tailored to meet specific requirements. This factory is akin to the world of AI models, especially when it comes to fine-tuning them to fit particular business needs. Now, let’s talk about how […]
Read More
Pre-Training vs Fine-Tuning Explained: OSFT, LoRA, RL & Red Hat Training Hub Breakdown
Understanding the nuts and bolts of how AI learns can sometimes feel like deciphering a secret code. In a recent enlightening discussion I came across about language models—specifically regarding pre-training and various fine-tuning techniques—I realized just how intricate and fascinating the world of AI training really is. Let’s unpack that together, shall we? Starting with […]
Read More
How to Fine Tune your own LLM using LoRA (on a CUSTOM dataset!)
Navigating the deep waters of machine learning, especially when it involves large language models (LLMs), can often feel like tuning a sophisticated engine where every tiny adjustment can lead to significant changes in performance. Today, I want to decode the complexity of fine-tuning these models, bringing the process out of the abstract and into a […]
Read More
How to Fine-Tune an 8B Parameter Model Locally Demo with NVIDIA DGX Spark
Imagine if you could take a high-performance car, tune it specifically for a winding mountain road, and then unleash it to zip seamlessly around each bend – that’s somewhat analogous to what’s happening in the realm of machine learning with technologies like DGX Spark. In the latest demonstration I caught on this platform, the fine-tuning […]
Read More
How to Teach an LLM Something New with LoRA Fine Tuning on Custom Data
What if your favorite large language model (LLM) could recognize your name as if you were a character from a fantasy novel? Imagine asking it who you are, and it responds with something out of Tolkien: “You are a wise and powerful wizard of Middle Earth.” That’s not just fiction anymore—it’s a hands-on reality thanks […]
Read More
What is Retrieval-Augmented Fine-Tuning (RAFT)?
The world of Generative Pretrained Transformers (GPT) has evolved dramatically over the years, with numerous techniques being developed to enhance its performance in specialized settings. Among these techniques, retrieval-augmented generation (RAG) and fine-tuning have emerged as popular methods for incorporating domain-specific data into Language Model (LLM) output. However, the recent advent of a hybrid approach […]
Read More
Fine tuning Gemma with LoRA in Google Colab
Traditionally, fine-tuning methods can be computationally expensive, especially for large language models that consist of millions or even billions of parameters. To overcome this challenge, we introduce a more efficient technique, known as low-rank adaptation, or LoRA. LoRA is an innovative approach that leverages the concept of low-rank matrices to reduce the number of trainable […]
Read More
Mixture of Memory Experts (MoME) | Data Brew | Episode 36
- Frank
- January 15, 2025
- Agentic Workflows
- AI
- AI Accuracy
- ai hallucinations
- AI Infrastructure
- AI innovation
- Business Automation
- Data Brew
- Data Pipelines
- Data Science
- Databricks
- Document Reasoning
- Enterprise AI
- Fine-tuning
- function calling
- Generative AI
- gpt
- large language models
- Lini
- LLM
- lora
- Machine Learning
- Memory Tuning
- Sharon Zhou
- Superintelligence
- Text-to-SQL
Recently, I tuned into an episode of Data Brew by Databricks hosted by Denny Lee and Brooke Wenig, featuring Sharon Zhou, co-founder and CEO of Lini. For anyone navigating the ever-evolving world of generative AI and machine learning, this episode was a masterclass in understanding both the opportunities and challenges in the field. Sharon’s deep […]
Read More