Topic
LoRA, QLoRA & Parameter-Efficient Fine-Tuning
7 posts on lora, qlora & parameter-efficient fine-tuning — part of glossary on the n4n AI blog.
What is PEFT? Parameter-efficient fine-tuning explained
PEFT explained for engineers — what it is, how LoRA and QLoRA work, when to use each, and the trade-offs you'll hit in production.
What is LoRA? Low-rank adaptation explained
LoRA (Low-Rank Adaptation) explained for engineers — how it works, why it matters for fine-tuning LLMs, and a concrete PyTorch example.
QLoRA explained: fine-tuning in 4-bit precision
QLoRA combines 4-bit quantization with LoRA adapters to fine-tune large language models on consumer GPUs without quality loss.
LoRA vs QLoRA: what's the difference?
A practitioner's head-to-head comparison of LoRA and QLoRA across memory, compute, quality, and tooling — with a clear verdict for each use case.
LoRA vs full fine-tuning: costs and tradeoffs
A practical head-to-head comparison of LoRA and full fine-tuning across cost, performance, and operational tradeoffs for engineers choosing a fine-tuning strategy.
How LoRA fine-tuning works, step by step
A practical step-by-step guide to LoRA fine-tuning with runnable code, covering setup, training, and verification for engineers building with LLMs.
Fine-tuning Llama 3 with LoRA: what you need to know
A hands-on tutorial for fine-tuning Llama 3 with LoRA, covering prerequisites, dataset prep, training loops, and evaluation with runnable code.
More topics in glossary
- Structured Outputs & JSON Mode19
- AI Agents Fundamentals12
- Hallucination in LLMs11
- Sampling Parameters: Top-p, Top-k & Penalties11
- Context Window & Context Length10
- Fine-Tuning Fundamentals9
- Foundation Models: Base vs Instruct vs Chat9
- Model Families & Naming Conventions: GPT-5, Claude, Gemini 3, Llama 4, Mistral, DeepSeek, Qwen, Grok9
- Grounding & Fact-Checking in AI8
- LLM Benchmarks: MMLU, HumanEval, SWE-bench & GPQA8
- Max Tokens, Stop Sequences & Output Truncation8
- Quantization Formats: GGUF, GPTQ, AWQ & INT4/INT88