🤖 AI Summary
To address the high computational cost of large language models (LLMs), this work introduces the first open-source, natively 1-bit (b1.58-weight-quantized) 2-billion-parameter LLM, trained end-to-end on 4 trillion tokens. We achieve stable training and inference with purely 1-bit weights and 1.58-bit activations at the 2B scale—enabled by a custom gradient propagation mechanism and hardware-aware sparse tensor operations. We further release a cross-platform (GPU/CPU) open-source inference engine. Compared to full-precision baselines, our model reduces memory footprint by 8×, cuts decoding latency by 60%, and significantly lowers energy consumption. It matches or exceeds the performance of Llama-2-2B and Phi-3-2B across language understanding, mathematical reasoning, code generation, and dialogue tasks—demonstrating a breakthrough in the accuracy–efficiency trade-off for ultra-low-bit LLMs.
📝 Abstract
We introduce BitNet b1.58 2B4T, the first open-source, native 1-bit Large Language Model (LLM) at the 2-billion parameter scale. Trained on a corpus of 4 trillion tokens, the model has been rigorously evaluated across benchmarks covering language understanding, mathematical reasoning, coding proficiency, and conversational ability. Our results demonstrate that BitNet b1.58 2B4T achieves performance on par with leading open-weight, full-precision LLMs of similar size, while offering significant advantages in computational efficiency, including substantially reduced memory footprint, energy consumption, and decoding latency. To facilitate further research and adoption, the model weights are released via Hugging Face along with open-source inference implementations for both GPU and CPU architectures.