Falcon-Edge: A series of powerful, universal, fine-tunable 1.58bit language models.
Falcon-Edge is a set of 1B and 3B ternary (1.58-bit) BitNet language models, in base and instruct variants, pre-trained on about 1.5T tokens with a WSD learning-rate schedule and reported competitive with similarly sized models on Hugging Face leaderboard benchmarks. A single training run yields three checkpoints: the native BitNet model, a bfloat16 non-BitNet model, and pre-quantized weights for fine-tuning. The bfloat16 variant is produced by quantizing weights to ternary and dividing back by the weight scale, which works because training used fake int8 activation quantization. The accompanying onebitllms package swaps nn.Linear for BitnetLinear and provides Triton kernels so the models can be fully fine-tuned with tools like trl and then re-quantized. PEFT is not yet supported, and BitNet pre-training costs roughly 20% more than standard pre-training.
Related posts
- Fine-tuning LLMs to 1.58bit: extreme quantization made easy
Hugging Face hardMasterExisting LLMs can be fine-tuned into BitNet's 1.58-bit ternary format (-1, 0, 1) instead of pre-training from scratch, and a Llama3 8B fine-tuned this way on 100B tokens outperforms Llama 1 7B on MMLU. Training uses BitLinear layers with absmean per-tensor weight quantization, absmax per-token 8-bit activation quantization, layer normalization before activation quantization, and a straight-through estimator implemented via detach(). Inference quantizes weights without rescaling and runs matrix multiplication through efficient kernels. The resulting models load in Transformers through a new 'bitnet' quantization method with no API changes, and pre-training experiments show layer normalization lowering validation perplexity from 6.3 to 5.9.
- Spread Your Wings: Falcon 180B is here
Hugging Face mediumAdeptFalcon 180B from TII is the largest openly available language model, with 180 billion parameters, trained on 3.5 trillion tokens (mostly RefinedWeb) across up to 4096 GPUs for about 7M GPU hours. It scales up Falcon 40B's architecture, including multiquery attention, and scored on par with Llama 2 70B and PaLM 2-Large on common benchmarks. Running it needs serious hardware: 640GB for BF16 inference, 320GB with GPTQ/int4, and 160GB for QLoRA fine-tuning. 8-bit and 4-bit quantization barely change eval scores, and Transformers 4.33 supports loading, quantizing and chat-style prompting.
- The Falcon has landed in the Hugging Face ecosystem
Hugging Face mediumAdeptFalcon-7B and Falcon-40B are Apache 2.0 language models from TII, trained mostly on the deduplicated, filtered RefinedWeb dataset. They use multiquery attention, which shrinks the K,V-cache roughly 10-100x (20MB vs 1,100MB for LLaMA-7B at 2,048 context). The walkthrough covers running them with transformers in bfloat16 with remote code, fitting Falcon-40B into about 45GB with 8-bit or about 27GB with 4-bit loading, and serving them via Text Generation Inference. It also covers leaderboard results where the 40B models ranked first and second, and QLoRA fine-tuning with PEFT and TRL's SFTTrainer on a single T4 (7B) or A100 (40B), producing a 65MB adapter.
- Welcome to the Falcon 3 Family of Open Models!
Hugging Face easyNoviceFalcon3 is TII's family of open decoder-only LLMs under 10B parameters (1B, 3B, 7B, 10B transformers plus Mamba-7B SSM), focused on math, science and code. A single 14T-token pretraining run on 1024 H100s produced the 7B model; the 10B was made by depth up-scaling (duplicating layers plus 2T more tokens), and the 1B/3B by pruning and knowledge distillation on under 100B tokens. Reported results include 83.0 GSM8K and 73.1 MMLU for the 10B base, up to 32K context, Llama-architecture compatibility, and quantized variants (GGUF, GPTQ, AWQ, 1.58-bit).
- Making LLMs even more accessible with bitsandbytes, 4-bit quantization and QLoRA
Hugging Face mediumAdeptbitsandbytes now integrates 4-bit quantization into Hugging Face transformers, letting most accelerate-loadable models (text, vision, multimodal) run in 4-bit and be fine-tuned via QLoRA, which backpropagates through a frozen 4-bit base model into LoRA adapters. QLoRA stores weights in NF4 and dequantizes to bfloat16 for compute, adds double quantization (saving ~0.4 bits per parameter) and paged optimizers, and matches 16-bit fine-tuning while fitting a 33B model on a 24GB GPU or 65B on a 48GB GPU. The post explains FP8/FP4 bit layouts and shows BitsAndBytesConfig usage. Recommended defaults are NF4 for precision, double quant for memory pressure, and a 16-bit compute dtype for speed.