localaiforum
Log in
Guide โ€บ Models & formats

The open-weight family tree

A handful of families cover nearly all local use, and each ships as a ladder of sizes and post-training flavors. Knowing the tree tells you what any random Hugging Face fine-tune is actually built on โ€” and which base to reach for first. All of these are open-weight; what that does and doesn't get you is covered in open vs closed.

The major families

Family Sizes License Known for
Qwen 0.6B โ†’ 235B-A22B MoE Apache-2.0 (most sizes) strongest multilingual coverage, Korean included; Qwen3 "thinking" variants; dense ladder plus 30B-A3B MoE
Llama 1 โ†’ 2 โ†’ 3.x โ†’ 4 community license the largest fine-tune and tooling ecosystem; license has a 700M-MAU cap plus use restrictions
Gemma 1B โ€“ 27B Gemma terms best quality-per-GB; Gemma 3 adds vision input and 128k context; solid multilingual
Mistral / Mixtral 7B v0.x; 8x7B, 8x22B MoE Apache-2.0 (most) the classic usable-7B lineage; Mixtral proved open MoE works
Phi 3.8B mini, 14B MIT punchy small models; strong math and reasoning for the size
DeepSeek V3/R1 671B-A37B MoE; distills 1.5Bโ€“70B MIT (R1) open reasoning leaders; R1-distills brought chain-of-thought to consumer sizes

Honorable mentions: GLM (Zhipu) and Yi (01.AI) โ€” strong bases with long-context variants; OLMo (AllenAI) โ€” fully open: training data, code, and checkpoints all published, the reference point when "open" must mean more than weights.

Sizes and license terms drift per release โ€” read the model card before shipping anything commercial.

Family notes

  • Qwen โ€” the default answer for multilingual local use. The size ladder is unusually fine-grained (0.6/1.7/4/8/14/32B dense, plus 30B-A3B and 235B-A22B MoE), so every VRAM tier has a Qwen. The Qwen3 generation added per-prompt "thinking" toggles on most sizes.
  • Llama โ€” less the quality frontier than the compatibility frontier: every tool, tutorial, and fine-tune supports it first. Llama 4 moved to MoE, so the dense 3.x line remains the daily driver in many local setups.
  • Gemma โ€” consistently strong for its file size, which matters when you're Q4-bound on a laptop. Gemma 3's vision input makes it the easy multimodal default locally.
  • Mistral โ€” pioneer of the usable open 7B and of open MoE (Mixtral 8x7B). Recent flagships lean closed; the open 7Bs and Small (22โ€“24B) variants remain workhorses.
  • Phi โ€” trained heavily on curated "textbook-quality" synthetic data; punches above its weight on math and logic, thinner on world knowledge. A good small-agent brain.
  • DeepSeek โ€” V3 and R1 pushed open reasoning capability forward; the full models need serious hardware, but the R1-distill family (Qwen/Llama bases trained on R1 reasoning traces) runs chain-of-thought locally from 1.5B up.

Generations at a glance

Family trees move fast; generations age like milk. Rough lineage, oldest to newest covered here:

Family Lineage
Qwen 1 โ†’ 1.5 โ†’ 2 โ†’ 2.5 โ†’ 3 (2023โ€“2025)
Llama 1 โ†’ 2 โ†’ 3 โ†’ 3.1/3.2/3.3 โ†’ 4 (2023โ€“2025)
Gemma 1 โ†’ 2 โ†’ 3 (2024โ€“2025)
Phi 2 โ†’ 3 (mini/medium/small) โ†’ 4 (2023โ€“2024)
DeepSeek Coder โ†’ V2 โ†’ V3 โ†’ R1 + distills (2023โ€“2025)

The useful rule: within a family, a newer generation at smaller size usually matches an older generation at larger size. A current 8B routinely beats a two-generation-old 30B at most tasks โ€” which is why the right instinct is "newest model that fits," not "biggest model that fits."

Reading model names: base vs instruct vs reasoning

Every family ships several post-training flavors; the name is the decoder ring:

Marker Meaning Use it for
none, or -base pretrained weights only completion-style tasks, your own fine-tune base โ€” not chat
-instruct, -it, -chat assistant-tuned the default for chat, extraction, tools
thinking (Qwen3) reasoning mode toggled per prompt math, planning; burns tokens โ€” manage it in sampling
R1-Distill-* R1 reasoning traces distilled into Qwen/Llama bases chain-of-thought at consumer sizes
-Coder, -Vision, -VL task or modality specialization coding, image input
quant tag in the filename (Q4_K_M) quantization of whatever flavor is inside see quantization

A base model answers by continuing your text: say hello and you may get a forum thread, an FAQ, or a Wikipedia-style paragraph about greetings. Instruct models behave like assistants. Everything else in this guide assumes instruct or reasoning checkpoints โ€” running a base model and concluding "local models are dumb" is a classic first-week mistake.

MoE: total vs active parameters

Mixture-of-experts models store many more weights than any one token uses. Each layer's feed-forward block splits into expert sub-networks; a small router picks the top few experts per token, per layer. "235B-A22B" means 235B parameters stored, ~22B active per token. Two costs come apart:

memory for weights  โˆ total params    (all experts must sit in RAM/VRAM)
compute per token   โˆ active params   (only the routed experts run)

So an MoE buys big-model quality at small-model speed โ€” if you can hold the weights. That is the entire local story of Qwen3-30B-A3B: ~30B of stored capability for machines with 24โ€“32 GB, at ~3B decode cost, out-scoring same-size dense models while generating faster. The mechanics are in speed.

Same memory budget, different shape:

Shape Q4_K_M size Decode compute Trade
dense 14B ~8.5 GB 14B/token the balanced default
MoE 30B-A3B ~18 GB ~3B/token needs the RAM, then wins on both axes

MoE caveats: quality per active parameter is lower than a dense model's, routing adds overhead at batch size 1, and routers are sensitive to sloppy quantization โ€” prefer community-vetted quant recipes for MoE checkpoints over hand-rolled ones.

Korean and multilingual

Rough community consensus for Korean, as of this writing: Qwen first (strong Korean across the size ladder), Gemma second (clean Korean prose, occasionally stiff honorifics), English-first families a visible third (particle errors, calques from English). Test directly โ€” honorifics (์กด๋Œ“๋ง/๋ฐ˜๋ง), particle choice, register consistency โ€” with the protocol in choosing.

The fine-tune jungle

Most repos on Hugging Face are not from the original lab. Layers of culture accumulate on top:

  • Merges โ€” weight-averaging (TIES, DARE, SLERP) of several fine-tunes. Sometimes genuinely better than any parent; often a coin flip that evals worse.
  • Abliterated โ€” refusal directions surgically removed. Useful for fiction and research; usually costs some general capability. Mind the license and your jurisdiction.
  • "Slop" fine-tunes โ€” a quick LoRA on synthetic data chasing arena vibes, published under an escalating name. Quality varies wildly, in both directions.
  • Community quants โ€” bartowski, mradermacher, and peers re-quantize upstream without touching the weights. These are safe; it's behavior-modifying fine-tunes that need vetting.

When you open a fine-tune's card, look for the named base model, evals from a harness you recognize (not screenshots), and a described dataset โ€” "private dataset" is a yellow flag.

Default policy: prefer the upstream lab release unless a fine-tune has independent, reproduced evidence of being better. How to weigh that against benchmarks and community signal: choosing.

Related: Choosing a model ยท Open vs closed ยท Quantization ยท Model formats