Instructions to use kaiferen17/qwen3-1.7b-coding-only-GGUF 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 kaiferen17/qwen3-1.7b-coding-only-GGUF 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 kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K # Run inference directly in the terminal: llama cli -hf kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K # Run inference directly in the terminal: llama cli -hf kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K
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 kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K # Run inference directly in the terminal: ./build/bin/llama cli -hf kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K
Use Docker
docker model run hf.co/kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K
- Llama new
- LM Studio
- Jan
- Ollama
How to use kaiferen17/qwen3-1.7b-coding-only-GGUF with Ollama:
ollama run hf.co/kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K
- Unsloth Desktop
- Pi
How to use kaiferen17/qwen3-1.7b-coding-only-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K
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": "kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use kaiferen17/qwen3-1.7b-coding-only-GGUF with Docker Model Runner:
docker model run hf.co/kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K
- Lemonade
How to use kaiferen17/qwen3-1.7b-coding-only-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K
Run and chat with the model
lemonade run user.qwen3-1.7b-coding-only-GGUF-Q6_K
List all available models
lemonade list
- Hermes Agent
How to use kaiferen17/qwen3-1.7b-coding-only-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K
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 kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kaiferen17/qwen3-1.7b-coding-only-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K
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 "kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K" \ --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-1.7b-coding-only-GGUF
A lightweight, CPU-friendly, vocab-pruned & coding-distilled variant of Qwen/Qwen3-1.7B quantized to near-lossless Q6_K GGUF (1.23 GB), built specifically for English + Romanized Hinglish conversation and technical coding on CPU-only laptops.
Key Modifications & Verified Metrics
- Lossless BPE-Closure Vocabulary Pruning (
151,936 -> 97,408tokens):- Removed 54,528 non-Latin tokens (CJK, Arabic, Cyrillic, Devanagari, Thai, etc.) while keeping 100% of ASCII, English, Romanized Hinglish, code syntax/indentation, 256 byte-fallback tokens, and all 26 Qwen3 special tokens (
<|im_start|>,<|im_end|>,<think>,</think>,<tool_call>, FIM tokens). - Verified mathematically lossless before training (
max_abs_diff = 0.00000logit equivalence on English, Hinglish, and Python/JS prompts).
- Removed 54,528 non-Latin tokens (CJK, Arabic, Cyrillic, Devanagari, Thai, etc.) while keeping 100% of ASCII, English, Romanized Hinglish, code syntax/indentation, 256 byte-fallback tokens, and all 26 Qwen3 special tokens (
- Coding Distillation & Hinglish Fine-Tuning (FP16 LoRA
r=32, alpha=64):- Trained with completion-only loss masking and conservative anti-forgetting LR (
6e-5, cosine schedule) on 10,983 curated pure-Latin samples:m-a-p/CodeFeedback-Filtered-Instruction(5,000 samples)ise-uiuc/Magicoder-Evol-Instruct-110K(3,500 samples)nvidia/OpenCodeReasoning(split_0, DeepSeek-R1 distilled<think>...</think>, 1,500 length-filtered samples)Abhishekcr448/Hinglish-Everyday-Conversations-1M(1,200 filtered natural Romanized Hinglish samples)- Custom Hinglish technical coding anchor examples (128 samples)
- Validation loss improved monotonically from
1.5441->0.5908(-0.9534, zero overfitting).
- Trained with completion-only loss masking and conservative anti-forgetting LR (
- Near-Lossless
Q6_KQuantization & Local CPU Performance:- File:
qwen3-1.7b-coding-only-Q6_K.gguf(1.23 GB) - Total RAM footprint (4K context): ~2.0 GB
- Verified speed on CPU-only laptop (AMD Ryzen 5 5625U): ~7β13 tokens/sec with zero non-Latin token leakage.
- File:
Quick Start (Ollama)
Download qwen3-1.7b-coding-only-Q6_K.gguf and Modelfile from this repository, then run:
ollama create qwen3-1.7b-coding-only -f Modelfile
ollama run qwen3-1.7b-coding-only
Or run directly via Ollama Hugging Face integration:
ollama run hf.co/kaiferen17/qwen3-1.7b-coding-only-GGUF:Q6_K
- Downloads last month
- 182
6-bit