alt.freeweights.text / Bonsai-1.7B-ONNX
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.textSubject:

Bonsai-1.7B-ONNX

Date: 2026-11-15Commit: 89d9efdSigned: 2DC28CC7B26A283B ✓

Text generation model. Onnx weights, 12.8 GB in all. Published by onnx-community under Apache-2.0.

text12.8GBBonsai-1.7B-ONNXonnxpermissive
FactsParamsnot statedSize12.8 GBFormatsonnxTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get onnx-community/Bonsai-1.7B-ONNX
# manifest sha256 ec3fcbbc7cbe… · 12.8 GB · 22 files
$ fw verify ./Bonsai-1.7B-ONNX onnx-community/Bonsai-1.7B-ONNX
From sourceHosted (signed)onnx-community/Bonsai-1.7B-ONNXLast check: 2026-11-15 05:01 UTC

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

Quantized of Bonsai-1.7B-unpacked.

Works with

Runs with

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

Convert with

Overview

Size
12.8 GB
Weights
291 MB (smallest of 6 ONNX variants)
Parameters
not stated
Formats
onnx
Task
text generation
License
Apache-2.0 (permissive)
Files
22, each with a sha256
Publisher
onnx-community
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: prism-ml/Bonsai-1.7B-unpacked

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 05:01 UTCpassed

Model card

From the publisher at commit 89d9efd. Shown as plain text with links; images open at the publisher.
Transformers.js#

If you haven't already, you can install the Transformers.js JavaScript library from NPM using:

npm i @huggingface/transformers

You can then use the model like this:

import { pipeline, TextStreamer } from "@huggingface/transformers";

// Create a text generation pipeline
const generator = await pipeline(
  "text-generation",
  "onnx-community/Bonsai-1.7B-ONNX",
  { device: "webgpu", dtype: "q1" },
);

// Define the list of messages
const messages = [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "What is the capital of France?" },
];

// Generate a response
const output = await generator(messages, {
  max_new_tokens: 512,
  do_sample: false,
  streamer: new TextStreamer(generator.tokenizer, { skip_prompt: true, skip_special_tokens: true }),
});
console.log(output[0].generated_text.at(-1).content);

Files

22 files · 12.8 GBWeights 291 MB (smallest of 6 ONNX variants). Sizes and sha256 from the signed manifest.
Show all 22 files with their sha256
FileSizesha256
.gitattributes2.06 KB29ad34d9f88f077092edce5ba443a99ea5d423a97fd68c078dd8566907f2bfc7
README.md1.13 KBcb198d7f9e921e77da09de587f5c5ff80e51f1b9c9c0983e57dcbb586e392ba0
chat_template.jinja4.06 KB30a75d10e60b57e2f260420163dd59720dacf9f63b9a8de070d65dd80a7b30f7
config.json1.98 KB350e2a749fdd4ad38923b6a74e8d93facac09412812f548d212f42313aff86a1
generation_config.json290 B43cf14e5ad6d0091ca997355a685b90bfcac78e7a3d438c9f58aeb5e97251e88
onnx/model.onnx281 KBe911ef1c8a8434707eda9f745f85495d645e3dc8896180b32eaabb78dd7f37ad
onnx/model.onnx_data2.09 GB571fb46c32422a4a99362d97be72483063d8f1b13deabe651e5231f2c459a5b8
onnx/model.onnx_data_12.09 GBd87fec2063589fde43589a4bd0dc10fda92912f7127c647ab323572d38373fb2
onnx/model.onnx_data_22.06 GBca7c79854060c9a1bf3248afdd21b6b47824529fc0d7fba8e0d0a3f02ae6db85
onnx/model.onnx_data_3654 MBec1d7182994c193831f68fe72a32a3e8d44bfb6153fca6869b79df586f772baf
onnx/model_q1.onnx504 KB4218d8b0977f7d6aee1721b9e53154c2cac093bb781aa23f2fe0024d6f06693e
onnx/model_q1.onnx_data291 MBa0eab4c2b960f72f6061615c3094076e8bcb834871ddf7bdad14cd1d37839be0
onnx/model_q2.onnx371 KBb639caeb7a35907215a792c71269806d880d38daed34fb8a526573fbefcc4ace
onnx/model_q2.onnx_data506 MB4120f302b1a6cec6bd4bf35840eb8f3f670c875982cb52a8c0dfdc7f57679061
onnx/model_q4.onnx370 KB7bc690903a3985c4429bdb2e5248a91a8c46b84b5c3552032a3f08882c5a9d14
onnx/model_q4.onnx_data1.12 GB35046ab257c704b26e28ad2cce12fa8e367e394e82ea85bebe101c07b223ea3e
onnx/model_q8.onnx371 KB34fc03aa8d2d22197e88041fcb26439572de7dd114e826035ad3e0ec3f3c8763
onnx/model_q8.onnx_data2.01 GBd8d5651b5bd7b2ef72b8860753a8ef2eed53d8d1bbdae6e4c2940b9beda22df2
onnx/model_quantized.onnx375 KB4b29937d66607b877e739c7a962a75b253ee7b6b9f659223a628e54574f22fc0
onnx/model_quantized.onnx_data2.01 GBc24bb8ee50fe91fe3534254dc1c67127db6e58b7fda999195b80449224249351
tokenizer.json9.12 MB40ae5d1ee027b985684a3bbeef4ee16b2b5697d1d90658bec5bc5d2a73018bd7
tokenizer_config.json5.26 KB7343eff85c6176483a9aee630687f10389cfded03c7ff88b39d8ccf74ad227ad
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
89d9efdafd pinned now2026-11-15 05:01 UTC22 files · 12.8 GB

Use it

$ fw get onnx-community/Bonsai-1.7B-ONNX
# manifest sha256 ec3fcbbc7cbe… · 12.8 GB · 22 files
$ fw verify ./Bonsai-1.7B-ONNX onnx-community/Bonsai-1.7B-ONNX
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/Bonsai-1.7B-ONNX.json --dir ./Bonsai-1.7B-ONNX $ python3 fw.py verify ./Bonsai-1.7B-ONNX ./onnx-community__Bonsai-1.7B-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/Bonsai-1.7B-ONNX --revision 89d9efdafdad2249a8c8f1568ecf2f1707866d31 --local-dir ./Bonsai-1.7B-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-15
Text in
README.md
Text sha256
cb198d7f9e921e77da09de587f5c5ff80e51f1b9c9c0983e57dcbb586e392ba0
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: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.textSubject: Bonsai-1.7B-ONNXDate: 2026-11-15Commit: 89d9efdSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/Bonsai-1.7B-ONNX
Pinned commit
89d9efdafdad2249a8c8f1568ecf2f1707866d31
Manifest
Bonsai-1.7B-ONNX.json · .minisig
Manifest sha256
ec3fcbbc7cbe3374bd2fda6dba1242f8030cc33f64b42a4bd9fff77ea419769e
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:01 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

prism-ml/Bonsai-1.7B-unpacked · 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 onnx-community/Bonsai-1.7B-ONNX
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Bonsai-1.7B-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