alt.freeweights.smollm / SmolLM3-3B-ONNX
From: HuggingFaceTB <huggingface.co/HuggingFaceTB>Newsgroups: alt.freeweights.smollmSubject:

SmolLM3-3B-ONNX

Date: 2026-11-14Commit: 583cadeSigned: 2DC28CC7B26A283B ✓

Text generation model. Onnx weights, 35.5 GB in all. Published by HuggingFaceTB under Apache-2.0.

smollm35.5GBSmolLM3-3B-ONNXonnxpermissive
FactsParamsnot statedSize35.5 GBFormatsonnxTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get HuggingFaceTB/SmolLM3-3B-ONNX
# manifest sha256 87e6250c34dd… · 35.5 GB · 24 files
$ fw verify ./SmolLM3-3B-ONNX HuggingFaceTB/SmolLM3-3B-ONNX
From sourceHosted (signed)HuggingFaceTB/SmolLM3-3B-ONNXLast check: 2026-11-14 21:11 UTC

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

Quantized of SmolLM3-3B.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Overview

Size
35.5 GB
Weights
2.12 GB (smallest of 8 ONNX variants)
Parameters
not stated
Formats
onnx
Task
text generation
License
Apache-2.0 (permissive)
Files
24, each with a sha256
Publisher
HuggingFaceTB
Added
2026-11-14
Section
alt.freeweights.smollm
Lineage

Original release from the publisher.

Base model: HuggingFaceTB/SmolLM3-3B

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-14 21:11 UTCpassed

Model card

From the publisher at commit 583cade. Shown as plain text with links; images open at the publisher.

SmolLM3#

Image: image/png

Table of Contents#

  1. Model Summary
  2. How to use
  3. Evaluation
  4. Training
  5. Limitations
  6. License

Model Summary#

SmolLM3 is a 3B parameter language model designed to push the boundaries of small models. It supports 6 languages, advanced reasoning and long context. SmolLM3 is a fully open model that offers strong performance at the 3B–4B scale.

Image: image/png

The model is a decoder-only transformer using GQA and NoPE (with 3:1 ratio), it was pretrained on 11.2T tokens with a staged curriculum of web, code, math and reasoning data. Post-training included midtraining on 140B reasoning tokens followed by supervised fine-tuning and alignment via Anchored Preference Optimization (APO).

Key features#
  • Instruct model optimized for hybrid reasoning
  • Fully open model: open weights + full training details including public data mixture and training configs
  • Long context: Trained on 64k context and suppots up to 128k tokens using YARN extrapolation
  • Multilingual: 6 natively supported (English, French, Spanish, German, Italian, and Portuguese)

For more details refer to our blog post: https://hf.co/blog/smollm3

How to use#

Transformers.js#
import { pipeline, TextStreamer } from "@huggingface/transformers";

// Create a text generation pipeline
const generator = await pipeline(
  "text-generation",
  "HuggingFaceTB/SmolLM3-3B-ONNX",
  { dtype: "q4f16", device: "webgpu" },
);

// Define the model inputs
const thinking = true; // Whether the model should think before answering
const messages = [
  {
    role: "system",
    content: "You are SmolLM, a language model created by Hugging Face."
      + (thinking ? "/think" : "/no_think")
  },
  { role: "user", content: "Solve the equation x^2 - 3x + 2 = 0" },
];

// Generate a response
const output = await generator(messages, {
  max_new_tokens: 1024,
  streamer: new TextStreamer(generator.tokenizer, { skip_prompt: true, skip_special_tokens: true }),
});
console.log(output[0].generated_text.at(-1).content);
ONNXRuntime#
from transformers import AutoConfig, AutoTokenizer
import onnxruntime
import numpy as np
from huggingface_hub import hf_hub_download

# 1. Load config, processor, and model
model_id = "HuggingFaceTB/SmolLM3-3B-ONNX"
config = AutoConfig.from_pretrained(model_id)
tokenizer = AutoTokenizer.from_pretrained(model_id)
model_path = hf_hub_download(repo_id=model_id, filename="onnx/model_q4.onnx") # Download the graph
hf_hub_download(repo_id=model_id, filename="onnx/model_q4.onnx_data") # Download the model weights
decoder_session = onnxruntime.InferenceSession(model_path)

## Set config values
num_key_value_heads = config.num_key_value_heads
head_dim = config.hidden_size // config.num_attention_heads
num_hidden_layers = config.num_hidden_layers
eos_token_id = config.eos_token_id

# 2. Prepare inputs
messages = [
  { "role": "system", "content": "/no_think" },
  { "role": "user", "content": "What is the capital of France?" },
]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="np")
input_ids = inputs['input_ids']
attention_mask = inputs['attention_mask']
batch_size = input_ids.shape[0]
past_key_values = {
    f'past_key_values.{layer}.{kv}': np.zeros([batch_size, num_key_value_heads, 0, head_dim], dtype=np.float32)
    for layer in range(num_hidden_layers)
    for kv in ('key', 'value')
}
position_ids = np.tile(np.arange(0, input_ids.shape[-1]), (batch_size, 1))

# 3. Generation loop
max_new_tokens = 1024
generated_tokens = np.array([[]], dtype=np.int64)
for i in range(max_new_tokens):
  logits, *present_key_values = decoder_session.run(None, dict(
      input_ids=input_ids,
      attention_mask=attention_mask,
      position_ids=position_ids,
      **past_key_values,
  ))

  ## Update values for next generation loop
  input_ids = logits[:, -1].argmax(-1, keepdims=True)
  attention_mask = np.concatenate([attention_mask, np.ones_like(input_ids, dtype=np.int64)], axis=-1)
  position_ids = position_ids[:, -1:] + 1
  for j, key in enumerate(past_key_values):
    past_key_values[key] = present_key_values[j]

  generated_tokens = np.concatenate([generated_tokens, input_ids], axis=-1)
  if (input_ids == eos_token_id).all():
    break

  ## (Optional) Streaming
  print(tokenizer.decode(input_ids[0]), end='', flush=True)
print()

# 4. Output result
print(tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)[0])

Evaluation#

In this section, we report the evaluation results of SmolLM3 model. All evaluations are zero-shot unless stated otherwise, and we use lighteval to run them.

We highlight the best score in bold and underline the second-best score.

Instruction Model#
No Extended Thinking#

Evaluation results of non reasoning models and reasoning models in no thinking mode. We highlight the best and second-best scores in bold.

CategoryMetricSmoLLM3-3BQwen2.5-3BLlama3.1-3BQwen3-1.7BQwen3-4B
High school math competitionAIME 20259.32.90.38.017.1
Math problem-solvingGSM-Plus72.874.159.268.382.1
Competitive programmingLiveCodeBench v415.210.53.415.024.9
Graduate-level reasoningGPQA Diamond35.732.229.431.844.4
Instruction followingIFEval76.765.671.674.068.9
AlignmentMixEval Hard26.927.624.924.331.6
Tool CallingBFCL92.3-92.3 *89.595.0
Multilingual Q&AGlobal MMLU53.550.5446.849.565.1

(*): this is a tool calling finetune

Extended Thinking#

Evaluation results in reasoning mode for SmolLM3 and Qwen3 models:

CategoryMetricSmoLLM3-3BQwen3-1.7BQwen3-4B
High school math competitionAIME 202536.730.758.8
Math problem-solvingGSM-Plus83.479.488.2
Competitive programmingLiveCodeBench v430.034.452.9
Graduate-level reasoningGPQA Diamond41.739.955.3
Instruction followingIFEval71.274.285.4
AlignmentMixEval Hard30.833.938.0
Tool CallingBFCL88.888.895.5
Multilingual Q&AGlobal MMLU64.162.373.3
Base Pre-Trained Model#
English benchmarks#

Note: All evaluations are zero-shot unless stated otherwise. For Ruler 64k evaluation, we apply YaRN to the Qwen models with 32k context to extrapolate the context length.

CategoryMetricSmolLM3-3BQwen2.5-3BLlama3-3.2BQwen3-1.7B-BaseQwen3-4B-Base
Reasoning & CommonsenseHellaSwag76.1574.1975.5260.5274.37
ARC-CF (Average)65.6159.8158.5855.8862.11
Winogrande58.8861.4158.7257.0659.59
CommonsenseQA55.2849.1460.6048.9852.99
Knowledge & UnderstandingMMLU-CF (Average)44.1342.9341.3239.1147.65
MMLU Pro CF19.6116.6616.4218.0424.92
MMLU Pro MCF32.7031.3225.0730.3941.07
PIQA78.8978.3578.5175.3577.58
OpenBookQA40.6040.2042.0036.4042.40
BoolQ78.9973.6175.3374.4674.28
Math & Code
Coding & mathHumanEval+30.4834.1425.0043.2954.87
MBPP+52.9152.1138.8859.2563.75
MATH (4-shot)46.1040.107.4441.6451.20
GSM8k (5-shot)67.6370.1325.9265.8874.14
Long context
Ruler 32k76.3575.9377.5870.6383.98
Ruler 64k67.8564.9072.9357.1860.29
Ruler 128k61.0362.2371.3043.0347.23
Multilingual benchmarks#
CategoryMetricSmolLM3 3B BaseQwen2.5-3BLlama3.2 3BQwen3 1.7B BaseQwen3 4B Base
Main supported languages
FrenchMLMM Hellaswag63.9457.4757.6651.2661.00
Belebele51.0051.5549.2249.4455.00
Global MMLU (CF)38.3734.2233.7134.9441.80
Flores-200 (5-shot)62.8561.3862.89<u/u>58.6865.76
SpanishMLMM Hellaswag65.8558.2559.3952.4061.85
Belebele47.0048.8847.0047.5650.33
Global MMLU (CF)38.5135.8435.6034.7941.22
Flores-200 (5-shot)48.2550.0044.4546.9350.16
GermanMLMM Hellaswag59.5649.9953.1946.1056.43
Belebele48.4447.8846.2248.0053.44
Global MMLU (CF)35.1033.1932.6032.7338.70
Flores-200 (5-shot)56.6050.6354.9552.5850.48
ItalianMLMM Hellaswag62.4953.2154.9648.7258.76
Belebele46.4444.7743.8844.0048.7844.88
Global MMLU (CF)36.9933.9132.7935.3739.26
Flores-200 (5-shot)52.6554.8748.8348.3749.11
PortugueseMLMM Hellaswag63.2257.3856.8450.7359.89
Belebele47.6749.2245.0044.0050.0049.00
Global MMLU (CF)36.8834.7233.0535.2640.66
Flores-200 (5-shot)60.9357.6854.2856.5863.43

The model has also been trained on Arabic (standard), Chinese and Russian data, but has seen fewer tokens in these languages compared to the 6 above. We report the performance on these langages for information.

CategoryMetricSmolLM3 3B BaseQwen2.5-3BLlama3.2 3BQwen3 1.7B BaseQwen3 4B Base
Other supported languages
ArabicBelebele40.2244.2245.3342.3351.78
Global MMLU (CF)28.5728.8127.6729.3731.85
Flores-200 (5-shot)40.2239.4444.4335.8239.76
ChineseBelebele43.7844.5649.5648.7853.22
Global MMLU (CF)36.1633.7939.5738.5644.55
Flores-200 (5-shot)29.1733.2131.8925.7032.50
RussianBelebele47.4445.8947.4445.2251.44
Global MMLU (CF)36.5132.4734.5234.8338.80
Flores-200 (5-shot)47.1348.7450.7454.7060.53

Training#

Model#
  • Architecture: Transformer decoder
  • Pretraining tokens: 11T
  • Precision: bfloat16
Software & hardware#
Open resources#

Here is an infographic with all the training details

  • The datasets used for pretraining can be found in this collection and those used in mid-training and post-training will be uploaded later
  • The training and evaluation configs and code can be found in the huggingface/smollm repository.

Image: image/png

Limitations#

SmolLM3 can produce text on a variety of topics, but the generated content may not always be factually accurate, logically consistent, or free from biases present in the training data. These models should be used as assistive tools rather than definitive sources of information. Users should always verify important information and critically evaluate any generated content.

License#

Apache 2.0

Files

24 files · 35.5 GBWeights 2.12 GB (smallest of 8 ONNX variants). Sizes and sha256 from the signed manifest.
Show all 24 files with their sha256
FileSizesha256
.gitattributes2.07 KB900caf2a7325988129457db08856f310ad6c1f87d1db59c89f9bf7c34946b834
README.md13.3 KB1dc73e723e91d80e72a6c6f40038df57ec38eeede26bfe697adda2e5f265f95b
chat_template.jinja5.58 KB6f8839eb2d251bfcd822dd9381cab97607e488ba4d18fbbb40560bf506e2a9ec
config.json2.06 KB785178cae2140c0fe64dd7cf1f8ddb12c79f180661643ed6f08900960f261745
generation_config.json182 B3458d62b3f9654f4bbe285223b0f4e5a1e67cae61c92bb6aeaadf04468bf9e01
onnx/model.onnx226 KB3a9e2ba047f604bf76249f4b19ace5093b2d056b2500cfa80bf7344914de54d4
onnx/model.onnx_data12.3 GB40c2485abc460dc8f1ebad39b073b0ab053a4b1bc6e22e1bd68d9e5e4775f51a
onnx/model_bnb4.onnx298 KBc6f710856883a205f61b69990668f0e60672d2e317c4457d1fbe483fb48a952f
onnx/model_bnb4.onnx_data2.67 GBf1eccd1f837be4c7755cd5774bdb7f1b0494e22834b98d837118e111c1f6483d
onnx/model_fp16.onnx227 KBe1ee87f938f18cf2aede785c627edb4b8b50178cdf42fcd1bd6d41d81f0b6327
onnx/model_fp16.onnx_data6.17 GB8cce72f51f65171dec94efa81daae632334e66107eec2c85c37ce3045c8a594f
onnx/model_int8.onnx518 KB793c6a6c56c13d17fdbacbac128d83cb355ea7cc701966d9b0c3d34db459f307
onnx/model_int8.onnx_data3.11 GB814f4bb4212337c5d328e2040df3bd088e2519093b5762638fd7b23367237993
onnx/model_q4.onnx300 KBbbb931d4f86cd3159af7de66a591b2263acccf80eb938c05dd89fff22baf051d
onnx/model_q4.onnx_data2.84 GB0f0210cbef6a3eea54d19adff2d25e1626bce4ae5f22c34b9bd3067b1417a488
onnx/model_q4f16.onnx302 KB611ecc276b84aa6e01e073fbb4d9fc9aec59cd4584f3d6cf19d19d7f46d1df4c
onnx/model_q4f16.onnx_data2.12 GBde9041ea9b8a3f5ee102142dc9fb4684a111616bac4d9d9bac5f945e01a816e2
onnx/model_quantized.onnx520 KB5f414ad3f7093ab356f9ea12de1514de1c1d07771797e4cb0b1d12e35d221384
onnx/model_quantized.onnx_data3.11 GB8dc21ddf4d9e711448396405bffe2a35f05c3b5adbd8c66d582abe112e762186
onnx/model_uint8.onnx518 KB6f1b0f06dc01ba564c65ba8fe5912e9124ef52eff6274bc25218242e0160bbce
onnx/model_uint8.onnx_data3.11 GB8dc21ddf4d9e711448396405bffe2a35f05c3b5adbd8c66d582abe112e762186
special_tokens_map.json289 B12403efb970f069ba62ddf3b66166a27254be4a198166b61ad1ee604bd3a4515
tokenizer.json11.6 MB900d675a509dc23ad4df99adc7e70f83bab6e981578e2263362744e1cfac4ca2
tokenizer_config.json56.9 KB0f0673f9fa75dec75a5a4355187a9b5da6a07416cfd9f2b3b39e2a7f0d8d59d6
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
583cadea14 pinned now manifest updated, same commit2026-11-14 21:11 UTC24 files · 35.5 GB
583cadea142026-11-14 21:11 UTC24 files · 35.5 GB

Use it

$ fw get HuggingFaceTB/SmolLM3-3B-ONNX
# manifest sha256 87e6250c34dd… · 35.5 GB · 24 files
$ fw verify ./SmolLM3-3B-ONNX HuggingFaceTB/SmolLM3-3B-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/HuggingFaceTB/SmolLM3-3B-ONNX.json --dir ./SmolLM3-3B-ONNX $ python3 fw.py verify ./SmolLM3-3B-ONNX ./HuggingFaceTB__SmolLM3-3B-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download HuggingFaceTB/SmolLM3-3B-ONNX --revision 583cadea149c60c0a737786f61ace5775e165d99 --local-dir ./SmolLM3-3B-ONNX

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-14
Text in
README.md
Text sha256
1dc73e723e91d80e72a6c6f40038df57ec38eeede26bfe697adda2e5f265f95b
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: HuggingFaceTB <huggingface.co/HuggingFaceTB>Newsgroups: alt.freeweights.smollmSubject: SmolLM3-3B-ONNXDate: 2026-11-14Commit: 583cadeSigned: 2DC28CC7B26A283B ✓
Upstream
HuggingFaceTB/SmolLM3-3B-ONNX
Pinned commit
583cadea149c60c0a737786f61ace5775e165d99
Manifest
SmolLM3-3B-ONNX.json · .minisig
Manifest sha256
87e6250c34dd83dfe08a8cba87cb2428de38cfc7a00546cde6f1030a513b204c
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:11 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/HuggingFaceTB/SmolLM3-3B-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/HuggingFaceTB/SmolLM3-3B-ONNX.json.minisig $ minisign -Vm SmolLM3-3B-ONNX.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

Parent

HuggingFaceTB/SmolLM3-3B · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download HuggingFaceTB/SmolLM3-3B-ONNX
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. SmolLM3-3B-ONNX.json. Provenance. Takedown history: none.
From: HuggingFaceTB <huggingface.co/HuggingFaceTB>Subject: 135M-lc-100k-rope-12B
From: nisten <huggingface.co/nisten>Subject: Biggie-SmoLlm-0.4B
From: onnx-community <huggingface.co/onnx-community>Subject: Biggie-SmoLlm-0.4B-ONNX
From: unsloth <huggingface.co/unsloth>Subject: SmolLM-1.7B-bnb-4bit
From: unsloth <huggingface.co/unsloth>Subject: SmolLM-1.7B-Instruct
From: unsloth <huggingface.co/unsloth>Subject: SmolLM-135M-bnb-4bit