alt.freeweights.lfm / LFM2-350M-Math-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.lfmSubject:

LFM2-350M-Math-ONNX

Date: 2026-11-15Commit: 6610110Signed: 2DC28CC7B26A283B ✓

Text generation model. Onnx weights, 3.36 GB in all. Published by onnx-community under LFM-1.0 (custom).

lfm3.36GBLFM2-350M-Math-ONNXonnxcustom terms
FactsParamsnot statedSize3.36 GBFormatsonnxTasktext generationLicenseLFM-1.0 (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get onnx-community/LFM2-350M-Math-ONNX
# manifest sha256 144b73abb172… · 3.36 GB · 18 files
$ fw verify ./LFM2-350M-Math-ONNX onnx-community/LFM2-350M-Math-ONNX
From sourceHosted (signed)onnx-community/LFM2-350M-Math-ONNXLast check: 2026-11-15 00:22 UTC

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

Quantized of LFM2-350M-Math.

Works with

Runs with

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

Convert with

Overview

Size
3.36 GB
Weights
313 MB (smallest of 5 ONNX variants)
Parameters
not stated
Formats
onnx
Task
text generation
License
LFM-1.0 (custom) (custom)
Files
18, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.lfm
Lineage

Original release from the publisher.

Base model: LiquidAI/LFM2-350M-Math

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 00:22 UTCpassed

Model card

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

Image: Liquid AI

https://playground.liquid.ai/chat https://leap.liquid.ai/?utm_source=huggingface&utm_medium=modelcards

LFM2-350M-Math#

Based on LFM2-350M, LFM2-350M-Math is a tiny reasoning model designed for tackling tricky math problems.

You can find more information about other task-specific models in this blog post.

๐Ÿ“„ Model details#

Generation parameters: We strongly recommend using greedy decoding with a temperature=0.6, top_p=0.95, min_p=0.1, repetition_penalty=1.05.

System prompt: We recommend not using any system prompt.

Supported languages: English only.

Chat template: LFM2 uses a ChatML-like chat template as follows:

<|startoftext|><|im_start|>user
Find the sum of all integer bases $b>9$ for which $17_{b}$ is a divisor of $97_{b}$.<|im_end|>
<|im_start|>assistant
<|cot_start|>First, we need to convert $17_{b}$ and $97_{b}$ into base 10. [...]<|im_end|>

You can automatically apply it using the dedicated .apply_chat_template() function from Hugging Face transformers.

Warning. โš ๏ธ The model is intended for single-turn conversations.

๐Ÿ“ˆ Performance#

Reasoning enables models to better structure their thought process, explore multiple solution strategies, and self-verify their final responses. Augmenting tiny models with extensive test-time compute in this way allows them to even solve challenging competition-level math problems. Our benchmark evaluations demonstrate that LFM2-350M-Math is highly capable for its size.

Image: 68d41660ccb9b4bb78d0ad93_Response Accuracy - dark mode

As we are excited about edge deployment, our goal is to limit memory consumption and latency. Our post-training recipe leverages reinforcement learning to explicitly bring down response verbosity where it is not desirable. To this end, we combine explicit reasoning budgets with difficulty-aware advantage re-weighting. Please refer to our separate blog post for a detailed post-training recipe.

Image: 68d4166ef8b3f7322f15c8cb_Response Length - dark mode

๐Ÿƒ How to run#

๐Ÿ“ฌ Contact#

If you are interested in custom solutions with edge deployment, please contact our sales team.

Files

18 files ยท 3.36 GBWeights 313 MB (smallest of 5 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 18 files with their sha256
FileSizesha256
.gitattributes1.83 KBba44193cf00eb237e2824cbfa212775d626f48f7c4caa3e630deda0908552db2
README.md8.98 KBd7508715411dc5376986ae803030ec505c37e72045b5da1fafcb78929e2b1599
chat_template.jinja1.30 KB89e790f027916b5a2bca145a6a8454e06ffc7a5043bf3b6d97829aff86bb543f
config.json1.57 KB15c8ec9a6fff42a0518a2c37681ad0a500541291688c03eca38186fa662702b2
generation_config.json137 Bf7de2fded96ae1d174989025d46b2351e4ded99c799ac559d8186f0e2fb6295d
onnx/model.onnx144 KB36ddee311db2f36eefe800796759ac344007a457a296a50948397b3738a830b2
onnx/model.onnx_data1.45 GBf12e0d7d76abc307732d1bb5e161177cfe030dfa567e13f1c268e8d94d82e85f
onnx/model_fp16.onnx143 KBb9ead7dfebfd7563ec00b797153678183a1c53fcd247879f0db9de4255289c7b
onnx/model_fp16.onnx_data725 MB74ed6a2286b39d14599b0feabe1e6a81b8a39241420371803c1befcbae8f31cd
onnx/model_q4.onnx177 KB0b74fe8a87e6f0a0bdda38bf12aeee573673bde10e3f570d7723ce63a7289524
onnx/model_q4.onnx_data481 MBae65f05691e5fde7879c95a067ed8a88f36312843d64fd37e7fa997f89b5c4a7
onnx/model_q4f16.onnx176 KBaa1f8f54d314fc48592a2b0d704911a0c92f6894422b04a14ab02e3863ce91e7
onnx/model_q4f16.onnx_data312 MB6c160cfea9fb8e38808366b24d3e847d033af4ce75acb0b249eeb4ca6c05954d
onnx/model_quantized.onnx1.40 MB79d1482fd79d3a84d9bac644fcbfe256a79f470d9859c518cb5e622c97289f2c
onnx/model_quantized.onnx_data387 MBf829d2e9063cc4633cc095147b199d8d0457ddadf5292231524a8681e63c763d
special_tokens_map.json434 B742aefe2b7dec496e8caffdba03a75d0c1a9925d53bd3f3e0d388c96b591b6f4
tokenizer.json3.30 MB4ed7ad884a6ac7a4fea3c9deb860b087a8ac3462763e0788a54921f26f823056
tokenizer_config.json93.3 KB2aa6cd68543b73847099570ce4b142a57576a9fd55d54aedc61aab92f2089796
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
66101103fb pinned now2026-11-15 00:22 UTC18 files ยท 3.36 GB

Use it

# custom terms: read the license before you download
$ fw get onnx-community/LFM2-350M-Math-ONNX
# manifest sha256 144b73abb172… · 3.36 GB · 18 files
$ fw verify ./LFM2-350M-Math-ONNX onnx-community/LFM2-350M-Math-ONNX
Terms that come with these files. LFM 1.0: commercial use only for organisations under US$10M annual revenue. Keep a copy of the license with the files.
Custom license (custom). Read the license text first. Open this panel to show the commands once you accept its terms.
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/LFM2-350M-Math-ONNX.json --dir ./LFM2-350M-Math-ONNX $ python3 fw.py verify ./LFM2-350M-Math-ONNX ./onnx-community__LFM2-350M-Math-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/LFM2-350M-Math-ONNX --revision 66101103fbcb334ea1894585a158dd49ce9a5478 --local-dir ./LFM2-350M-Math-ONNX

License

Name
LFM Open License v1.0
Id
LicenseRef-LFM-1.0
Class
Custom terms
Redistribution
click-through
Listing
Hosted (signed)
Terms
LFM 1.0: commercial use only for organisations under US$10M annual revenue. Keep a copy of the license with the files.
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
d7508715411dc5376986ae803030ec505c37e72045b5da1fafcb78929e2b1599
Terms gate
Yes. The commands stay folded until you open them after reading 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: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.lfmSubject: LFM2-350M-Math-ONNXDate: 2026-11-15Commit: 6610110Signed: 2DC28CC7B26A283B ✓
Upstream
onnx-community/LFM2-350M-Math-ONNX
Pinned commit
66101103fbcb334ea1894585a158dd49ce9a5478
Manifest
LFM2-350M-Math-ONNX.json ยท .minisig
Manifest sha256
144b73abb1722af214b0b95f39dc9f48030398eccc5fcd66fc7ee0174fe9eb96
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 00:22 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/LFM2-350M-Math-ONNX.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/LFM2-350M-Math-ONNX.json.minisig $ minisign -Vm LFM2-350M-Math-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

LiquidAI/LFM2-350M-Math ยท this model is a quantization of it

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

Get it
Read license, then download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/LFM2-350M-Math-ONNX
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. LFM2-350M-Math-ONNX.json. Provenance. Takedown history: none.
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-Extract
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-RAG
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-1.2B-Tool
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-2.6B
From: LiquidAI <huggingface.co/LiquidAI>Subject: LFM2-2.6B-Exp