Search results
Here is the commands to run the evaluation: pip install lm-eval==0.3.0. python eval_ppl.py --hf_path 1bitLLM/bitnet_b1_58-3B --seqlen 2048. python eval_task.py --hf_path 1bitLLM/bitnet_b1_58-3B \ --batch_size 1 \ --tasks \ --output_path result.json \ --num_fewshot 0 \ --ctx_size 2048. Downloads last month. 10,408. Safetensors. 729M params.
Based on Microsoft's 'The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits' paper. This repository introduces a toy work-in-progress implementation of BitNet - a scalable and stable 1-bit Transformer architecture designed specifically for large language models.
29 lut 2024 · BitNet b1.58 emerges as a solution, utilizing 1-bit ternary parameters to dramatically lighten the load on computational resources while maintaining high model performance. This section will...
24 cze 2024 · In this work, we investigate 1.58-bit quantization for small language and vision models ranging from 100K to 48M parameters. We introduce a variant of BitNet b1.58, which allows to rely on the median rather than the mean in the quantization process.
Recently proposed methods for 1-bit and 1.58-bit quantiza-tion aware training investigate the performance and behavior of these methods in the context of large language models, finding state-of-the-art performance for models with more than 3B parameters.
27 lut 2024 · Recent research, such as BitNet, is paving the way for a new era of 1-bit Large Language Models (LLMs). In this work, we introduce a 1-bit LLM variant, namely BitNet b1.58, in which every single parameter (or weight) of the LLM is ternary {-1, 0, 1}.
26 mar 2024 · BitNet b1.58 addresses this by halving activation bits, enabling a doubled context length with the same resources, with potential further compression to 4 bits or lower for 1.58-bit LLMs, a...