# BitNet b1.58 2B4T

- **ID:** 586
- **Kind:** model
- **URL:** https://huggingface.co/microsoft/bitnet-b1.58-2B-4T
- **Authors:** Shuming Ma, Hongyu Wang, Shaohan Huang, Xingxing Zhang, Ying Hu, Ting Song, Yan Xia, Furu Wei
- **Venue:** Microsoft Research
- **Published:** 2025
- **Source:** huggingface
- **Language:** en
- **Access:** free
- **License:** MIT
- **License family:** Permissive (auto-classified)
- **Tags:** bitnet, 1-bit, ternary, microsoft, bitnet-cpp, w1.58a8, llm
- **Topics:** 1-bit LLMs, quantization, efficient inference
- **Added:** 2026-08-14
- **Verified:** 2026-08-14
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/586

## Summary

Packed ternary BitNet weights (~2B) trained from scratch on 4T tokens (SmolLM-Corpus, dclm-baseline-1.0, open-web-math) then SFT+DPO. Architecture: BitLinear, RoPE, ReLU² FFN, subln, no biases; LLaMA 3 tokenizer (128,256); ctx 4096. Card: non-emb memory 0.4GB, CPU decode 29ms, energy 0.028J vs 1–2B dense open models; average 54.19 vs Qwen2.5-1.5B 55.23 (GSM8K 58.38). Efficiency needs microsoft/BitNet (bitnet.cpp), not stock transformers. Siblings: bf16 master weights and GGUF.

## Attributes

- **Purpose:** Release the first open native 1.58-bit 2B LLM trained from scratch (W1.58A8) plus bitnet.cpp for CPU inference
- **Scale:** ~2B params; 4T pretrain tokens; max seq 4096. HF 19,771 downloads / 1,491 likes at check. Card eval vs LLaMA 3.2 1B, Gemma-3 1B, Qwen2.5 1.5B, SmolLM2 1.7B, MiniCPM 2B.
- **Time period:** HF createdAt 2025-04-15; data-card release 2025-05-01; lastModified 2025-12-17. Paper arXiv 2504.12285 v1 2025-04-16 / v2 2025-04-25. Latest training-data date on the data summary card: 2024-07-15. Discord posted 2025-04-16.

## From the source (fetched 2026-10-03)

- **Repository:** microsoft/bitnet-b1.58-2B-4T (Hugging Face)
- **Created:** Apr 15, 2025 (Hugging Face)
- **Last updated:** Dec 17, 2025 (Hugging Face)
- **Downloads (last month):** 20,262 (Hugging Face)
- **Likes:** 1,496 (Hugging Face)
- **Pipeline:** text-generation (Hugging Face)
- **Library:** transformers (Hugging Face)

## Research notes

- Primary: HF model card (MIT, transformers, pipeline_tag text-generation, downloads=19771 likes=1491 checked 2026-08-14). Technical report arXiv 2504.12285. Official inference https://github.com/microsoft/BitNet. Discord posted the HF model pointer. Weights/checkpoint item, not a new hosted pretraining corpus, so no datasets_local row. Training used public SmolLM-Corpus / dclm-baseline-1.0 / open-web-math.

## Similar entries

- [BitNet a4.8: 4-bit Activations for 1-bit LLMs](https://papers.projxon.ai/entries/556) (paper, #556)
- [Q-Sparse: All Large Language Models can be Fully Sparsely-Activated](https://papers.projxon.ai/entries/581) (paper, #581)
- [Bonsai 27B: Full 27B-Class Reasoning in Binary and Ternary Transformer Weights — On Laptops and Phones](https://papers.projxon.ai/entries/1104) (model, #1104)
- [Bi-Mamba: Towards Accurate 1-Bit State Space Models](https://papers.projxon.ai/entries/561) (paper, #561)
- [Optimizing Large Language Model Training Using FP4 Quantization](https://papers.projxon.ai/entries/565) (paper, #565)
- [Disaggregated Quantization: Specializing LLM Prefill and Decode](https://papers.projxon.ai/entries/829) (paper, #829)
