r/OpenSourceeAI • • Mar 16 '26

Benchmarked 15 open-source SLMs for fine-tuning: Qwen3-8B wins on accuracy, Liquid AI's LFM2-350M wins on tunability, and a 4B model beats a 120B teacher on 8/9 tasks

Post image

The open-source SLM landscape has gotten crowded. Qwen3, Llama 3.x, Gemma 3, SmolLM2, and now Liquid AI's LFM2 all offer models in the 0.1B-8B range. If you're picking a base model for fine-tuning, how do you choose? We ran a systematic benchmark to find out.

Setup: 15 models fine-tuned across 9 tasks (classification, extraction, document understanding, open/closed-book QA, tool calling). All trained with identical hyperparameters: 4 epochs, lr 5e-5, LoRA rank 64, 10k synthetic training examples per task from a 120B+ teacher. Results aggregated using rank-based averaging with 95% CIs.

Models tested:

  • Qwen3: 8B, 4B-Instruct-2507, 1.7B, 0.6B

  • Llama: 3.1-8B-Instruct, 3.2-3B-Instruct, 3.2-1B-Instruct

  • LFM2 (Liquid AI): 350M, 1.2B, 2.6B-Exp, 2.5-1.2B-Instruct

  • SmolLM2: 1.7B-Instruct, 135M-Instruct

  • Gemma 3: 1b-it, 270m-it

Results: best fine-tuned performance

ModelAvg Rank95% CI
Qwen3-8B2.33±0.57
Qwen3-4B-Instruct-25073.33±1.90
Llama-3.1-8B-Instruct4.11±2.08
Llama-3.2-3B-Instruct4.11±1.28
Qwen3-1.7B4.67±1.79
Qwen3-0.6B5.44±2.60

Qwen3 dominates, taking 4 of the top 6 spots. Llama holds strong at #3-4, and notably the 3B Llama matches the 8B variant with a tighter confidence interval.

Results: most tunable (biggest improvement from fine-tuning)

ModelAvg Rank95% CI
LFM2-350M2.11±0.89
LFM2-1.2B3.44±2.24
LFM2.5-1.2B-Instruct4.89±1.62

Liquid AI's LFM2 sweeps the top 3. LFM2-350M is particularly impressive: 350M parameters, yet it improves from fine-tuning more consistently than models 20x its size. The tight CI (±0.89) means this holds across all 9 tasks, not just a few.

Can a fine-tuned SLM actually beat a frontier model?

Yes. Qwen3-4B-Instruct-2507 vs GPT-OSS-120B (the teacher):

BenchmarkTeacher4B StudentΔ
TREC0.900.93+3
Banking770.920.89-3
Docs0.820.84+2
Ecommerce0.880.90+3
PII Redaction0.810.83+2
Roman Empire QA0.750.80+5
Smart Home0.920.96+4
SQuAD 2.00.520.71+19
Voice Assistant0.920.95+3

8 out of 9 wins for the 4B student. The SQuAD 2.0 gap (+19 points) shows how effectively fine-tuning can embed knowledge compared to prompting a much larger model.

Quick recommendations

ConstraintModel
Max accuracyQwen3-8B
Good accuracy, half the paramsQwen3-4B-Instruct-2507
Under 2B paramsQwen3-0.6B or Llama-3.2-1B
Max ROI from fine-tuningLFM2-350M or LFM2-1.2B
Edge / IoTLFM2-350M
No fine-tuningQwen3-8B

The core finding: fine-tuning matters more than base model choice. A well-tuned 1B model can outperform a prompted 8B model. The choice of architecture matters, but the training signal matters more.

Full post with charts, per-task breakdowns, and methodology details: https://www.distillabs.ai/blog/what-small-language-model-is-best-for-fine-tuning

42 Upvotes

0 comments sorted by