Data Engineering SFT: NEFTune & SemDeDup | SLM Playbook

Prerequisite: Familiarity with the concepts introduced in Executive Summary. Review it first if the terminology in this part is unfamiliar. ← Series hub ← Previous | Next → Answer-first: Supervised Fine-Tuning (SFT) data quality determines downstream model capabilities; applying NEFTune noise injection during training improves conversational quality by up to 20%, while SemDeDup vector clustering prunes 30%–50% of redundant data to cut GPU training hours nearly in half without losing model accuracy. Implementing this architecture enforces sub-50ms P99 latency guarantees, strict component isolation, and automated observability pipelines required for. ...

May 22, 2026 · 10 min · Lê Tuấn Anh

QLoRA Fine-Tuning Guide: Axolotl, Unsloth & PEFT Tuning

Prerequisite: Familiarity with the concepts introduced in Part 2 — Sft Data Engineering. Review it first if the terminology in this part is unfamiliar. Answer-first: QLoRA fine-tuning combines 4-bit NormalFloat (NF4) base model quantization with low-rank adapter matrices ($r=16, \alpha=32$), reducing VRAM usage from 80GB to under 10GB and accelerating training speed by 4.5x using Unsloth Triton kernels on a single GPU. Adopting this pattern guarantees sub-50ms P99 latency bounds, zero-allocation memory optimization, and fault-tolerant event-driven state synchronization across production systems. ...

June 20, 2026 · 8 min · Lê Tuấn Anh

Prompt Engineering vs Fine Tuning: 2026 AI Decision Guide

Prompt Engineering vs Fine Tuning vs RAG: Complete 2026 Decision Guide Prompt Engineering vs Fine Tuning: Executive Decision Framework Answer-first: In the prompt engineering vs fine tuning evaluation, prompt engineering offers rapid prototyping with zero setup cost, whereas fine tuning Small Language Models (SLMs) via QLoRA bakes domain knowledge into weights, reducing TTFT latency under 250ms and cutting API token spend by 90%. Implementing this architecture enforces sub-50ms P99 latency guarantees, strict component isolation, and automated observability pipelines required for. ...

June 1, 2026 · 9 min · Lê Tuấn Anh