Instructions to use jaimalleshk/Qwen3-0.6B-EN-MonoPrune with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use jaimalleshk/Qwen3-0.6B-EN-MonoPrune with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16 # Run inference directly in the terminal: llama cli -hf jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16 # Run inference directly in the terminal: llama cli -hf jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16
Use Docker
docker model run hf.co/jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use jaimalleshk/Qwen3-0.6B-EN-MonoPrune with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jaimalleshk/Qwen3-0.6B-EN-MonoPrune" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jaimalleshk/Qwen3-0.6B-EN-MonoPrune", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16
- Ollama
How to use jaimalleshk/Qwen3-0.6B-EN-MonoPrune with Ollama:
ollama run hf.co/jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16
- Unsloth Desktop
- Pi
How to use jaimalleshk/Qwen3-0.6B-EN-MonoPrune with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use jaimalleshk/Qwen3-0.6B-EN-MonoPrune with Docker Model Runner:
docker model run hf.co/jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16
- Lemonade
How to use jaimalleshk/Qwen3-0.6B-EN-MonoPrune with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16
Run and chat with the model
lemonade run user.Qwen3-0.6B-EN-MonoPrune-BF16
List all available models
lemonade list
- Hermes Agent
How to use jaimalleshk/Qwen3-0.6B-EN-MonoPrune with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use jaimalleshk/Qwen3-0.6B-EN-MonoPrune with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "jaimalleshk/Qwen3-0.6B-EN-MonoPrune:BF16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Qwen3-0.6B-EN-MonoPrune (English-specialized, training-free)
โ ๏ธ ENGLISH-ONLY. Non-English input and output degrade to byte-level artifacts BY DESIGN. That is the specialization, not a defect. If you serve any non-English traffic, do not use this model.
Qwen3-0.6B with 31.6% of its vocabulary (48,016 non-Latin-script tokens) and the corresponding embedding and tied LM-head rows structurally removed. No weights were trained, fine-tuned, or numerically altered โ every retained parameter is byte-identical to the original.
Measured results
All figures come from a single environment: Intel i7-10750H (6C/12T laptop), Windows 11, 6 threads, llama.cpp b-221f0f635 built with the Vulkan backend registered but run with n_gpu_layers=0, so all layers compute on the CPU. Timings are medians over 20 strictly interleaved base/pruned pairs, reproduced in a second session at a 28% different host speed.
| Metric | Original | This model | ฮ |
|---|---|---|---|
| Vocabulary | 151,936 | 103,920 | โ31.6% |
| Parameters | 596.0 M | 546.9 M | โ8.2% |
| File size (BF16 GGUF) | 1,198 MB | 1,098 MB | โ8.4% |
| Peak RAM | 1,323 MB | 1,212 MB | โ8.4% |
| Decode throughput | 22.67 t/s | 24.27 t/s | +7.3% (95% CI +5.5% to +8.6%) |
| Prefill throughput | 920.3 t/s | 914.3 t/s | โ0.7% (unchanged, as predicted) |
| English perplexity | โ | โ | โ0.03% |
| English generations | โ | 52/52 byte-identical | under greedy decoding |
Read the speed number carefully. Twenty paired repetitions on one machine, none negative, with the effect reproduced at a second host speed 28% apart โ so it is real. It is also modest. We report the median; the mean is +7.9%, inflated by one repetition whose base run stalled. Expect roughly +5% to +9% on similar CPU hardware, and treat the โ8.4% memory saving as the more dependable benefit, since it is structural rather than measured.
Prefill is unchanged and should be. The output head runs once per prefill but once per generated token, so only decode can benefit. A prefill speedup would indicate a measurement error.
Why English output is byte-identical
English text tokenizes to the exact same token sequence after pruning โ guaranteed, not sampled, because the BPE merge list is closed under the retained vocabulary (every retained merged token keeps both of its parts). Retained weights are unchanged, so the transformer computation is bit-equal; only the final softmax is over fewer entries. Under greedy decoding the argmax is therefore identical.
This guarantee does not extend to sampling. Temperature and top-p decoding over a different support was never tested and is not bounded by this result.
Retention policy (en_v2)
Kept: ASCII English, Latin-extended (rรฉsumรฉ/cafรฉ-class loanwords), digits, punctuation, Unicode symbols and math, Greek letters (ฯ, ฮฑโฆ), all 256 byte-fallback tokens, all control and chat tokens โ plus 178 partial-UTF-8 fragments re-admitted by merge closure.
Removed: CJK, Kana, Hangul, Cyrillic, Arabic, Hebrew, Thai, Devanagari, other scripts, and unreferenced partial-UTF-8 fragments.
Greek is worth a note. Under policy v1 it was removed, and the model responded by writing \pi in LaTeX instead of ฯ โ it did not crash, it adapted, producing confident and subtly different output. Retaining Greek costs 244 tokens (0.16% of the vocabulary) and fixes it. Retention should be decided by semantic class, not by corpus frequency.
Full per-token classification in vocab_classes.csv; oldโnew ID map in the idmap JSON.
Known behaviours (from the 20-case battery)
| Behaviour | Detail |
|---|---|
| English text, code, math, numbers, diacritics | Identical to base |
| Non-English prompts | Degraded byte-artifact output, no crash |
| Mixed-language prompts | English stays fluent; conditioning on foreign words weakens โ output can drift semantically while still reading well |
| Emoji | Mostly fine via byte-fallback; occasional variant-selector drift |
The mixed-language case is the one to watch in production: the failure is fluent, not obvious.
Composability
Pruning commutes byte-exactly with Q8_0 quantization โ prune-then-quantize and quantize-then-prune produce byte-identical embeddings, so apply them in either order. Verified for Q8_0 only; Q4_K uses 256-weight super-blocks and needs a separate check.
Limitations
One model, one family, one size, one hardware environment, greedy decoding only.
How much you save depends on your model, and not simply on its size. The saving is (removable share of the vocabulary) ร (embedding share), where embedding share โ V / (12ยทLยทd) โ vocabulary over depth ร width. Across the four models we pruned: Gemma-3-4B โ13.1%, Qwen3-0.6B โ8.4%, Phi-4-mini โ4.6%, Qwen3-4B โ3.1%. A large multilingual vocabulary on a modest-width model pays best; parameter count alone predicts the wrong ordering. Batched GPU serving will see less decode benefit than batch-1 CPU, since the output-head cost amortises across the batch.
Provenance
Produced by the MonoPrune pipeline (training-free vocabulary pruning with BPE merge closure and byte-exact row surgery). Code, measurements and the full write-up: github.com/jaimalleshk/AI-Models-Mono-Language-Pruning. An arXiv preprint is in preparation; this card will be updated with the identifier when it is announced.
The repository includes a claims ledger recording every claim we withdrew, including three decode-speed figures on larger models withdrawn for lack of surviving logs. Read it before citing anything here.
Created 2026-08-02, revised 2026-08-04. Author: Jai Mallesh K R, Independent Researcher. Implementation and measurement were carried out with AI agents under the author's direction.
Attribution
Derivative of Qwen3-0.6B by the Qwen team (Alibaba Cloud), Apache License 2.0. Modification: structural removal of vocabulary entries and the corresponding embedding rows only. No weight values were altered.
- Downloads last month
- 35
16-bit