Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesLLM Engineer: From Local Setup to Production
Get started free

Online course, Engineering

LLM Engineer: a Roadmap Course from Local Setup to Production

9 lessons in 3 modules, 330 minutes in total: Python code, a task and a quiz in each.

Start: 7 days freePreview the first lesson, no sign-in

No card needed. The first two lessons are free after sign-up, all lessons come with Pro at $9 a month.

An engineer route map: Ollama, RAG, LoRA, vLLMLesson 1, 35 minRunning LLMs Locally with Ollama
  • Advancedlevel
  • 5 h 30 min9 lessons, 3 modules
  • At your own paceupdated Dec 2, 2026
  • Certificatewith a check code
What you will learnLessonsCertificateQuestionsStart the course

What you will learn

  • Run models in Ollama, call them through the OpenAI client and pick Q4_K_M or Q8_0 quantization for your VRAM
  • Build RAG with sentence-transformers and FAISS: 512-token chunks with 50-token overlap, and compare answers with and without RAG
  • Build hybrid BM25 + vector search with RRF fusion and add cross-encoder reranking on the top 20, measuring Precision@5
  • Choose between prompt engineering, RAG and fine-tuning, and prepare a JSONL dataset with quality filters and MinHash deduplication
  • Fine-tune Qwen3.5-4B with QLoRA using trl and peft and tune r, lora_alpha and target_modules
  • Merge a LoRA adapter into the base model, convert it to GGUF, quantize it to Q4_K_M with llama-quantize and run it through a Modelfile in Ollama
  • Stand up a vLLM server with an AWQ model and compare throughput with a Hugging Face pipeline at batch 1 and 8
  • Test RAG for indirect prompt injection, filter personal data with Presidio and add NeMo Guardrails
  • Set up a RAGAS evaluation on 20 questions, log metrics to Weights & Biases and track the cost of each run

What the LLM engineer roadmap covers

The course walks the LLM engineer path on open models: running models in Ollama, RAG with sentence-transformers and FAISS, hybrid BM25 search with reranking, choosing between prompting, RAG and fine-tuning, QLoRA with trl and peft, GGUF export, a vLLM server, prompt injection defense and LLMOps with RAGAS. 9 lessons, Python code.

Pricing and what's free →
01
Free lesson

Running LLMs Locally with Ollama

You install Ollama, run llama3 and call it through the OpenAI Python client at localhost:11434/v1, then compare the speed of Q4_K_M and Q8_0 quantization on the same request. Per the Ollama docs, the server listens on 127.0.0.1 only: to reach it over the network you change OLLAMA_HOST or put a proxy such as Nginx in front.

Open the lesson →

Lessons

Running LLMs locally: Ollama, RAG, hybrid search → fine-tuning: dataset, QLoRA, GGUF export → production and security: vLLM, guardrails, LLMOps. The first two lessons are free.

Module 1 · 3 lessons · 1 h 50 min

Running LLMs Locally

Ollama, quantization, embeddings, RAG pipeline, and advanced hybrid retrieval.

1Running LLMs Locally with Ollamafree35 minSetting up Ollama, choosing a model (Llama 3, Mistral), Q4/Q8 quantization, and local vs API tradeoffs.2Embeddings and RAG Pipelinefree40 minBuilding RAG with sentence-transformers, FAISS/ChromaDB, chunking strategies, and a 15-line Python example.3Advanced Retrieval: Hybrid Search and Reranking35 minHybrid search (BM25 + semantic), cross-encoder reranking, and HyDE for improved RAG precision.
Module 2 · 3 lessons · 1 h 50 min

Fine-Tuning

When to fine-tune, dataset preparation, LoRA/QLoRA adapters, and model export.

4When to Fine-Tune and Dataset Preparation35 minDecision criteria between prompting, RAG, and fine-tuning; preparing a JSONL dataset with quality filters.5LoRA and QLoRA: Adapters for Fine-Tuning40 minHow LoRA adapters work, rank selection, peft library, training script, and QLoRA for 4-bit training.6Model Export: GGUF, Ollama, Hugging Face Hub35 min

Who it is for

  • ML engineers and backend developers taking an LLM system on open models to production
  • Teams whose data cannot go to an external API: local inference, their own RAG, their own fine-tuned model
  • Anyone deciding whether prompts and RAG are enough or it is time to fine-tune, and who wants clear criteria
  • Teams whose RAG already works and who now need better retrieval accuracy plus quality and cost tracking

How the lessons work

  1. A 30–40 minute lessonA walkthrough with Python code and terminal commands: Ollama, sentence-transformers, FAISS, peft, trl, llama.cpp, vLLM, RAGAS.
  2. A hands-on task in every lessonFor example, fine-tune Qwen3.5-4B with QLoRA on 200 examples at r=8 and r=16 and compare loss and answers, or plant a malicious document in the RAG index and prove your defense blocks it. AI checks your solution and explains the result (after sign-up).
  3. Ready-made prompt and common mistakesA prompt for the lesson task and the mistakes that break LLM systems: chunks over 1000 tokens, a reranker over the whole collection, GGUF export without merging the adapter, vLLM without --max-model-len, RAG documents the model trusts as instructions.
  4. Quiz and AI tutorA 2-question quiz checks the lesson; the AI tutor answers questions on the topic.
  5. CertificateAfter all lessons you get a certificate with a verification code.

Certificate of completion

You get it when you finish every lesson. Each certificate has its own code, so an employer can check it on our site. You can add it to LinkedIn.

See how a certificate is checked
Sample

Sources and what to check before running the code

The curriculum follows Maxime Labonne's open mlabonne/llm-course (Apache 2.0, about 85K stars on GitHub). It has three parts: fundamentals, the LLM Scientist and the LLM Engineer. Our course takes running models, RAG, inference optimization and security from the LLM Engineer part, and LoRA and QLoRA fine-tuning from the LLM Scientist part. Academl is not affiliated with the author.

What has changed since the lessons came out in May 2026. Flash Attention 2 runs on Ampere, Ada and Hopper GPUs (A100, RTX 3090, RTX 4090, H100), Turing has a separate fork, and FlashAttention-3 and 4 target Hopper and Blackwell. Besides GPTQ and AWQ, vLLM accepts FP8, INT4, GGUF and other formats and serves an OpenAI-compatible API.

The TheBloke/Llama-3-8B-AWQ model named in the inference lesson does not exist on Hugging Face: the latest model on TheBloke's profile was updated on Jan 31, 2024, before Llama 3 came out, so look for an AWQ build by other authors or quantize it yourself.

In Ollama, OLLAMA_NUM_PARALLEL sets how many requests one model processes at once (default 1), and the memory it needs grows with it.

OpenAI shuts down GPT-4o, the judge model in the LLMOps lesson, on Jan 14, 2027. OpenAI fine-tuning is being wound down, with new jobs closed for everyone from Jan 6, 2027, so the dataset and QLoRA lessons train open models with Hugging Face TRL. The RAGAS repository moved to the vibrantlabsai organization; the docs stay at docs.ragas.io.

  • mlabonne/llm-course — LLM Scientist and LLM Engineer roadmaps
  • Ollama FAQ: server address, OLLAMA_HOST, OLLAMA_NUM_PARALLEL
  • vLLM documentation
  • Hugging Face PEFT — LoRA and adapters
  • Hugging Face TRL — SFTTrainer and LoRA
  • QLoRA: Efficient Finetuning of Quantized LLMs (arXiv)
  • FlashAttention — supported GPUs
  • RAGAS documentation

What's free and what it costs

  • The first two lessons, running a model in Ollama and the RAG pipeline, are free after a free sign-up.
  • After sign-up you get 7 days of full access to all 9 lessons and the whole catalog, no card needed.
  • After that, Pro costs $9 a month or $79 a year. Online card payment is not connected yet: write to info@academl.com and we open access manually.
  • The models and libraries in the lessons are open; you choose the GPU or cloud GPU for the QLoRA and vLLM lessons yourself.

LLM engineer course: questions

Where should an LLM engineer start?+

The lesson on choosing a method lays out a ladder: prompt engineering, then RAG, then fine-tuning, and pre-training last, each step costing more than the one before. The course follows the same order: running a model locally and RAG in the first module, fine-tuning in the second, production, security and monitoring in the third.

When do I need fine-tuning, and when is RAG enough?+

Per the lesson, fine-tuning pays off when you need a specific answer style or format, the task runs millions of times, or RAG has hit its quality ceiling. For factual knowledge that changes often, RAG is better: a fine-tuned model will not update itself. The lesson's data guidance: style needs 200–500 examples, classification 500–2000, a complex domain 2000 or more.

What is hybrid search and why rerank?+

Vector search catches meaning but misses exact names, SKUs and codes; BM25 catches exact words. Hybrid search merges both result lists with Reciprocal Rank Fusion. A cross-encoder then rescores the query–document pairs for the top 20–50 candidates, and the best 5 go to the model. The code is in the Advanced Retrieval lesson.

What hardware do I need?+

The first lessons run through Ollama: per the lesson's table, a 7B model in Q4_K_M takes about 4.1 GB and needs about 6 GB of VRAM. QLoRA needs an NVIDIA GPU: the method keeps the base model in 4 bits, and the QLoRA paper authors fine-tuned a 65B-parameter model on a single 48 GB GPU. Flash Attention 2 needs an Ampere or newer GPU.

How is this different from the Hugging Face and Ollama courses?+

Hugging Face Transformers teaches the library itself: tokenizers, Trainer, Spaces. Local LLMs with Ollama covers running models and choosing hardware in an hour. DeepSeek, Qwen, Mistral helps you pick an open model. This course covers the whole path to production: RAG with reranking, QLoRA and export, vLLM, security and monitoring.

The course in short

level
Advanced
For whom
For developers
Task
Search in data, RAG
Format
Lessons, quizzes and tasks checked by AI
Lesson language
English

Is this course right for you?

Check your level in 3 minutes. We will show which course to start with.

Check my level

More courses on this topic

Full catalog
Advanced

OpenAI Fine-tuning: From Data to DPO

5 Python lessons: JSONL checks and training cost, SFT, DPO, distillation and RFT with a grader. What changed in OpenAI fine-tuning in 2026 is on the page.

3 h 10 min, 5 lessonsCertificate
Intermediate

RAG & Vector Databases

12 Python lessons on RAG: embeddings, Qdrant and pgvector, chunking, hybrid BM25 + RRF search, reranking, HyDE, RAGAS evaluation and a production pipeline.

6 h 15 min, 12 lessonsCertificate
Intermediate

OpenAI Embeddings: Complete Guide

8 lessons on OpenAI embeddings: text-embedding-3-small, semantic search, code search, reranking, classification, clustering, Q&A and recommendations.

3 h 20 min, 8 lessonsCertificate
Intermediate

OpenAI RAG & Production Patterns

6 Python lessons: RAG over complex PDFs, search with HyDE, prompt caching, 429 retries, long document summarization and entity extraction. 2026 notes.

2 h 35 min, 6 lessonsCertificate

Keep going

Lesson: hybrid search with BM25, vectors and reranking →Local LLMs with Ollama: hardware and private RAG →Hugging Face Transformers: tokenizers, LoRA, Spaces →DeepSeek, Qwen, Mistral: choosing an open model →RAG & vector databases: Qdrant, pgvector →Local LLM Stack track →LLM courses: all stages →

Run your first local model

The first two lessons are open after a free sign-up: Ollama and the RAG pipeline. Sign up with email or Google to get 7 days of full access to the whole course and catalog.

Sign up
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
Merging LoRA adapters, converting to GGUF, creating an Ollama Modelfile, and uploading to Hugging Face Hub.
Module 3 · 3 lessons · 1 h 50 min

Production and Security

vLLM, Flash Attention, LLM security, and LLMOps with RAGAS + W&B.

7Inference Optimization: vLLM, Batching, Flash Attention35 minvLLM PagedAttention, continuous batching, Flash Attention 2, and GPTQ/AWQ quantization for production inference.8LLM Security: Injections, Leakage, PII40 minPrompt injection in RAG, output leakage, PII filtering, and NeMo Guardrails for production protection.9LLMOps: Evaluation, Monitoring, and Cost Tracking35 minRAGAS eval pipeline, drift monitoring, cost tracking, and Weights & Biases integration for production LLM.
Certificate
Your name
for the course
LLM Engineer: From Local Setup to Production
ACADEML · VERIFIED · ACADEML · VERIFIED · SAMPLE
Is this a translation of mlabonne/llm-course?
+

Academl wrote this course on the curriculum of the open mlabonne/llm-course (Apache 2.0); the original author is not involved. The original is free: a roadmap with links to articles and Colab notebooks. Ours is 9 short lessons with code, a task and a reviewed solution in each.

What experience do I need?+

The course is advanced: solid Python, comfort in the terminal and a basic idea of how LLMs and embeddings work. If you are just starting, take Generative AI Fundamentals or RAG and working with documents first.

How long is the course and what does it cost?+

9 lessons, 330 minutes in total, with a certificate with a verification code after all lessons. The first two lessons are always free, sign-up gives 7 days of full access with no card, then Pro is $9 a month or $79 a year.