SLM Playbook: Small Language Models Architecture in Go

Pillar Architecture Guide: This article is part of the Autonomous Hybrid-AI Pipeline: Cron to State-Machine series. Please refer to the original article for an architectural overview of the system. ← Series hub Next → Answer-first: Self-hosting Small Language Models (2B–14B) with Go hybrid routing and vLLM serving reduces enterprise API costs by up to 65%, eliminates PII privacy risks, and delivers specialized domain performance matching 100B+ models. For the past two years, enterprise AI adoption has been dominated by a singular architectural pattern: API integration with massive, closed-source models (Frontier LLMs). While this API-Centric model allows for rapid prototyping, it becomes a severe liability when scaled to production workloads handling sensitive company data. ...

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

Data Engineering SFT: NEFTune & SemDeDup | SLM Playbook

Pillar Architecture Guide: This guide is part of the Autonomous Hybrid-AI Pipeline: Cron to State-Machine series. Please refer to the original guide for an architectural breakdown of the system. ← 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. ...

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

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

Pillar Architecture Guide: This guide is part of the Autonomous Hybrid-AI Pipeline: Cron to State-Machine series. Please refer to the original guide for an architectural overview of the system. 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. Full fine-tuning of an 8B parameter model in FP16 precision requires updating 8 Billion weights simultaneously. This demands over 80GB of GPU VRAM for model weights, activation memory, and AdamW optimizer states, forcing teams to lease expensive multi-GPU cluster nodes (8x A100/H100). ...

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