From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.textSubject:

d1-3B-ONNX

Date: 2026-11-15Commit: 03619d8Signed: 2DC28CC7B26A283B ✓

Image text to text model. Onnx weights, 8.79 GB in all. Published by onnx-community under LFM-1.0 (custom).

text8.79GBd1-3B-ONNXonnxcustom terms
FactsParamsnot statedSize8.79 GBFormatsonnxTaskimage text to textLicenseLFM-1.0 (custom)From sourcecustom termsread terms
# custom terms: read the license before you download
$ fw get onnx-community/d1-3B-ONNX
# manifest sha256 dcad425b8ef7… · 8.79 GB · 41 files
$ fw verify ./d1-3B-ONNX onnx-community/d1-3B-ONNX
From sourceHosted (signed)onnx-community/d1-3B-ONNXLast check: 2026-11-15 00:25 UTC

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

Quantized of d1-3B.

Works with

Runs with

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

Convert with

Overview

Size
8.79 GB
Weights
168 MB (smallest of 8 ONNX variants)
Parameters
not stated
Formats
onnx
Task
image text to text
License
LFM-1.0 (custom) (custom)
Files
41, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: LiquidAI/d1-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-15 00:25 UTCpassed

Model card

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

d1-3B (ONNX)#

LiquidAI/d1-3B converted to ONNX for Transformers.js and the browser (WebGPU). d1 is a decision model on LFM2.5-VL-3B: give it a state (text and/or images) and typed questions (choice, noul yes/no, score), and it answers in one forward pass with zero generated tokens. The answer is a softmax over each option's token at the answer slot.

This is a straight conversion: the same weights in LiquidAI/LFM2.5-VL-3B-ONNX's graphs (same architecture), with one change: the decoder returns logits for the last position only, which is all d1 reads (and all generation needs), so a 300-token prompt doesn't materialise 300 × 128k logits.

Files#

Graphq8 (default)q4fp32
decoder_model_merged3.15 GB1.76 GB– (rebuild with conversion/build.py)
vision_encoder0.50 GB0.28 GB1.71 GB
embed_tokens0.17 GB (4-bit Gather)0.17 GB1.05 GB

Block-32 MatMulNBits (8-bit or 4-bit), fp32 activations. External data is split into ≤ 1 GB chunks.

Parity with d1's own runtime#

Option probabilities vs the model repo's system_one (PyTorch, fp32), on 8 text decisions (choice, noul, score) and 3 image decisions:

VariantText max \Δ\Image max \Δ\Flipped answers
fp320.00000.00000
q80.0180.0020
q40.0280.0631 (a 0.48 vs 0.45 near-tie)

Transformers.js' own LFM2-VL image processor tiles slightly differently from the Python one (256 vs 234 image tokens on a 640×480 picture), which moves image answers by up to 0.04 at q8; same picks.

Use it#

With open-jev (text states), which implements d1's prompt and readout:

import { OpenJev, choice } from "open-jev";

const jev = await OpenJev.load({ model: "d1-3b", device: "webgpu" }); // onnx-community/d1-3B-ONNX, q8
const { route } = await jev.decide("Message: What's the Wi-Fi password?\nMemory 1 (strong match, note): Home Wi-Fi: HomeNet-5G, password sunflower42", {
  route: choice("Can a memory answer this message?", ["memory", "large model"], {
    memory: "One memory directly answers the message.",
    "large model": "No memory answers it.",
  }),
});
// { type: "choice", choice: "memory", confidence: 0.94, ... }

With Transformers.js directly (text or images): build the prompt as d1's prompt.py does, run one forward pass, and softmax the option tokens:

import { AutoProcessor, AutoModelForImageTextToText, RawImage } from "@huggingface/transformers";

const id = "onnx-community/d1-3B-ONNX";
const processor = await AutoProcessor.from_pretrained(id);
const model = await AutoModelForImageTextToText.from_pretrained(id, { dtype: "q8", device: "webgpu" });

const prompt = "<|startoftext|><|im_start|>user\n<image>Is this a parking sign?\n\nReply with yes or no only.<|im_end|>\n<|im_start|>assistant\n";
const inputs = await processor(await RawImage.read("sign.png"), prompt, { add_special_tokens: false });
const { logits } = await model(inputs); // [1, 1, vocab]: the answer slot
// softmax over the token ids of "yes"/"Yes"/"YES" vs "no"/"No"/"NO" (best form of each)

Conversion#

conversion/ has everything: build.py maps d1's safetensors onto the LFM2.5-VL-3B-ONNX graphs by name (transposing MatMul weights, the SigLIP2 position table to a 16×16 grid), computes the RoPE caches, slices the decoder to the last position and unties the LM head so it can be quantized; quantize.py, rechunk.py; and the parity scripts (reference.py, onnx_check.py, vision_*.py).

License and attribution#

d1-3B is © Liquid AI, Inc. and licensed under the LFM Open License v1.0 (see LICENSE), including its commercial-use threshold. This repository is a Derivative Work: the original weights were converted to ONNX, re-laid out into the LFM2.5-VL-3B ONNX graphs, the decoder was changed to return last-position logits with an untied LM head, and the weights were quantized. No weights were retrained.

Files

41 files · 8.79 GBWeights 168 MB (smallest of 8 ONNX variants). Sizes and sha256 from the signed manifest.
Show all 41 files with their sha256
FileSizesha256
.gitattributes2.46 KB1d52edeb90f4c536f42267712842067025ec31bfc832acca357176ffd9094089
LICENSE10.6 KB4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c
README.md4.50 KBf1748a90bcc96361f602cc9b352b9b3e8ae7c26d2d3e553f77372d4601b4b3c5
chat_template.jinja5.44 KB86f4770449a4797c9b4212d110b0cc70fb993c1ce960095bcfb12eea22f61cca
config.json3.27 KBa1d726e2896677da89b46b3438dbc7339a8dcb771b257cf0da31002a273fce19
conversion/build.py5.37 KB5d5e88ea2111a24102047a54124eefcaa42bc0c19278d3ecb4428003095fd8f3
conversion/cases.py1.88 KB8bce8c8fcad461a3d5e35b6c997817c32841aa582918f49e63f11ba3627f1646
conversion/make_repo.py1.90 KBca08d0127d6f847c733346fdbc337863e2fac47da7dcac3219a687c970546c42
conversion/mapping.py3.29 KBe30775595edf6ab4d4dc35e6843859b8471642d2a7e0bbfb0087e5b8fcc3ad3b
conversion/onnx_check.py1.98 KB8100f9a2c3febb5decd0f16feb2bb8cf5f6d459ea7b29ea33f166c53df5aa4fd
conversion/quantize.py1.29 KBc8b93cbbaeb2188877e700d5a2331a5759e78ff77f119d6eb19d1c399c8d59a2
conversion/rechunk.py1.18 KBcbfc74fb6955bb2f48a6daa352ccc2839a4368eee74413c2c2b158417e9e9e99
conversion/reference.py787 Bbb7948abff3f4e762357311203277544968bf0cbbe9420eec768a3fafb23740b
conversion/vision_cases.py609 B7d418cae4cd771975d56ff57c5913da49aca99b49fccdfadd954b30c6b7e8205
conversion/vision_onnx_check.py2.20 KB74f4b18796c14830bd51008baed1bbeb90a94e39a1fa6f2cdb21c7bb1d518943
conversion/vision_reference.py1.00 KBa030f3b73da8e9857be93903936d5c0297a4786d22d679963c8dc6b3aad59bf8
generation_config.json234 Be78ebc863fdfa96c34085cc75ad00e5b0e3119c1771f49b8fa093910253bfb4a
onnx/decoder_model_merged_q4.onnx345 KBd935547f5bec6b801b512df84df69829a328d31ea4cc20b2370a1d0f8033b087
onnx/decoder_model_merged_q4.onnx_data1.07 GB5c44e4c9814e27328eee73aafb4749519f286491a318474202fb4bc3a0b5be52
onnx/decoder_model_merged_q4.onnx_data_1690 MBc5c1ba293850d14df6876745b697dd727d246108861cd1a7f8fa87c4f27d249f
onnx/decoder_model_merged_quantized.onnx349 KB3ee9955a83298046e44a82e2a79d75542d58ba455c89e35d7aaf0db84f2a2f03
onnx/decoder_model_merged_quantized.onnx_data1.07 GB2ecab43ec0884f94881816069f644c8f3222af10183c744e17b82efa880a8349
onnx/decoder_model_merged_quantized.onnx_data_11.07 GB932c3350c5e7ff55fedbf8ec68692f6b2c45b8be9c85da88e850fd67c299023b
onnx/decoder_model_merged_quantized.onnx_data_21.01 GBcefcbe9592902114e5792eb5bf019ab826a415e4b8ba390bcf77102253063e64
onnx/embed_tokens.onnx317 B81d58c9018e6e89c7e6ad0c23dd8ccc3508face7d3e3e9c6a30b5abf2e014872
onnx/embed_tokens.onnx_data1.05 GB6756d304e5c712de2b0288851e2c7ed66cbed937333bf4820ba24dcf343bb8db
onnx/embed_tokens_q4.onnx727 Ba624403753813de95adc6b6e58356722ff641a75530bed89e919be6f0952e2f4
onnx/embed_tokens_q4.onnx_data168 MB731c4d782dd7858122701228266a9e6217a68ece9131e4a5d110b4913891911c
onnx/embed_tokens_quantized.onnx749 Bd76ee81f6b9a9af3b4f74adca83e7e29d384fb030ae697d6febd81afa8f48241
onnx/embed_tokens_quantized.onnx_data168 MB731c4d782dd7858122701228266a9e6217a68ece9131e4a5d110b4913891911c
onnx/vision_encoder.onnx244 KB80e2bed5039acea74db4ec2f72e94c79349005dc7988e766dca1d4be92d1185d
onnx/vision_encoder.onnx_data1.06 GB8043318ecc8a6fc6f88fe2407a673d7f59574df99acd2faac3338a1665213efc
onnx/vision_encoder.onnx_data_1643 MBef9db5ff69d36e8725091165c4c1aac7dee5f6b2ed4528f7cd9ed3c01068df51
onnx/vision_encoder_q4.onnx322 KB2801fa4c998cda7cd3ef948599538c7001d17344384f1d9455a7f6c34cf603a2
onnx/vision_encoder_q4.onnx_data276 MB309371ad14294c731f18dd04043e0ea47c7a3a8e0ccee8680a37a2e8992a6699
onnx/vision_encoder_quantized.onnx328 KB5289cdf021928d36665d281fac091d113696390e9955d529ddbfc6f38f40fc68
onnx/vision_encoder_quantized.onnx_data495 MBd16d02129887cba07df1db83c299c23b61ce9aafd5585bd11e5279c52c774bb9
preprocessor_config.json728 Bab2195993036c7c8b2cac03adb2b0b228e8518f33a5bdd6c848673b89c65fcf7
processor_config.json824 Bb9b82ad34a69e2f70a9033741e11f82b8a98bb5f8e6c13b3b2d5efdd3935d916
tokenizer.json17.9 MB8096ecb9f54599d756c8de728a598a340bc1e43c0deb77ddd62456c38349fcee
tokenizer_config.json6.24 KBec6042fa2297a7876bbef462ca30cab716c885c1f6080e737be482436d0d8814
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
03619d8ef1 pinned now2026-11-15 00:25 UTC41 files · 8.79 GB

Use it

# custom terms: read the license before you download
$ fw get onnx-community/d1-3B-ONNX
# manifest sha256 dcad425b8ef7… · 8.79 GB · 41 files
$ fw verify ./d1-3B-ONNX onnx-community/d1-3B-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/d1-3B-ONNX.json --dir ./d1-3B-ONNX $ python3 fw.py verify ./d1-3B-ONNX ./onnx-community__d1-3B-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/d1-3B-ONNX --revision 03619d8ef1abc297947473bcedc99838a59bab39 --local-dir ./d1-3B-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
LICENSE
Text sha256
4d28ca14dedc0b3d0fcc2b3339f0e79931faa33874f3d24f522183a8fc70068c
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.textSubject: d1-3B-ONNXDate: 2026-11-15Commit: 03619d8Signed: 2DC28CC7B26A283B ✓
Upstream
onnx-community/d1-3B-ONNX
Pinned commit
03619d8ef1abc297947473bcedc99838a59bab39
Manifest
d1-3B-ONNX.json · .minisig
Manifest sha256
dcad425b8ef798d00f15ec40ae362857ef9a2308301463c069720bf8408d1cac
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 00:25 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

LiquidAI/d1-3B · 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/d1-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. d1-3B-ONNX.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