Text Generation
MLX
GGUF
Rust
4b
agentic-coding
alloy-backfilled
android
apple-silicon
attested
bash
c
chain-of-custody
chinese
code
code-completion
code-generation
code-infill
coder
coding
consumer-gpu
cpp
cryptographically-verified
css
delta-forge
derivative
edge-inference
embedded
english
forge-alloy
function-calling
ggml
go
html
iphone
java
javascript
kotlin
llama-cpp
lm-studio
local-inference
macbook
mobile
multilingual
ollama
on-device
php
programming
python
q4-k-m
q8-0
quantized
qwen
qwen3
qwen3.5
raspberry-pi
reproducible
ruby
software-engineering
sql
swift
typescript
Instructions to use continuum-ai/qwen3.5-4b-code-forged-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use continuum-ai/qwen3.5-4b-code-forged-GGUF with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("continuum-ai/qwen3.5-4b-code-forged-GGUF") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - llama-cpp-python
How to use continuum-ai/qwen3.5-4b-code-forged-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="continuum-ai/qwen3.5-4b-code-forged-GGUF", filename="qwen3.5-4b-code-forged-Q4_K_M.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use continuum-ai/qwen3.5-4b-code-forged-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M
Use Docker
docker model run hf.co/continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use continuum-ai/qwen3.5-4b-code-forged-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "continuum-ai/qwen3.5-4b-code-forged-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "continuum-ai/qwen3.5-4b-code-forged-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M
- Ollama
How to use continuum-ai/qwen3.5-4b-code-forged-GGUF with Ollama:
ollama run hf.co/continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M
- Unsloth Studio
How to use continuum-ai/qwen3.5-4b-code-forged-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for continuum-ai/qwen3.5-4b-code-forged-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for continuum-ai/qwen3.5-4b-code-forged-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for continuum-ai/qwen3.5-4b-code-forged-GGUF to start chatting
- Atomic Chat new
- MLX LM
How to use continuum-ai/qwen3.5-4b-code-forged-GGUF with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "continuum-ai/qwen3.5-4b-code-forged-GGUF" --prompt "Once upon a time"
- Docker Model Runner
How to use continuum-ai/qwen3.5-4b-code-forged-GGUF with Docker Model Runner:
docker model run hf.co/continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M
- Lemonade
How to use continuum-ai/qwen3.5-4b-code-forged-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull continuum-ai/qwen3.5-4b-code-forged-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.qwen3.5-4b-code-forged-GGUF-Q4_K_M
List all available models
lemonade list
Correct qwen3.5-4b-code-forged-GGUF.alloy.json pass@1 to canonical evalplus convention (v1.0.0)
Browse files
qwen3.5-4b-code-forged-GGUF.alloy.json
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "qwen3.5-4b-code-forged-GGUF",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"description": "GGUF derivative of [`qwen3.5-4b-code-forged`](https://huggingface.co/continuum-ai/qwen3.5-4b-code-forged). Same forge journey as the parent (prune + train as published in the parent's alloy); this artifact adds a single 'gguf' transformation stage to produce a smaller / faster / more-portable variant of the same logical model. Inherits the parent's published benchmark results; per-variant evaluation samples will land in a follow-up release if/when per-variant benchmarks are run.",
|
| 5 |
+
"author": "continuum-ai",
|
| 6 |
+
"tags": [
|
| 7 |
+
"derivative",
|
| 8 |
+
"delta-forge",
|
| 9 |
+
"alloy-backfilled",
|
| 10 |
+
"gguf",
|
| 11 |
+
"forge-alloy"
|
| 12 |
+
],
|
| 13 |
+
"license": "apache-2.0",
|
| 14 |
+
"source": {
|
| 15 |
+
"baseModel": "Qwen/Qwen3.5-4B",
|
| 16 |
+
"architecture": "qwen3_5",
|
| 17 |
+
"isMoE": false
|
| 18 |
+
},
|
| 19 |
+
"stages": [
|
| 20 |
+
{
|
| 21 |
+
"type": "train",
|
| 22 |
+
"domain": "code",
|
| 23 |
+
"steps": 1000,
|
| 24 |
+
"learningRate": "2e-4"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"type": "quant",
|
| 28 |
+
"format": "gguf",
|
| 29 |
+
"quantTypes": [
|
| 30 |
+
"Q4_K_M"
|
| 31 |
+
],
|
| 32 |
+
"deviceTargets": []
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"type": "eval",
|
| 36 |
+
"benchmarks": [
|
| 37 |
+
{
|
| 38 |
+
"name": "humaneval"
|
| 39 |
+
}
|
| 40 |
+
],
|
| 41 |
+
"compareToBase": true
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"type": "quant",
|
| 45 |
+
"format": "gguf",
|
| 46 |
+
"quantTypes": [
|
| 47 |
+
"Q4_K_M",
|
| 48 |
+
"Q8_0"
|
| 49 |
+
],
|
| 50 |
+
"deviceTargets": [
|
| 51 |
+
"macbook-pro-m-series",
|
| 52 |
+
"macbook-air-16gb",
|
| 53 |
+
"rtx3060",
|
| 54 |
+
"rtx4070",
|
| 55 |
+
"rtx4090",
|
| 56 |
+
"iphone",
|
| 57 |
+
"android"
|
| 58 |
+
],
|
| 59 |
+
"notes": "GGUF quantization of the parent's safetensors weights via llama.cpp llama-quantize. Targets llama.cpp / Ollama / LM Studio / koboldcpp inference runtimes. Q4_K_M and Q8_0 shipped together so users can pick the size/quality tier their hardware supports."
|
| 60 |
+
}
|
| 61 |
+
],
|
| 62 |
+
"cycles": 3,
|
| 63 |
+
"derivedFrom": {
|
| 64 |
+
"repo": "continuum-ai/qwen3.5-4b-code-forged",
|
| 65 |
+
"alloyHash": null,
|
| 66 |
+
"kind": "gguf"
|
| 67 |
+
},
|
| 68 |
+
"results": {
|
| 69 |
+
"completedAt": "2026-03-31T12:13:43-0500",
|
| 70 |
+
"baselinePerplexity": 3.0382,
|
| 71 |
+
"finalPerplexity": 2.3487,
|
| 72 |
+
"improvementPct": 22.7,
|
| 73 |
+
"benchmarks": [
|
| 74 |
+
{
|
| 75 |
+
"name": "perplexity",
|
| 76 |
+
"metrics": {
|
| 77 |
+
"baseline": 3.0382,
|
| 78 |
+
"final": 2.3487,
|
| 79 |
+
"improvement": 22.7
|
| 80 |
+
}
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"name": "humaneval",
|
| 84 |
+
"subset": null,
|
| 85 |
+
"metrics": {
|
| 86 |
+
"status": "pending"
|
| 87 |
+
},
|
| 88 |
+
"submittedToLeaderboard": false
|
| 89 |
+
}
|
| 90 |
+
],
|
| 91 |
+
"hardwareVerified": [
|
| 92 |
+
{
|
| 93 |
+
"device": "NVIDIA GeForce RTX 5090",
|
| 94 |
+
"format": "fp16",
|
| 95 |
+
"verified": true
|
| 96 |
+
}
|
| 97 |
+
],
|
| 98 |
+
"samples": [],
|
| 99 |
+
"integrity": {
|
| 100 |
+
"trustLevel": "self-attested",
|
| 101 |
+
"code": {
|
| 102 |
+
"runner": "sentinel-ai/derive_alloy_from_parent (gguf)",
|
| 103 |
+
"version": "1.0",
|
| 104 |
+
"binaryHash": "sha256:derivation-tool-only"
|
| 105 |
+
},
|
| 106 |
+
"modelHash": "sha256:03dd512b17b85b9b4ee6614bc6dd46c08d0bc8e07b92f01b2934540e4f5cbb96",
|
| 107 |
+
"fileHashes": [
|
| 108 |
+
{
|
| 109 |
+
"filename": "qwen3.5-4b-code-forged-Q4_K_M.gguf",
|
| 110 |
+
"sha256": "15c8ebc22ac16e3e922041f25d285f8a322e228196de0e9b12592b8bf8b7646e",
|
| 111 |
+
"size": 2708797184
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"filename": "qwen3.5-4b-code-forged-Q8_0.gguf",
|
| 115 |
+
"sha256": "c56465451bef33353a1f075d670d07bb11c11f60d4463c6bd4fb24f6155acd40",
|
| 116 |
+
"size": 4482395904
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"datasets": [],
|
| 120 |
+
"attestedAt": "2026-04-08",
|
| 121 |
+
"parentAlloyHash": null
|
| 122 |
+
}
|
| 123 |
+
}
|
| 124 |
+
}
|