alt.freeweights.qwen / Qwen2.5-Coder-0.5B-Instruct
From: onnx-community <huggingface.co/onnx-community>Newsgroups: alt.freeweights.qwenSubject:

Qwen2.5-Coder-0.5B-Instruct

Date: 2026-11-15Commit: 604bb19Signed: 2DC28CC7B26A283B ✓

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

qwen7.98GBQwen2.5-Coder-0.5B-Instructonnxpermissive
FactsParamsnot statedSize7.98 GBFormatsonnxTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get onnx-community/Qwen2.5-Coder-0.5B-Instruct
# manifest sha256 632b2d411fd4… · 7.98 GB · 19 files
$ fw verify ./Qwen2.5-Coder-0.5B-Instruct onnx-community/Qwen2.5-Coder-0.5B-Instruct
From sourceHosted (signed)onnx-community/Qwen2.5-Coder-0.5B-InstructLast check: 2026-11-15 05:00 UTC

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

Quantized of Qwen2.5-Coder-0.5B-Instruct.

Works with

Runs with

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

Convert with

Overview

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

Original release from the publisher.

Base model: Qwen/Qwen2.5-Coder-0.5B-Instruct

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

Model card

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

https://huggingface.co/Qwen/Qwen2.5-Coder-0.5B-Instruct with ONNX weights to be compatible with Transformers.js.

Usage (Transformers.js)#

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

npm i @huggingface/transformers

Example: Text generation with onnx-community/Qwen2.5-Coder-0.5B-Instruct.

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

// Create a text generation pipeline
const generator = await pipeline(
  "text-generation",
  "onnx-community/Qwen2.5-Coder-0.5B-Instruct",
  { dtype: "q4" },
);

// Define the list of messages
const messages = [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content:  "Write a quick sort algorithm." },
];

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

Example output

Here's a simple implementation of the quick sort algorithm in Python:

def quick_sort(arr): if len(arr) <= 1: return arr

pivot = arr[len(arr) // 2] left = [x for x in arr if x < pivot] middle = [x for x in arr if x == pivot] right = [x for x in arr if x > pivot]

return quick_sort(left) + middle + quick_sort(right)

Example usage:#

arr = [3, 6, 8, 10, 1, 2] sorted_arr = quick_sort(arr) print(sorted_arr)


### Explanation:

- **Base Case**: If the array has less than or equal to one element (i.e., `len(arr)` is less than or equal to `1`), it is already sorted and can be returned as is.

- **Pivot Selection**: The pivot is chosen as the middle element of the array.

- **Partitioning**: The array is partitioned into three parts: elements less than the pivot (`left`), elements equal to the pivot (`middle`), and elements greater than the pivot (`right`). These partitions are then recursively sorted.

- **Recursive Sorting**: The subarrays are sorted recursively using `quick_sort`.

This approach ensures that each recursive call reduces the problem size by half until it reaches a base case.

Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using 🤗 Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Files

19 files · 7.98 GBWeights 555 MB (smallest of 8 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 19 files with their sha256
FileSizesha256
.gitattributes1.63 KB82b47f6d29291bc13ddd20afc1d9d78bae055c6314cb6a32146bf481910081fe
README.md2.71 KB2d845a059c74894bbbf7f66d704eb1f98404c5aeb1bec32cd79d82b415f5dcdc
added_tokens.json605 B58b54bbe36fc752f79a24a271ef66a0a0830054b4dfad94bde757d851968060b
config.json916 B0cc602159ab086bffa8500296b95f067dfc6b690863f7393b3ac5c82137c059b
generation_config.json243 B519a8db66fcfd0d18731eb75169ff8393a6f9c479fd50142fb5ee2580bb9ae64
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
onnx/model.onnx567 MB5f26e0b66798e54bc4d44e2acb00ca669892d219e7e4aa30787a391afc53948f
onnx/model.onnx_data1.96 GBa564c1f444bf7d6f22ffb9852da746afe70ae8f408b9c563d9ab1365829660b0
onnx/model_bnb4.onnx832 MBa5c3f5d0de676ffcbc8024369e47d226feeb963e02357970998ce2ec2dace3b1
onnx/model_fp16.onnx1.26 GB50f0cc840d499c738f4561afd32842736bc505ec3897154241ecbae5e60285a8
onnx/model_int8.onnx639 MBcb62cac8484892079798a70b791d9f1b178735e0456e904011cce52ecd3c8787
onnx/model_q4.onnx862 MB2df7ea9739c3c26bd9d2cad0815768a5a0a985d4b5548b7de80c5e85e9a97b47
onnx/model_q4f16.onnx555 MB60c076ac0d3910881fe0cad75997e803459a5f71bb74bcbcd82407ef83db7ba0
onnx/model_quantized.onnx639 MBcb62cac8484892079798a70b791d9f1b178735e0456e904011cce52ecd3c8787
onnx/model_uint8.onnx639 MBbdac6b3e40a85e911279d3843786feeba2e5e699de9d7515f201cd73e0ec7f79
special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
tokenizer.json11.4 MB9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
tokenizer_config.json7.85 KB6a14243f0ae04884e597b3f032c05e15de9f417318fdcac24ab4e2680e691430
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
604bb1988f pinned now2026-11-15 05:00 UTC19 files · 7.98 GB

Use it

$ fw get onnx-community/Qwen2.5-Coder-0.5B-Instruct
# manifest sha256 632b2d411fd4… · 7.98 GB · 19 files
$ fw verify ./Qwen2.5-Coder-0.5B-Instruct onnx-community/Qwen2.5-Coder-0.5B-Instruct
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/onnx-community/Qwen2.5-Coder-0.5B-Instruct.json --dir ./Qwen2.5-Coder-0.5B-Instruct $ python3 fw.py verify ./Qwen2.5-Coder-0.5B-Instruct ./onnx-community__Qwen2.5-Coder-0.5B-Instruct.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download onnx-community/Qwen2.5-Coder-0.5B-Instruct --revision 604bb1988ff789d5024d589c63cf9ae81c0c8ab5 --local-dir ./Qwen2.5-Coder-0.5B-Instruct

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
Inherited from the base model Qwen/Qwen2.5-Coder-0.5B-Instruct: the strictest license along the lineage applies. 2026-11-15
Text in
README.md
Text sha256
2d845a059c74894bbbf7f66d704eb1f98404c5aeb1bec32cd79d82b415f5dcdc
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.qwenSubject: Qwen2.5-Coder-0.5B-InstructDate: 2026-11-15Commit: 604bb19Signed: 2DC28CC7B26A283B ✓
Upstream
onnx-community/Qwen2.5-Coder-0.5B-Instruct
Pinned commit
604bb1988ff789d5024d589c63cf9ae81c0c8ab5
Manifest
Qwen2.5-Coder-0.5B-Instruct.json · .minisig
Manifest sha256
632b2d411fd4c4fecca2c0491245224517baa0c9088c31bb07a5ec3e0d8fafdc
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:00 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/onnx-community/Qwen2.5-Coder-0.5B-Instruct.json $ curl -O https://freeweights.allternit.com/manifests/onnx-community/Qwen2.5-Coder-0.5B-Instruct.json.minisig $ minisign -Vm Qwen2.5-Coder-0.5B-Instruct.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

Qwen/Qwen2.5-Coder-0.5B-Instruct · 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/Qwen2.5-Coder-0.5B-Instruct
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen2.5-Coder-0.5B-Instruct.json. Provenance. Takedown history: none.
From: BAAI <huggingface.co/BAAI>Subject: Aquila-VL-2B-llava-qwen
From: Perciqa <huggingface.co/Perciqa>Subject: Aurora-Code-1
From: BAAI <huggingface.co/BAAI>Subject: bge-reasoner-embed-qwen3-8b-0923
From: amazon <huggingface.co/amazon>Subject: BMOJOF-primed-HQwen3-8B-Instruct
From: nbeerbower <huggingface.co/nbeerbower>Subject: Bubba-Qwen3.6-27B-LoRA
From: bartowski <huggingface.co/bartowski>Subject: bytkim_Qwen3.8-27B-pi-GGUF