alt.freeweights.text / Aquila-135M-Intermediate
From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.textSubject:

Aquila-135M-Intermediate

Date: 2026-11-15Commit: 26e76b3Signed: 2DC28CC7B26A283B ✓

Text generation model. Safetensors weights, 5.08 GB in all. Published by BAAI under Apache-2.0.

text5.08GBAquila-135M-Intermediatesafetensorspermissive
FactsParamsnot statedSize5.08 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get BAAI/Aquila-135M-Intermediate
# manifest sha256 fb48330b238a… · 5.08 GB · 75 files
$ fw verify ./Aquila-135M-Intermediate BAAI/Aquila-135M-Intermediate
From sourceHosted (signed)BAAI/Aquila-135M-IntermediateLast check: 2026-11-15 04:31 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
5.08 GB
Weights
5.06 GB (safetensors)
Parameters
not stated
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
75, each with a sha256
Publisher
BAAI
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:31 UTCpassed

Model card

From the publisher at commit 26e76b3. Shown as plain text with links; images open at the publisher.

Introduction#

The Aquila-135M model is a small bilingual(Chinese and English) language model, which is trained using a two-phrase paradigm: pre-training and annealing. This model used 1.66TB bilingual tokens in Chinese and English during pre-training phrase and 100B tokens during annealing training phrase. In annealing stage, we selected 100B tokens of high-quality bilingual data and finally got our model.

The Aquila-135M-Instuct model is finetuned using Infinity Instruct.

The entire training process was conducted using FlagGems based on Triton and parallel training framework named FlagScale.

Also, we have open-sourced all intermediate checkpoints.

News#

  • 2024/12/24: We have released Aquila-135M and Aquila-135M-Instruct.
  • 2024/12/24: We have released all datasets and intermediate checkpoints during training. Please feel free to use these models for analysis and experimentation.

Datasets#

We have open-sourced all bilingual datasets during both pre-training and annealing phrases. Datasets composition and mix proportions are shown in the figure below. Image: datasets composition

Evaluation#

We followed the same evaluation setting of SmolLM models and evaluated models using the lighteval tool.

The parameter count excludes the embedding part and Aquila-135M and SmolLM2-135M share an identical model structure. Aquila-135M achieves comparable performance on English benchmarks, while Aquila-135M demonstrates significantly better results on Chinese benchmarks.

Among small models with a total parameter count below and around 400M, Aquila-135M maintains a leading position in processing capabilities while significantly enhancing Chinese language proficiency.

Metrics (0-shot)Aquila-135M (Trition)Aquila-135M (CUDA)SmolLM-135MSmolLM2-135Mgpt2-medium-360MTinyMistral-248MTinyMistral-248M-2.5OpenELM-270MWide-Sheared-LLaMA-290Mopt-350mMobileLLM-350Mpythia-410mSmolLM-360MSmolLM2-360M
HellaSwag41.1941.1241.1542.1037.0827.0626.8045.7424.9436.0826.2839.2251.7354.66
ARC (Average)44.7644.1542.3443.9334.3429.7127.6335.7426.2031.9127.7235.1449.9553.24
PIQA66.3867.5268.2868.4466.3857.4053.9269.7550.6064.3650.2767.1971.5571.98
MMLU (cloze)31.0730.6730.2631.5827.7525.8225.5927.8924.7526.5824.8628.8834.3236.09
CommonsenseQA32.1031.7032.0232.9231.7024.5721.4635.7116.5432.1017.5331.4536.6138.74
TriviaQA6.657.024.244.032.360.500.081.340.001.380.002.069.1916.92
Winograde51.0751.7051.2250.9949.4949.2549.0152.4149.7251.5449.4149.9653.1252.49
OpenBookQA34.4034.4033.8034.6031.4029.4027.4030.6026.0027.8024.8028.4037.2037.00
GSM8K (5-shot)2.122.121.001.520.000.000.000.000.000.000.000.000.002.81
SIQA41.8142.3241.1541.4541.3041.8639.7142.7339.7642.3737.1042.0243.4541.61
CEval29.2229.8228.2826.4125.4025.3826.8926.6926.3726.6725.6827.9727.6628.51
CMMLU29.4829.6326.0126.6627.2026.6725.5726.2526.3326.9325.6126.9127.0627.39
Average-English35.1635.2734.5535.1632.1828.5627.1634.1925.8531.4125.8032.4338.7140.55
Average-Chinese29.3529.7327.1526.5426.3026.0326.2326.4726.3526.8025.6527.4427.3627.95
Average32.2532.5030.8530.8529.2427.2926.7030.3326.1029.1125.7229.9433.0434.25

For comparison models, evaluations were conducted in a local environment, so the scores may differ slightly from those reported in papers.

How to use#

Instruct Model#

from transformers import AutoModelForCausalLM, AutoTokenizer
checkpoint = "BAAI/Aquila-135M-Instruct"

device = "cuda" # for GPU usage or "cpu" for CPU usage
tokenizer = AutoTokenizer.from_pretrained(checkpoint, trust_remote_code=True)
# for multiple GPUs install accelerate and do `model = AutoModelForCausalLM.from_pretrained(checkpoint, device_map="auto")`
model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)

messages = [{"role": "user", "content": "什么是引力?"}]
input_text=tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
print(input_text)
inputs = tokenizer.encode(input_text, return_tensors="pt").to(device)
outputs = model.generate(inputs, max_new_tokens=500)
print(tokenizer.decode(outputs[0]))
## 引力是宇宙中的一个基本力,由多个物体相互作用而产生的。它由能量和质量组成,与引力定律密切相关。

messages = [{"role": "user", "content": "What is gravity?"}]
input_text=tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
print(input_text)
inputs = tokenizer.encode(input_text, return_tensors="pt").to(device)
outputs = model.generate(inputs, max_new_tokens=500)
print(tokenizer.decode(outputs[0]))
## Gravity is the force that keeps us on Earth as we orbit it. It pulls objects towards each other with a strength that depends on how far apart they are from each other, and how strong the gravitational pull is. The stronger the object's mass, the greater its gravitational pull.

Future Plan#

  • We plan to further optimize the composition and proportions of the dataset.
  • We plan to further explore the application of small-scale models in specific scenarios.

Citation#

If you find this useful, please cite the following work

@misc{aquila-135m,
      title={Aquila-135M: A Bilingual Small Language Model in Chinese and English}, 
      author={BAAI},
      year={},
      eprint={},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={}, 
}

Acknowledgements#

This work is supported by the National Science and Technology Major Project (No. 2022ZD0116300). 本项目受新一代人工智能国家科技重大专项(No. 2022ZD0116300)支持。

Files

75 files · 5.08 GBWeights 5.06 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 75 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md9.36 KBdd67aee349e056a9b6990a8c19d6a37d700cd4ddd23afc056fc14bc1937a2015
annealing/iter_0060000_hf/config.json643 B0778dabd90ae44e283c3664d1c9c4fc5eefc0ae4313c4254ce2778c99600ae87
annealing/iter_0060000_hf/generation_config.json121 Be4e1d635d0ca1c77a92c940e6c5a0fd8cf2d0054c3d1126042ec45807952822d
annealing/iter_0060000_hf/model.safetensors562 MBea50f85473000535c9d7faa85799ce52f22f9f229f2d33b00e078640beae89ee
annealing/iter_0060000_hf/qwen.tiktoken2.56 MBb2b1b8dfb5cc5f024bafc373121c6aba3f66f9a5a0269e243470a1de16a33186
annealing/iter_0060000_hf/qwen_generation_utils.py14.6 KBf223e0f1bb987fdb93b7cf80e046d96e9e910650103ef2f136eb04887324de34
annealing/iter_0060000_hf/special_tokens_map.json131 B79524fc72e5b290f052f183cabc9a48d1812eda332ad6916bbd21c614d1ed64a
annealing/iter_0060000_hf/tokenization_qwen.py9.62 KBc9bbb7710bacfaa323d48b8414643d8d7893d174f85f65e83fbc363de271b69a
annealing/iter_0060000_hf/tokenizer_config.json528 B040facbe4a798a00f46f8594546a64ad5d4eac1d731755b050b64f02f1b3218d
annealing/iter_0070000_hf/config.json643 B0778dabd90ae44e283c3664d1c9c4fc5eefc0ae4313c4254ce2778c99600ae87
annealing/iter_0070000_hf/generation_config.json121 Be4e1d635d0ca1c77a92c940e6c5a0fd8cf2d0054c3d1126042ec45807952822d
annealing/iter_0070000_hf/model.safetensors562 MB2bcb3c3a80c6c3f4fdb486cc353a684f120d3eba67ac4571fb5a511f3f11b1f4
annealing/iter_0070000_hf/qwen.tiktoken2.56 MBb2b1b8dfb5cc5f024bafc373121c6aba3f66f9a5a0269e243470a1de16a33186
annealing/iter_0070000_hf/qwen_generation_utils.py14.6 KBf223e0f1bb987fdb93b7cf80e046d96e9e910650103ef2f136eb04887324de34
annealing/iter_0070000_hf/special_tokens_map.json131 B79524fc72e5b290f052f183cabc9a48d1812eda332ad6916bbd21c614d1ed64a
annealing/iter_0070000_hf/tokenization_qwen.py9.62 KBc9bbb7710bacfaa323d48b8414643d8d7893d174f85f65e83fbc363de271b69a
annealing/iter_0070000_hf/tokenizer_config.json528 B040facbe4a798a00f46f8594546a64ad5d4eac1d731755b050b64f02f1b3218d
annealing/iter_0084772_hf/config.json643 B0778dabd90ae44e283c3664d1c9c4fc5eefc0ae4313c4254ce2778c99600ae87
annealing/iter_0084772_hf/generation_config.json121 Be4e1d635d0ca1c77a92c940e6c5a0fd8cf2d0054c3d1126042ec45807952822d
annealing/iter_0084772_hf/model.safetensors562 MBfe81ee1a16d461cf32d9a2ee119c901a21d139fd1f120f506e11d5fb196ba7df
annealing/iter_0084772_hf/qwen.tiktoken2.56 MBb2b1b8dfb5cc5f024bafc373121c6aba3f66f9a5a0269e243470a1de16a33186
annealing/iter_0084772_hf/qwen_generation_utils.py14.6 KBf223e0f1bb987fdb93b7cf80e046d96e9e910650103ef2f136eb04887324de34
annealing/iter_0084772_hf/special_tokens_map.json131 B79524fc72e5b290f052f183cabc9a48d1812eda332ad6916bbd21c614d1ed64a
annealing/iter_0084772_hf/tokenization_qwen.py9.62 KBc9bbb7710bacfaa323d48b8414643d8d7893d174f85f65e83fbc363de271b69a
annealing/iter_0084772_hf/tokenizer_config.json528 B040facbe4a798a00f46f8594546a64ad5d4eac1d731755b050b64f02f1b3218d
datasets.jpeg445 KBebd016775373bb9598c2ff029dc3521c18e2197a3cc47ce74efa8a2044109870
pretrain/iter_0250000_hf/config.json633 B162ee25888f793426d99db6b0daf5ebd7a1e47c7b3c68ae6832c96b20494eef5
pretrain/iter_0250000_hf/generation_config.json111 B63b76107a660687d9591beb7db277a7fb50862f00e805b19c021a266bbaef051
pretrain/iter_0250000_hf/model.safetensors562 MBa35477e8bfae50e14512c3a29a6c054f35774c367cc209669ffb10b0b9379e3f
pretrain/iter_0250000_hf/qwen.tiktoken2.56 MBb2b1b8dfb5cc5f024bafc373121c6aba3f66f9a5a0269e243470a1de16a33186
pretrain/iter_0250000_hf/qwen_generation_utils.py14.6 KBf223e0f1bb987fdb93b7cf80e046d96e9e910650103ef2f136eb04887324de34
pretrain/iter_0250000_hf/special_tokens_map.json131 B79524fc72e5b290f052f183cabc9a48d1812eda332ad6916bbd21c614d1ed64a
pretrain/iter_0250000_hf/tokenization_qwen.py9.62 KBc9bbb7710bacfaa323d48b8414643d8d7893d174f85f65e83fbc363de271b69a
pretrain/iter_0250000_hf/tokenizer_config.json173 Baeec2f5a6010d2529d442f3411b9091fcf26f1e22be09ab7c2c90fb2e225a834
pretrain/iter_0500000_hf/config.json633 B162ee25888f793426d99db6b0daf5ebd7a1e47c7b3c68ae6832c96b20494eef5
pretrain/iter_0500000_hf/generation_config.json111 B63b76107a660687d9591beb7db277a7fb50862f00e805b19c021a266bbaef051
pretrain/iter_0500000_hf/model.safetensors562 MB532f03fb33f7f1d2cb5a140024ece0bd056d128b6321cd415eca6cd479701863
pretrain/iter_0500000_hf/qwen.tiktoken2.56 MBb2b1b8dfb5cc5f024bafc373121c6aba3f66f9a5a0269e243470a1de16a33186
pretrain/iter_0500000_hf/qwen_generation_utils.py14.6 KBf223e0f1bb987fdb93b7cf80e046d96e9e910650103ef2f136eb04887324de34
pretrain/iter_0500000_hf/special_tokens_map.json131 B79524fc72e5b290f052f183cabc9a48d1812eda332ad6916bbd21c614d1ed64a
pretrain/iter_0500000_hf/tokenization_qwen.py9.62 KBc9bbb7710bacfaa323d48b8414643d8d7893d174f85f65e83fbc363de271b69a
pretrain/iter_0500000_hf/tokenizer_config.json173 Baeec2f5a6010d2529d442f3411b9091fcf26f1e22be09ab7c2c90fb2e225a834
pretrain/iter_0750000_hf/config.json633 B162ee25888f793426d99db6b0daf5ebd7a1e47c7b3c68ae6832c96b20494eef5
pretrain/iter_0750000_hf/generation_config.json111 B63b76107a660687d9591beb7db277a7fb50862f00e805b19c021a266bbaef051
pretrain/iter_0750000_hf/model.safetensors562 MB802374618e347e60822c51b837e6e0124f40e4b40d7d4949f4ba0574a2cf9a0b
pretrain/iter_0750000_hf/qwen.tiktoken2.56 MBb2b1b8dfb5cc5f024bafc373121c6aba3f66f9a5a0269e243470a1de16a33186
pretrain/iter_0750000_hf/qwen_generation_utils.py14.6 KBf223e0f1bb987fdb93b7cf80e046d96e9e910650103ef2f136eb04887324de34
pretrain/iter_0750000_hf/special_tokens_map.json131 B79524fc72e5b290f052f183cabc9a48d1812eda332ad6916bbd21c614d1ed64a
pretrain/iter_0750000_hf/tokenization_qwen.py9.62 KBc9bbb7710bacfaa323d48b8414643d8d7893d174f85f65e83fbc363de271b69a
pretrain/iter_0750000_hf/tokenizer_config.json173 Baeec2f5a6010d2529d442f3411b9091fcf26f1e22be09ab7c2c90fb2e225a834
pretrain/iter_1000000_hf/config.json633 B162ee25888f793426d99db6b0daf5ebd7a1e47c7b3c68ae6832c96b20494eef5
pretrain/iter_1000000_hf/generation_config.json111 B63b76107a660687d9591beb7db277a7fb50862f00e805b19c021a266bbaef051
pretrain/iter_1000000_hf/model.safetensors562 MBf166b008455fcb1339e1a750595ab5c7fb9bb78860d8c14bc135c46a75213c3f
pretrain/iter_1000000_hf/qwen.tiktoken2.56 MBb2b1b8dfb5cc5f024bafc373121c6aba3f66f9a5a0269e243470a1de16a33186
pretrain/iter_1000000_hf/qwen_generation_utils.py14.6 KBf223e0f1bb987fdb93b7cf80e046d96e9e910650103ef2f136eb04887324de34
pretrain/iter_1000000_hf/special_tokens_map.json131 B79524fc72e5b290f052f183cabc9a48d1812eda332ad6916bbd21c614d1ed64a
pretrain/iter_1000000_hf/tokenization_qwen.py9.62 KBc9bbb7710bacfaa323d48b8414643d8d7893d174f85f65e83fbc363de271b69a
pretrain/iter_1000000_hf/tokenizer_config.json173 Baeec2f5a6010d2529d442f3411b9091fcf26f1e22be09ab7c2c90fb2e225a834
pretrain/iter_1300000_hf/config.json633 B162ee25888f793426d99db6b0daf5ebd7a1e47c7b3c68ae6832c96b20494eef5
pretrain/iter_1300000_hf/generation_config.json111 B63b76107a660687d9591beb7db277a7fb50862f00e805b19c021a266bbaef051
pretrain/iter_1300000_hf/model.safetensors562 MB068fff145c9a9d51d3eb5ebc4ad2dab50625948c372a2cce2148476c9a56983a
pretrain/iter_1300000_hf/qwen.tiktoken2.56 MBb2b1b8dfb5cc5f024bafc373121c6aba3f66f9a5a0269e243470a1de16a33186
pretrain/iter_1300000_hf/qwen_generation_utils.py14.6 KBf223e0f1bb987fdb93b7cf80e046d96e9e910650103ef2f136eb04887324de34
pretrain/iter_1300000_hf/special_tokens_map.json131 B79524fc72e5b290f052f183cabc9a48d1812eda332ad6916bbd21c614d1ed64a
pretrain/iter_1300000_hf/tokenization_qwen.py9.62 KBc9bbb7710bacfaa323d48b8414643d8d7893d174f85f65e83fbc363de271b69a
pretrain/iter_1300000_hf/tokenizer_config.json173 Baeec2f5a6010d2529d442f3411b9091fcf26f1e22be09ab7c2c90fb2e225a834
pretrain/iter_1410844_hf/config.json633 B162ee25888f793426d99db6b0daf5ebd7a1e47c7b3c68ae6832c96b20494eef5
pretrain/iter_1410844_hf/generation_config.json111 B63b76107a660687d9591beb7db277a7fb50862f00e805b19c021a266bbaef051
pretrain/iter_1410844_hf/model.safetensors562 MBfc5121505704b54791f92308421742a34b5ff42a4105f6684cbd51cc10e3f531
pretrain/iter_1410844_hf/qwen.tiktoken2.56 MBb2b1b8dfb5cc5f024bafc373121c6aba3f66f9a5a0269e243470a1de16a33186
pretrain/iter_1410844_hf/qwen_generation_utils.py14.6 KBf223e0f1bb987fdb93b7cf80e046d96e9e910650103ef2f136eb04887324de34
pretrain/iter_1410844_hf/special_tokens_map.json131 B79524fc72e5b290f052f183cabc9a48d1812eda332ad6916bbd21c614d1ed64a
pretrain/iter_1410844_hf/tokenization_qwen.py9.62 KBc9bbb7710bacfaa323d48b8414643d8d7893d174f85f65e83fbc363de271b69a
pretrain/iter_1410844_hf/tokenizer_config.json173 Baeec2f5a6010d2529d442f3411b9091fcf26f1e22be09ab7c2c90fb2e225a834
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
26e76b3148 pinned now2026-11-15 04:31 UTC75 files · 5.08 GB

Use it

$ fw get BAAI/Aquila-135M-Intermediate
# manifest sha256 fb48330b238a… · 5.08 GB · 75 files
$ fw verify ./Aquila-135M-Intermediate BAAI/Aquila-135M-Intermediate
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/BAAI/Aquila-135M-Intermediate.json --dir ./Aquila-135M-Intermediate $ python3 fw.py verify ./Aquila-135M-Intermediate ./BAAI__Aquila-135M-Intermediate.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/Aquila-135M-Intermediate --revision 26e76b31488bb8f6c798ace1eec07cb1cd48ed8c --local-dir ./Aquila-135M-Intermediate

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
dd67aee349e056a9b6990a8c19d6a37d700cd4ddd23afc056fc14bc1937a2015
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.textSubject: Aquila-135M-IntermediateDate: 2026-11-15Commit: 26e76b3Signed: 2DC28CC7B26A283B ✓
Upstream
BAAI/Aquila-135M-Intermediate
Pinned commit
26e76b31488bb8f6c798ace1eec07cb1cd48ed8c
Manifest
Aquila-135M-Intermediate.json · .minisig
Manifest sha256
fb48330b238a779c4ba54b9243fb2bbae856ca6a94c3da78464c58ab69c7be96
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:31 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/BAAI/Aquila-135M-Intermediate.json $ curl -O https://freeweights.allternit.com/manifests/BAAI/Aquila-135M-Intermediate.json.minisig $ minisign -Vm Aquila-135M-Intermediate.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/Aquila-135M-Intermediate
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Aquila-135M-Intermediate.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B