Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Learning path

Local models and fine-tuning

Run open-weight models on your own hardware, use them on private documents, decide when fine-tuning beats RAG or long context, and try a small LoRA fine-tune.

Intermediate11 h8 steps7-question quiz
Start with step 1
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark

What you will be able to do

  • Run and size open-weight models locally with Ollama
  • Chat with private documents without sending them to a cloud service
  • Choose between prompting, RAG and fine-tuning for a given problem
  • Build a held-out eval set before training anything
  • Fine-tune a small model with LoRA and compare it with the base model

Steps

  1. Step 1: Run local models with Ollama

    Install Ollama, run an open-weight model on your own machine, call it from scripts over the local API and choose a model size your hardware can handle, offline.

    Tutorial30 min

  2. Step 2: Chat with private documents on a local model

    Chat with PDFs locally: ask questions about contracts, notes and PDFs with Ollama and Open WebUI or LM Studio on your own computer, and check nothing leaves it.

    Workflow90 min

  3. Step 3: Transcribe and summarise audio locally with faster-whisper

    Transcribe audio locally with faster-whisper in Python, fix misheard names, then summarise the transcript with a local model through Ollama, all offline.

    Tutorial50 min

    Optional: the same offline approach for audio, with faster-whisper transcribing and an Ollama model summarising.

  4. Step 4: RAG vs long context vs fine-tuning: how to choose

    What each approach changes, what it costs, where it fails, and a practical order to try them in before you commit to one.

    Article

    Most problems people fine-tune for are better solved by retrieval or a better prompt. Read this before training.

  5. Step 5: Write your first LLM eval

    Turn real outputs into a small test set, add code-based checks in promptfoo and run them in CI to catch regressions on every change.

    Tutorial40 min

    Build the eval set first. Without a before-and-after score you cannot tell whether fine-tuning helped.

  6. Step 6: Fine-tuning LLMs guide (opens on Unsloth in a new tab)

    External60 minUnsloth

    Choosing a base model, LoRA versus QLoRA, datasets and hyperparameters, with free notebooks.

    External resource, not tracked

  7. Step 7: Fine-tune a small model with LoRA

    Fine-tune a small open model with LoRA using TRL and PEFT, measure it on a held-out set before and after, and decide whether the gain is worth keeping.

    Tutorial120 min

    Run a LoRA fine-tune yourself and compare it with the base model on your eval set.

  8. Step 8: smol course (opens on Hugging Face in a new tab)

    External240 minHugging Face

    A free course on instruction tuning, evaluation and preference alignment of small models. Start with the instruction tuning unit.

    External resource, not tracked

  9. Local models and fine-tuning quiz

    7 questions with explanations. Your score is saved when you are signed in.

    Final quiz

  • AI foundations

    The working vocabulary of modern AI, from prompting and structured output to retrieval, MCP, Agent Skills and prompt injection.

    Beginner3 h9 steps
  • RAG engineer

    A RAG course for engineers who want results they can measure: embeddings, pgvector, a pipeline built in a day, golden datasets, LLM judges and tracing.

    Intermediate14 h8 steps
  • AI for test engineers

    An AI course for testers: apply generative AI to everyday test automation, from AI-assisted test design to generating, healing and reviewing Playwright tests.

    Beginner9 h10 steps