{
  "id": 586,
  "kind": "model",
  "title": "BitNet b1.58 2B4T",
  "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.",
  "body": "",
  "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.",
  "url": "https://huggingface.co/microsoft/bitnet-b1.58-2B-4T",
  "links": [],
  "authors": [
    "Shuming Ma",
    "Hongyu Wang",
    "Shaohan Huang",
    "Xingxing Zhang",
    "Ying Hu",
    "Ting Song",
    "Yan Xia",
    "Furu Wei"
  ],
  "tags": [
    "bitnet",
    "1-bit",
    "ternary",
    "microsoft",
    "bitnet-cpp",
    "w1.58a8",
    "llm"
  ],
  "topics": "1-bit LLMs, quantization, efficient inference",
  "venue": "Microsoft Research",
  "publisher": "",
  "source": "huggingface",
  "language": "en",
  "access": "free",
  "license": "MIT",
  "published_year": 2025,
  "added_at": "2026-08-14T18:28:00.000Z",
  "verified_at": "2026-08-14T18:28:00.000Z",
  "attrs": {
    "hf": {
      "kind": "model",
      "name": "bitnet-b1.58-2B-4T",
      "namespace": "microsoft"
    },
    "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.",
    "purpose": "Release the first open native 1.58-bit 2B LLM trained from scratch (W1.58A8) plus bitnet.cpp for CPU inference",
    "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."
  },
  "enrichment": {
    "hf": {
      "id": "microsoft/bitnet-b1.58-2B-4T",
      "type": "model",
      "arxiv": [
        "2504.12285"
      ],
      "gated": false,
      "likes": 1496,
      "author": "microsoft",
      "created": "2025-04-15",
      "library": "transformers",
      "license": "mit",
      "modified": "2025-12-17",
      "pipeline": "text-generation",
      "downloads": 20262,
      "fetched_at": "2026-10-03T14:33:36.325Z"
    }
  },
  "enriched_at": "2026-10-03T14:33:36.364Z",
  "license_class": "permissive",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "605",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T14:33:36.364Z",
  "page": "https://papers.projxon.ai/entries/586",
  "markdown": "https://papers.projxon.ai/entries/586.md",
  "api": "https://papers.projxon.ai/api/entries/586",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 556,
      "kind": "paper",
      "title": "BitNet a4.8: 4-bit Activations for 1-bit LLMs",
      "summary": "Hybrid recipe: INT4 activations into attention/FFN, plus sparsify then 8-bit on outlier-heavy intermediate states. Two-stage continue-training from BitNet b1.58 (W1.58A8 then W1.58A4; last 5B tokens for the 4-bit stage). Matches b1.58 at equal train cost while enabling 4-bit kernels; ~55% of parameters activated and 3-bit KV cache. 7B: 44.5% overall sparsity / 3.4B active vs b1.58 6.0B; a 2B model on 2T tokens stays at parity with b1.58. No official code on abs.",
      "url": "https://arxiv.org/abs/2411.04965",
      "authors": [
        "Hongyu Wang",
        "Shuming Ma",
        "Furu Wei"
      ],
      "tags": [
        "bitnet",
        "quantization",
        "1-bit",
        "int4",
        "sparsity",
        "microsoft",
        "activation-quantization"
      ],
      "venue": "arXiv / Microsoft Research / University of Chinese Academy of Sciences",
      "source": "",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 22,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/556",
      "markdown": "https://papers.projxon.ai/entries/556.md",
      "api": "https://papers.projxon.ai/api/entries/556"
    },
    {
      "id": 581,
      "kind": "paper",
      "title": "Q-Sparse: All Large Language Models can be Fully Sparsely-Activated",
      "summary": "Q-Sparse applies top-K (absolute-value) masks on activations of all linear layers, STE so non-selected grads are not zeroed, optional 8-bit quantized top-K, squared-ReLU/ReLU²GLU in FFNs, and Block Q-Sparse (N:M, e.g. 16:32) for batched GPU kernels. Inference-optimal sparsity ~45.58% full-precision (1.84× params at matched activated N_a) and ~61.25% for 1.58-bit. From-scratch 40% sparsity matches dense loss at the same size/tokens (RedPajama 50B). Continue-train Mistral-7B: 3.8B activated avg 63.7 vs dense 64.6 (ARC/HS/MMLU/WG/TQA); 2.9B 61.7, beating ReLUfication 60.8 and dReLU 61.0. Works with BitNet b1.58. No official code on abs.",
      "url": "https://arxiv.org/abs/2407.10969",
      "authors": [
        "Hongyu Wang",
        "Shuming Ma",
        "Ruiping Wang",
        "Furu Wei"
      ],
      "tags": [
        "q-sparse",
        "activation-sparsity",
        "top-k",
        "ste",
        "bitnet",
        "block-sparsity",
        "microsoft",
        "inference-optimal-scaling"
      ],
      "venue": "arXiv / Microsoft Research / University of Chinese Academy of Sciences",
      "source": "",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 31,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/581",
      "markdown": "https://papers.projxon.ai/entries/581.md",
      "api": "https://papers.projxon.ai/api/entries/581"
    },
    {
      "id": 1104,
      "kind": "model",
      "title": "Bonsai 27B: Full 27B-Class Reasoning in Binary and Ternary Transformer Weights — On Laptops and Phones",
      "summary": "PrismML Bonsai 27B (announced 2026-07-14; alphaXiv whitepaper slug 2607.bonsai-27b) post-training-compresses Qwen3.6-27B into binary g128 and ternary g128 weights with group-wise FP16 scales, hybrid attention (~75% linear / 25% full), 262K context, optional 4-bit vision tower, and DSpark speculative decoding. Claimed ~3.9 GB (1-bit) / ~5.9 GB (ternary) vs ~54 GB FP16; ~11 tok/s on iPhone 17 Pro Max and tens of tok/s on Apple Silicon laptops; Apache-2.0 Hub packs (GGUF/MLX).",
      "url": "https://docs.prismml.com/models/bonsai-27b",
      "authors": [
        "Prism ML"
      ],
      "tags": [
        "bonsai-27b",
        "prismml",
        "1-bit",
        "ternary",
        "quantization",
        "on-device",
        "qwen3.6",
        "hybrid-attention",
        "mlx",
        "gguf",
        "apache-2.0"
      ],
      "venue": "PrismML",
      "source": "web",
      "license": "Apache-2.0",
      "published_year": null,
      "added_at": "2026-09-01T20:25:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1104",
      "markdown": "https://papers.projxon.ai/entries/1104.md",
      "api": "https://papers.projxon.ai/api/entries/1104"
    },
    {
      "id": 561,
      "kind": "paper",
      "title": "Bi-Mamba: Towards Accurate 1-Bit State Space Models",
      "summary": "Binarizes Mamba-2 in/out projections (~90%+ of params) with FBI-Linear (sign weights plus per-column α/β) and autoregressive distillation from LLaMA2-7B on Amber. Beats GPTQ-2/3bit and BiLLM post-training binarization on Mamba-2 780M/1.3B/2.7B zero-shot and Wiki2/PTB/C4 PPL; 2.7B avg 50.6 vs Mamba-2 FP 59.6, Wiki2 10.0 vs 9.1. Claims ~5× memory / ~3× throughput vs FP16 2.7B on M4 Pro. Accepted in TMLR 2025. Code https://github.com/Tangshengku/Bi-Mamba.",
      "url": "https://arxiv.org/abs/2411.11843",
      "authors": [
        "Shengkun Tang",
        "Liqun Ma",
        "Haonan Li",
        "Mingjie Sun",
        "Zhiqiang Shen"
      ],
      "tags": [
        "bi-mamba",
        "mamba-2",
        "1-bit",
        "quantization",
        "ssm",
        "mbzuai",
        "tmlr",
        "fbi-linear"
      ],
      "venue": "arXiv / MBZUAI / Carnegie Mellon University",
      "source": "",
      "license": "CC BY 4.0",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 13,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/561",
      "markdown": "https://papers.projxon.ai/entries/561.md",
      "api": "https://papers.projxon.ai/api/entries/561"
    },
    {
      "id": 565,
      "kind": "paper",
      "title": "Optimizing Large Language Model Training Using FP4 Quantization",
      "summary": "First from-scratch FP4 LLM pretraining: Differentiable Gradient Estimator (DGE, k=5) corrects E2M1 weight grads vs STE, and Outlier Clamping and Compensation (OCC, α=0.99 plus a ~2% sparse residual) keeps activations from collapsing. Mixed-precision W4A4 GeMM simulated on H100 FP8 cores with token-wise activation and channel-wise weight scaling. LLaMA-2 1.3B/7B/13B on 100B DCLM tokens: train loss 2.55/2.17/1.97 vs BF16 2.49/2.07/1.88; zero-shot avg 53.13/54.42/54.95 vs 53.23/53.87/54.44. Direct W4A4 diverges. ICML 2025. Framework https://aka.ms/MS.AMP (Azure/MS-AMP).",
      "url": "https://arxiv.org/abs/2501.17116",
      "authors": [
        "Ruizhe Wang",
        "Yeyun Gong",
        "Xiao Liu",
        "Guoshuai Zhao",
        "Ziyue Yang",
        "Baining Guo",
        "Zhengjun Zha",
        "Peng Cheng"
      ],
      "tags": [
        "fp4",
        "quantization",
        "dge",
        "occ",
        "mixed-precision",
        "llama2",
        "dclm",
        "icml",
        "microsoft",
        "e2m1"
      ],
      "venue": "arXiv / Microsoft Research Asia / University of Science and Technology of China",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 62,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/565",
      "markdown": "https://papers.projxon.ai/entries/565.md",
      "api": "https://papers.projxon.ai/api/entries/565"
    },
    {
      "id": 829,
      "kind": "paper",
      "title": "Disaggregated Quantization: Specializing LLM Prefill and Decode",
      "summary": "Disaggregated quantization (DQ): separate computation formats, weights, and storage placement specialized to prefill vs decode -- low-precision arithmetic accelerates prompt processing, compact weights reduce memory traffic during generation. Removing activation quantization on decode improves accuracy on decode-heavy tasks without added inference cost (Qwen 3, Gemma 3). Separate compute-native prefill weights accelerate prompt processing vs weight-only inference while matching/exceeding its accuracy at 2-3-bit decode. Training an NVFP4 prefiller improves 1-bit accuracy by 32.5 points on MMLU-Pro and 35.3 on MMMU-Pro without modifying the decode checkpoint (Qwen3.8-27B GGUF decoder). \"Offloaded disaggregated prefill\" (ODP) streams the extra prefill checkpoint from SSD, amortizing loading over prompt length: 1.78x time-to-first-token speedup over the weight-only baseline at 8K prompt length in llama.cpp. Accuracy evaluated under disaggregated serving in vLLM; shared-weight format disaggregation validated via PTQ on models up to 2.8T parameters.",
      "url": "https://huggingface.co/papers/2609.26333",
      "authors": [
        "Andrei Panferov",
        "Maximilian Kleinegger",
        "Sweta Priyadarshi",
        "Tijmen Blankevoort",
        "Dan Alistarh"
      ],
      "tags": [
        "quantization",
        "inference",
        "prefill",
        "decode",
        "nvfp4",
        "low-bit-inference",
        "serving"
      ],
      "venue": "IST Austria Distributed Algorithms and Systems Lab (arXiv 2026-09-21; HF #2 Paper of the Day)",
      "source": "paper_page",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/829",
      "markdown": "https://papers.projxon.ai/entries/829.md",
      "api": "https://papers.projxon.ai/api/entries/829"
    }
  ]
}
