Downloads · 30 days
182
4% of all-time downloads
continuum-ai/qwen3.5-4b-code-forged
qwen3.5-4b-code-forged is a text generation model from continuum-ai. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
Qwen3.5-4B forged for code through Experiential Plasticity.
Downloads · 30 days
182
4% of all-time downloads
All-time downloads
5K
Public
Parameters
4.2B
25.3 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors8.4 GB · 100%
From the Hugging Face model README
Qwen3.5-4B forged for code through Experiential Plasticity.
3.04 → 2.35 perplexity · 3 cycles
<p align="center"> <a href="https://cambriantech.github.io/forge-alloy/verify/#hf.co/continuum-ai/qwen3.5-4b-code-forged/resolve/main/qwen3.5-4b-code-forged.alloy.json@435ff486e11ed54d"> <img src="alloy-qr.png" alt="Verify Chain of Custody" width="160"/> </a> </p> <p align="center"> <a href="https://cambriantech.github.io/forge-alloy/verify/#hf.co/continuum-ai/qwen3.5-4b-code-forged/resolve/main/qwen3.5-4b-code-forged.alloy.json@435ff486e11ed54d"><b>Every claim on this card is verified</b></a><br> <b>Trust: self-attested</b> · 2 benchmarks · 1 device tested<br> <a href="https://github.com/CambrianTech/forge-alloy">ForgeAlloy</a> chain of custody · <a href="qwen3.5-4b-code-forged.alloy.json">Download alloy</a> · Merkle-chained </p>Qwen3.5-4B with cryptographic provenance via the ForgeAlloy chain of custody.
| Benchmark | Result | Verified |
|---|---|---|
| perplexity | 22.7 | Self-reported |
| humaneval | pending | Self-reported |
| Base | Forged | Delta | |
|---|---|---|---|
| Perplexity (code) | 3.04 | 2.35 | -22.7% ✅ |
| Training | General | code, 1000 steps | LR 2e-4, 3 cycles |
| Pipeline | train → quant → eval | 3 cycles |
| Device | Format | Size | Speed |
|---|---|---|---|
| NVIDIA GeForce RTX 5090 | fp16 | — | Verified |
| MacBook Pro 32GB | fp16 | 8.0GB | Expected |
| MacBook Air 16GB | Q8_0 | ~4.0GB | Expected |
| MacBook Air 8GB | Q4_K_M | ~2.5GB | Expected |
| iPhone / Android | Q4_K_M | ~2.5GB | Expected |
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("continuum-ai/qwen3.5-4b-code-forged",
torch_dtype="auto", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("continuum-ai/qwen3.5-4b-code-forged")
inputs = tokenizer("def merge_sort(arr):", return_tensors="pt").to(model.device)
output = model.generate(**inputs, max_new_tokens=200)
print(tokenizer.decode(output[0], skip_special_tokens=True))
Produced via GGUF quantization. Full methodology, ablations, and per-stage rationale are in the methodology paper and the companion MODEL_METHODOLOGY.md in this repository. The pipeline ran as train → quant → eval over 3 cycles on NVIDIA GeForce RTX 5090.
Scan the QR or verify online. Download the alloy file to verify independently.
| What | Proof |
|---|---|
| Model weights | sha256:f85726debfcad516f0addbefb5f709872... |
| Code that ran | sha256:4646801cd247660e8... |
| Forged on | NVIDIA GeForce RTX 5090, 2026-03-31T12:13:43-0500 |
| Published | huggingface — 2026-03-31T12:35:25-0500 |
| Trust level | self-attested |
| Spec | ForgeAlloy — Rust/Python/TypeScript |
Forged with Continuum — a distributed AI world that runs on your hardware.
<p align="center"> <a href="https://github.com/CambrianTech/continuum"><img src="https://raw.githubusercontent.com/CambrianTech/continuum/main/docs/images/factory.png" alt="Continuum Model Factory" width="400"/></a> </p>The Factory configurator lets you design and forge custom models visually — context extension, pruning, LoRA, quantization, vision/audio modalities. Pick your target devices, the system figures out what fits.
GitHub · All Models · Forge-Alloy
apache-2.0