Instructions to use w-ahmad/Qwen3.5-9B-GGUF-MoQ 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 w-ahmad/Qwen3.5-9B-GGUF-MoQ 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 w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16 # Run inference directly in the terminal: llama cli -hf w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16 # Run inference directly in the terminal: llama cli -hf w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16
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 w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16 # Run inference directly in the terminal: ./llama-cli -hf w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16
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 w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16
Use Docker
docker model run hf.co/w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16
- LM Studio
- Jan
- vLLM
How to use w-ahmad/Qwen3.5-9B-GGUF-MoQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "w-ahmad/Qwen3.5-9B-GGUF-MoQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "w-ahmad/Qwen3.5-9B-GGUF-MoQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16
- Ollama
How to use w-ahmad/Qwen3.5-9B-GGUF-MoQ with Ollama:
ollama run hf.co/w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16
- Unsloth Studio
How to use w-ahmad/Qwen3.5-9B-GGUF-MoQ 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 w-ahmad/Qwen3.5-9B-GGUF-MoQ 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 w-ahmad/Qwen3.5-9B-GGUF-MoQ to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for w-ahmad/Qwen3.5-9B-GGUF-MoQ to start chatting
- Pi
How to use w-ahmad/Qwen3.5-9B-GGUF-MoQ with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use w-ahmad/Qwen3.5-9B-GGUF-MoQ with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf w-ahmad/Qwen3.5-9B-GGUF-MoQ: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:8080/v1 hermes config set model.default w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16
Run Hermes
hermes
- OpenClaw new
How to use w-ahmad/Qwen3.5-9B-GGUF-MoQ with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf w-ahmad/Qwen3.5-9B-GGUF-MoQ: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:8080/v1 \ --custom-model-id "w-ahmad/Qwen3.5-9B-GGUF-MoQ: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"
- Docker Model Runner
How to use w-ahmad/Qwen3.5-9B-GGUF-MoQ with Docker Model Runner:
docker model run hf.co/w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16
- Lemonade
How to use w-ahmad/Qwen3.5-9B-GGUF-MoQ with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull w-ahmad/Qwen3.5-9B-GGUF-MoQ:BF16
Run and chat with the model
lemonade run user.Qwen3.5-9B-GGUF-MoQ-BF16
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -14,8 +14,7 @@ license: mit
|
|
| 14 |
pipeline_tag: text-generation
|
| 15 |
|
| 16 |
---
|
| 17 |
-
I am working on a new method that
|
| 18 |
-
|
| 19 |
# 🚀 MoQ: Mixture of Quants
|
| 20 |
|
| 21 |
>MoQ (Mixture of Quants) is a smart way to shrink AI models without losing their "brainpower." Unlike old methods that treat every part of the model the same, MoQ identifies the most important parts and keeps them high-quality, while heavily compressing the rest to save space.****Stop settling for uniform bitrates.** Standard quantization is a relic of the past, treating vital cognitive weights the same as redundant noise. **MoQ (Mixture of Quants)** is a surgical evolution in model compression. By deploying an **Empirical Per-Tensor Analysis**, MoQ identifies the "High-Intelligence" tensors that drive reasoning and shields them with high-bit precision, while crushing redundant weights into extreme efficiency.
|
|
|
|
| 14 |
pipeline_tag: text-generation
|
| 15 |
|
| 16 |
---
|
| 17 |
+
I am working on a new method that models the relationship between quantization error and the tensor type being quantized. It will be completed by Wednesday, after which I will delete the previous models and upload the new ones. I have observed that using different quantization types for the same tensor type (e.g., FFN down) across layers (1–23) results in poor quality and wastes the bit budget.
|
|
|
|
| 18 |
# 🚀 MoQ: Mixture of Quants
|
| 19 |
|
| 20 |
>MoQ (Mixture of Quants) is a smart way to shrink AI models without losing their "brainpower." Unlike old methods that treat every part of the model the same, MoQ identifies the most important parts and keeps them high-quality, while heavily compressing the rest to save space.****Stop settling for uniform bitrates.** Standard quantization is a relic of the past, treating vital cognitive weights the same as redundant noise. **MoQ (Mixture of Quants)** is a surgical evolution in model compression. By deploying an **Empirical Per-Tensor Analysis**, MoQ identifies the "High-Intelligence" tensors that drive reasoning and shields them with high-bit precision, while crushing redundant weights into extreme efficiency.
|