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

AFM-4.5B-ONNX

Date: 2026-11-15Commit: 3c9026fSigned: 2DC28CC7B26A283B ✓

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

text5.55GBAFM-4.5B-ONNXonnxpermissive
FactsParamsnot statedSize5.55 GBFormatsonnxTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get onnx-community/AFM-4.5B-ONNX
# manifest sha256 2a402e85b239… · 5.55 GB · 15 files
$ fw verify ./AFM-4.5B-ONNX onnx-community/AFM-4.5B-ONNX
From sourceHosted (signed)onnx-community/AFM-4.5B-ONNXLast check: 2026-11-15 05:29 UTC

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

Quantized of AFM-4.5B.

Overview

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

Original release from the publisher.

Base model: arcee-ai/AFM-4.5B

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:29 UTCpassed

Model card

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

Usage (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 generate text as follows:

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

// Create a text generation pipeline
const generator = await pipeline(
  "text-generation",
  "onnx-community/AFM-4.5B-ONNX",
  { dtype: "q4f16" },
);

// 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

15 files · 5.55 GBWeights 2.10 GB (smallest of 2 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.gitattributes1.82 KB2606cd3620fd17906e1f11f194ea89aa45f25045b3943e3f9a74a6335c12f83a
LICENSE9.84 KB2dda5bf4c3453ee943d1941abac64ad69ad3ac3f65e52c6b23b92a5af0f47fe0
README.md1.17 KB6cd1bda76c5cf8e2fd80ba80d36c2715c958dbf31d1c3ad609532d8ac682b38a
chat_template.jinja1.36 KBeb848e2fcce292dc03edc47fc134535d2b0581e9f29c7709a18f7336eeb3fc2f
config.json1.08 KBedb96a2e54b4da3d7e1009d00c6338bbe0d6c9ec1c276b06f337ef6c05f7d00d
generation_config.json142 B656ae06649a7bc8dd033e13bedfb6f3a34ee809cdc9e4725d518b07aabd3a85f
onnx/model_q4.onnx321 KB1af24d2bdd7e7927b9509c9cbd06aa86e02796f276d1addc08e4a113f04c3bcc
onnx/model_q4.onnx_data2.10 GB9faec389f05d81f631f3b4f24280979fa412947867d2c11ae97b7735e36c439c
onnx/model_q4.onnx_data_1824 MB397d518a0e358168492b4a0f2041a653ca50d63e81e091f96228ff424dccda98
onnx/model_q4f16.onnx323 KB8ebb79e862018ad77e174bb2bac0462f4d29a26c8844a00bc12d443eb45f40cd
onnx/model_q4f16.onnx_data2.09 GBe8c1118ca6877357989e11b1fbb4c7a8c59eea73a349caa3604e1a145ffb2ecf
onnx/model_q4f16.onnx_data_1521 MB6a76ca33a5695c49696110d09ff76a19f43fbe1971db9a54867e355d9fb9908c
special_tokens_map.json454 Ba27d5e476c626fafa424e654213ae7f68f917ff846fa992c0ceda2c84d7b15f6
tokenizer.json11.5 MB1363c79c75bf4202ce0f7ca44828b99a72140b97340578fa3b8927dddc46da2e
tokenizer_config.json2.68 KBbb8c8e825c23c56211a942c0613a25695d0c2fa7bb0be567a1e1a797c286b231
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
3c9026ff30 pinned now2026-11-15 05:29 UTC15 files · 5.55 GB

Use it

$ fw get onnx-community/AFM-4.5B-ONNX
# manifest sha256 2a402e85b239… · 5.55 GB · 15 files
$ fw verify ./AFM-4.5B-ONNX onnx-community/AFM-4.5B-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/AFM-4.5B-ONNX.json --dir ./AFM-4.5B-ONNX $ python3 fw.py verify ./AFM-4.5B-ONNX ./onnx-community__AFM-4.5B-ONNX.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/AFM-4.5B-ONNX --revision 3c9026ff30bf456bc5817fc06b19bc27484ca354 --local-dir ./AFM-4.5B-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
LICENSE
Text sha256
2dda5bf4c3453ee943d1941abac64ad69ad3ac3f65e52c6b23b92a5af0f47fe0
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: AFM-4.5B-ONNXDate: 2026-11-15Commit: 3c9026fSigned: 2DC28CC7B26A283B ✓
Upstream
onnx-community/AFM-4.5B-ONNX
Pinned commit
3c9026ff30bf456bc5817fc06b19bc27484ca354
Manifest
AFM-4.5B-ONNX.json · .minisig
Manifest sha256
2a402e85b23945623eafe4c6b7e93205d42b38a426e5eb3366135c337e642451
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:29 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

arcee-ai/AFM-4.5B · 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/AFM-4.5B-ONNX
Open in Freeweights Studio

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

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