openbmb / BitCPM-CANN-1B-unquantized

huggingface.co
Total runs: 3.1K
24-hour runs: -541
7-day runs: -6.8K
30-day runs: -5.8K
Model's Last Updated: May 24 2026
text-generation

Introduction of BitCPM-CANN-1B-unquantized

Model Details of BitCPM-CANN-1B-unquantized

GitHub Repo | Technical Report

๐Ÿ‘‹ Join us on Discord and WeChat

Overview

BitCPM-CANN-1B-unquantized is the unquantized QAT (Quantization-Aware Training) checkpoint of BitCPM-CANN-1B, designed for continued pre-training and fine-tuning . It preserves full-precision latent weights with ternary fake quantizers (weights โ†’ {-1, 0, 1} with group-wise scaling, trained via STE) defined in modeling.py , enabling the model to keep learning under quantization constraints. For technical details, see our Technical Report .

โš ๏ธ This model is NOT for direct inference. For inference, use the pseudo-quantized version: openbmb/BitCPM-CANN-1B .

Continued Pre-training & Fine-tuning

The only requirement is that the forward pass must go through the bundled modeling.py (which contains the ternary fake quantizer). Load with trust_remote_code=True and do NOT replace or bypass the model's forward logic.

Option 1: DeepSpeed (Recommended)

We provide ready-to-use training scripts in the example directory (using the 1B model as an example):

  • Continued pre-training : example/run.sh + example/train.py
  • SFT (Supervised Fine-tuning) : example/run_sft.sh + example/train_sft.py

Quick start:

# Continued pre-training
cd example && bash run.sh

# Supervised fine-tuning
cd example && bash run_sft.sh
Option 2: HuggingFace-compatible Frameworks

Any framework that supports HuggingFace model loading with custom code can be used, such as LLaMA Factory , HuggingFace Trainer , etc. The key is to ensure trust_remote_code=True :

from transformers import AutoModelForCausalLM, AutoTokenizer

path = 'openbmb/BitCPM-CANN-1B-unquantized'
tokenizer = AutoTokenizer.from_pretrained(path, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    path,
    torch_dtype=torch.bfloat16,
    trust_remote_code=True
)

# Use with your preferred framework (LLaMA Factory, HF Trainer, etc.)
# The ternary fake quantizer in modeling.py is applied automatically during forward pass.
Post-Training Conversion

After training, use qat-convert.py to fuse the fake quantizer and produce inference-ready pseudo-quantized weights:

python qat-convert.py \
    --input_bin <path-to-finetuned-pytorch.bin> \
    --output <path-to-output-pseudo-quantized-pytorch.bin> \
    --quant_type ternary \
    --group_size -1

The converted model can be loaded for inference in the same way as openbmb/BitCPM-CANN-1B โ€”no special quantization libraries required.

Workflow
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  BitCPM-CANN-1B-unquantized  โ”‚   โ† This model (QAT checkpoint + fake quantizer in modeling.py)
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                โ”‚
                โ–ผ  Train (DeepSpeed / LLaMA Factory / HF Trainer / ...)
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   Fine-tuned checkpoint          โ”‚   โ† Still contains un-fused QAT parameters
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                โ”‚
                โ–ผ  python qat-convert.py --quant_type ternary --group_size -1
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Pseudo-quantized model          โ”‚   โ† Ready for inference (same format as BitCPM-CANN-1B)
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
BitCPM-CANN Model Family
Statement
  • As a language model, BitCPM-CANN generates content by learning from a vast amount of text.
  • However, it does not possess the ability to comprehend or express personal opinions or value judgments.
  • Any content generated by BitCPM-CANN does not represent the viewpoints or positions of the model developers.
  • Therefore, when using content generated by BitCPM-CANN, users should take full responsibility for evaluating and verifying it on their own.
LICENSE
  • This repository and BitCPM-CANN models are released under the Apache-2.0 License.
Citation
  • Please cite our technical report if you find our work valuable.
@article{bitcpmcann,
  title={{BitCPM-CANN}: Native 1.58-Bit Large Language Model Training on Ascend NPU},
  author={BitCPM Team},
  year={2026}
}

Runs of openbmb BitCPM-CANN-1B-unquantized on huggingface.co

3.1K
Total runs
-541
24-hour runs
-2.1K
3-day runs
-6.8K
7-day runs
-5.8K
30-day runs

More Information About BitCPM-CANN-1B-unquantized huggingface.co Model

More BitCPM-CANN-1B-unquantized license Visit here:

https://choosealicense.com/licenses/apache-2.0

BitCPM-CANN-1B-unquantized huggingface.co

BitCPM-CANN-1B-unquantized huggingface.co is an AI model on huggingface.co that provides BitCPM-CANN-1B-unquantized's model effect (), which can be used instantly with this openbmb BitCPM-CANN-1B-unquantized model. huggingface.co supports a free trial of the BitCPM-CANN-1B-unquantized model, and also provides paid use of the BitCPM-CANN-1B-unquantized. Support call BitCPM-CANN-1B-unquantized model through api, including Node.js, Python, http.

BitCPM-CANN-1B-unquantized huggingface.co Url

https://huggingface.co/openbmb/BitCPM-CANN-1B-unquantized

openbmb BitCPM-CANN-1B-unquantized online free

BitCPM-CANN-1B-unquantized huggingface.co is an online trial and call api platform, which integrates BitCPM-CANN-1B-unquantized's modeling effects, including api services, and provides a free online trial of BitCPM-CANN-1B-unquantized, you can try BitCPM-CANN-1B-unquantized online for free by clicking the link below.

openbmb BitCPM-CANN-1B-unquantized online free url in huggingface.co:

https://huggingface.co/openbmb/BitCPM-CANN-1B-unquantized

BitCPM-CANN-1B-unquantized install

BitCPM-CANN-1B-unquantized is an open source model from GitHub that offers a free installation service, and any user can find BitCPM-CANN-1B-unquantized on GitHub to install. At the same time, huggingface.co provides the effect of BitCPM-CANN-1B-unquantized install, users can directly use BitCPM-CANN-1B-unquantized installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

BitCPM-CANN-1B-unquantized install url in huggingface.co:

https://huggingface.co/openbmb/BitCPM-CANN-1B-unquantized

Url of BitCPM-CANN-1B-unquantized

BitCPM-CANN-1B-unquantized huggingface.co Url

Provider of BitCPM-CANN-1B-unquantized huggingface.co

openbmb
ORGANIZATIONS

Other API from openbmb

huggingface.co

Total runs: 200.2K
Run Growth: 91.4K
Growth Rate: 45.63%
Updated:October 05 2025
huggingface.co

Total runs: 134.8K
Run Growth: -3.0K
Growth Rate: -2.19%
Updated:March 10 2026
huggingface.co

Total runs: 117.8K
Run Growth: 4.9K
Growth Rate: 4.17%
Updated:September 15 2025
huggingface.co

Total runs: 112.2K
Run Growth: 89.6K
Growth Rate: 79.87%
Updated:May 10 2026
huggingface.co

Total runs: 106.9K
Run Growth: -45.2K
Growth Rate: -42.32%
Updated:June 13 2025
huggingface.co

Total runs: 25.5K
Run Growth: 411
Growth Rate: 1.61%
Updated:October 24 2025
huggingface.co

Total runs: 20.0K
Run Growth: 1.8K
Growth Rate: 8.78%
Updated:October 24 2025
huggingface.co

Total runs: 19.9K
Run Growth: 406
Growth Rate: 2.04%
Updated:January 15 2025
huggingface.co

Total runs: 11.5K
Run Growth: 10.4K
Growth Rate: 90.57%
Updated:May 07 2026
huggingface.co

Total runs: 10.5K
Run Growth: -2.5K
Growth Rate: -23.65%
Updated:June 02 2023
huggingface.co

Total runs: 7.7K
Run Growth: -4.1K
Growth Rate: -52.99%
Updated:February 27 2025
huggingface.co

Total runs: 6.5K
Run Growth: 523
Growth Rate: 8.06%
Updated:January 14 2026
huggingface.co

Total runs: 5.4K
Run Growth: 5.4K
Growth Rate: 99.14%
Updated:June 10 2025
huggingface.co

Total runs: 5.2K
Run Growth: 3.7K
Growth Rate: 70.38%
Updated:October 20 2025
huggingface.co

Total runs: 4.8K
Run Growth: 2.7K
Growth Rate: 56.92%
Updated:November 04 2024
huggingface.co

Total runs: 3.4K
Run Growth: -5.5K
Growth Rate: -161.70%
Updated:September 09 2026
huggingface.co

Total runs: 1.4K
Run Growth: 79
Growth Rate: 5.80%
Updated:January 15 2025
huggingface.co

Total runs: 1.0K
Run Growth: 153
Growth Rate: 14.93%
Updated:September 19 2025
huggingface.co

Total runs: 891
Run Growth: 76
Growth Rate: 8.53%
Updated:June 27 2023
huggingface.co

Total runs: 847
Run Growth: 48
Growth Rate: 5.67%
Updated:August 24 2023
huggingface.co

Total runs: 758
Run Growth: 426
Growth Rate: 58.12%
Updated:May 14 2024
huggingface.co

Total runs: 634
Run Growth: -623
Growth Rate: -98.26%
Updated:August 12 2023
huggingface.co

Total runs: 436
Run Growth: 372
Growth Rate: 85.32%
Updated:February 12 2026
huggingface.co

Total runs: 416
Run Growth: -75
Growth Rate: -18.03%
Updated:October 14 2023
huggingface.co

Total runs: 385
Run Growth: 150
Growth Rate: 39.68%
Updated:June 14 2025
huggingface.co

Total runs: 202
Run Growth: 38
Growth Rate: 18.81%
Updated:February 21 2024
huggingface.co

Total runs: 169
Run Growth: 44
Growth Rate: 26.04%
Updated:June 11 2025