Instructions to use munimentai/Qwen3.5-4B-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 munimentai/Qwen3.5-4B-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 munimentai/Qwen3.5-4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf munimentai/Qwen3.5-4B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf munimentai/Qwen3.5-4B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf munimentai/Qwen3.5-4B-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 munimentai/Qwen3.5-4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf munimentai/Qwen3.5-4B-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 munimentai/Qwen3.5-4B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf munimentai/Qwen3.5-4B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/munimentai/Qwen3.5-4B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use munimentai/Qwen3.5-4B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "munimentai/Qwen3.5-4B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "munimentai/Qwen3.5-4B-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/munimentai/Qwen3.5-4B-GGUF:Q4_K_M
- Ollama
How to use munimentai/Qwen3.5-4B-GGUF with Ollama:
ollama run hf.co/munimentai/Qwen3.5-4B-GGUF:Q4_K_M
- Unsloth Studio
How to use munimentai/Qwen3.5-4B-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 munimentai/Qwen3.5-4B-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 munimentai/Qwen3.5-4B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for munimentai/Qwen3.5-4B-GGUF to start chatting
- Pi
How to use munimentai/Qwen3.5-4B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf munimentai/Qwen3.5-4B-GGUF:Q4_K_M
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": "munimentai/Qwen3.5-4B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use munimentai/Qwen3.5-4B-GGUF with Docker Model Runner:
docker model run hf.co/munimentai/Qwen3.5-4B-GGUF:Q4_K_M
- Lemonade
How to use munimentai/Qwen3.5-4B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull munimentai/Qwen3.5-4B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Qwen3.5-4B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use munimentai/Qwen3.5-4B-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 munimentai/Qwen3.5-4B-GGUF:Q4_K_M
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 munimentai/Qwen3.5-4B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use munimentai/Qwen3.5-4B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf munimentai/Qwen3.5-4B-GGUF:Q4_K_M
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 "munimentai/Qwen3.5-4B-GGUF:Q4_K_M" \ --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.5-4B-GGUF
GGUF builds of Qwen/Qwen3.5-4B for llama.cpp. Muniment builds these files
from the official Transformers weights and ships them in its products. No
prebuilt or third-party GGUF is an input to this build.
Files
| File | Quantization | Size in bytes | sha256 |
|---|---|---|---|
qwen3.5-4b-Q4_K_M.gguf |
Q4_K_M | 2783446784 | 5ca0d868d45462e33c7671740bbd97b1ec4d38834827609fcd1a3f726cf49649 |
Provenance
| Field | Value |
|---|---|
| Source repository | https://huggingface.co/Qwen/Qwen3.5-4B |
| Source revision | 851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a |
| llama.cpp repository | https://github.com/ggml-org/llama.cpp |
| llama.cpp revision | 178a6c44937154dc4c4eff0d166f4a044c4fceba |
| High-precision intermediate | qwen3.5-4b-BF16.gguf |
| Converter dependency lock | evals/routing/qwen3.5-4b-requirements.lock (muniment-qa) |
| Python | 3.10.18 |
Build
Run these commands from a new, empty working directory. The revision assertions must pass before any artifact is produced.
set -eu
QWEN_REV=851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a
LLAMA_CPP_REV=178a6c44937154dc4c4eff0d166f4a044c4fceba
mkdir qwen3.5-4b-source
git -C qwen3.5-4b-source init
git -C qwen3.5-4b-source remote add origin https://huggingface.co/Qwen/Qwen3.5-4B
git -C qwen3.5-4b-source fetch --depth 1 origin "$QWEN_REV"
git -C qwen3.5-4b-source checkout --detach "$QWEN_REV"
test "$(git -C qwen3.5-4b-source rev-parse HEAD)" = "$QWEN_REV"
git -C qwen3.5-4b-source lfs pull origin
mkdir llama.cpp
git -C llama.cpp init
git -C llama.cpp remote add origin https://github.com/ggml-org/llama.cpp.git
git -C llama.cpp fetch --depth 1 origin "$LLAMA_CPP_REV"
git -C llama.cpp checkout --detach "$LLAMA_CPP_REV"
test "$(git -C llama.cpp rev-parse HEAD)" = "$LLAMA_CPP_REV"
python3 -m venv llama.cpp/.venv
llama.cpp/.venv/bin/python -m pip install \
-r llama.cpp/requirements/requirements-convert_hf_to_gguf.txt
cmake -S llama.cpp -B llama.cpp/build \
-DCMAKE_BUILD_TYPE=Release \
-DLLAMA_BUILD_TESTS=OFF
cmake --build llama.cpp/build --config Release \
--target llama-quantize llama-server --parallel
mkdir artifacts
llama.cpp/.venv/bin/python llama.cpp/convert_hf_to_gguf.py \
qwen3.5-4b-source \
--outfile artifacts/qwen3.5-4b-BF16.gguf \
--outtype bf16
llama.cpp/build/bin/llama-quantize \
artifacts/qwen3.5-4b-BF16.gguf \
artifacts/qwen3.5-4b-Q4_K_M.gguf \
Q4_K_M
Reproduced
This recipe was rebuilt from source in a fresh scratch directory by muniment-qa run 30313497452, which produced the same 2783446784 bytes and the same sha256. Byte-identical output depends on the pinned revisions AND on the pinned converter dependency closure. Two builds from the same revisions with floating packages produced different bytes.
Verify
sha256sum -c SHA256SUMS
sha256sum qwen3.5-4b-Q4_K_M.gguf
# 5ca0d868d45462e33c7671740bbd97b1ec4d38834827609fcd1a3f726cf49649
stat --format='%s' qwen3.5-4b-Q4_K_M.gguf
# 2783446784
Run
llama-server \
--model qwen3.5-4b-Q4_K_M.gguf \
--alias qwen3.5-4b-Q4_K_M \
--ctx-size 32768
Licence and statement of changes
This repository distributes a modified form of Qwen/Qwen3.5-4B, which is
licensed under Apache-2.0. The same licence applies here.
Changes made to the original work:
- Converted the Transformers weights to GGUF at BF16 precision with
convert_hf_to_gguf.pyfrom the pinned llama.cpp revision. - Quantized that BF16 intermediate to Q4_K_M with
llama-quantizefrom the same pinned revision.
No weights were retrained, merged, pruned, or otherwise altered. Model behavior follows the upstream model, subject to quantization loss.
- Downloads last month
- 1,513
4-bit