SmolLM3-3B-Base โ ONNX
ONNX export of HuggingFaceTB/SmolLM3-3B-Base, published by Liodon AI.
Exported with optimum (optimum.exporters.onnx.main_export,
task text-generation-with-past, so the graph exposes past-key-value inputs/outputs for KV-cached
autoregressive decoding).
Files
| File | Size | Notes |
|---|---|---|
model.onnx |
13.35 GB | FP32, full precision |
model_fp16.onnx |
6.98 GB | FP16, for GPU execution providers |
Quick Start
import onnxruntime as ort
from transformers import AutoTokenizer
tok = AutoTokenizer.from_pretrained("liodon-ai/SmolLM3-3B-Base-ONNX")
sess = ort.InferenceSession("model_quantized.onnx", providers=["CPUExecutionProvider"])
# past_key_values.*.key / .value inputs must be supplied (zero-length tensors
# for the first forward pass) -- see optimum's ORTModelForCausalLM for a
# ready-made wrapper that handles KV-cache bookkeeping automatically:
# from optimum.onnxruntime import ORTModelForCausalLM
# model = ORTModelForCausalLM.from_pretrained("liodon-ai/SmolLM3-3B-Base-ONNX", file_name="model_quantized.onnx")
Source
- Model: HuggingFaceTB/SmolLM3-3B-Base
- License: other
Citation
@misc{liodonai_smollm3_3b_base_onnx,
title = {SmolLM3-3B-Base โ ONNX},
author = {{Liodon AI}},
year = {2026},
howpublished = {\url{https://huggingface.co/liodon-ai/SmolLM3-3B-Base-ONNX}},
note = {ONNX export of HuggingFaceTB/SmolLM3-3B-Base}
}
Exported by Liodon AI
- Downloads last month
- 384
Model tree for liodon-ai/SmolLM3-3B-Base-ONNX
Base model
HuggingFaceTB/SmolLM3-3B-Base