Instructions to use NAME0x0/AVA-v3.0-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use NAME0x0/AVA-v3.0-preview with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="NAME0x0/AVA-v3.0-preview", filename="ava-v30-preview-q4_k_m.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use NAME0x0/AVA-v3.0-preview 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 NAME0x0/AVA-v3.0-preview:Q4_K_M # Run inference directly in the terminal: llama cli -hf NAME0x0/AVA-v3.0-preview:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf NAME0x0/AVA-v3.0-preview:Q4_K_M # Run inference directly in the terminal: llama cli -hf NAME0x0/AVA-v3.0-preview: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 NAME0x0/AVA-v3.0-preview:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf NAME0x0/AVA-v3.0-preview: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 NAME0x0/AVA-v3.0-preview:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf NAME0x0/AVA-v3.0-preview:Q4_K_M
Use Docker
docker model run hf.co/NAME0x0/AVA-v3.0-preview:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use NAME0x0/AVA-v3.0-preview with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NAME0x0/AVA-v3.0-preview" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NAME0x0/AVA-v3.0-preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/NAME0x0/AVA-v3.0-preview:Q4_K_M
- Ollama
How to use NAME0x0/AVA-v3.0-preview with Ollama:
ollama run hf.co/NAME0x0/AVA-v3.0-preview:Q4_K_M
- Unsloth Studio
How to use NAME0x0/AVA-v3.0-preview 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 NAME0x0/AVA-v3.0-preview 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 NAME0x0/AVA-v3.0-preview to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for NAME0x0/AVA-v3.0-preview to start chatting
- Pi
How to use NAME0x0/AVA-v3.0-preview with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NAME0x0/AVA-v3.0-preview: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": "NAME0x0/AVA-v3.0-preview:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use NAME0x0/AVA-v3.0-preview with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NAME0x0/AVA-v3.0-preview: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 NAME0x0/AVA-v3.0-preview:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use NAME0x0/AVA-v3.0-preview with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf NAME0x0/AVA-v3.0-preview: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 "NAME0x0/AVA-v3.0-preview: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"
- Docker Model Runner
How to use NAME0x0/AVA-v3.0-preview with Docker Model Runner:
docker model run hf.co/NAME0x0/AVA-v3.0-preview:Q4_K_M
- Lemonade
How to use NAME0x0/AVA-v3.0-preview with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NAME0x0/AVA-v3.0-preview:Q4_K_M
Run and chat with the model
lemonade run user.AVA-v3.0-preview-Q4_K_M
List all available models
lemonade list
AVA v3.0 — Preview (mid-training checkpoint)
Read this first. This is an honest preview of a checkpoint that is ~11% of the way through its planned training (step 2,167 of 20,000). It matches its base model on code — it does not beat it yet. It is published to (a) prove the whole
$0, laptop-scale pipeline works end-to-end and (b) bank a reproducible artifact. If you want a finished coding model today, use the base Qwen/Qwen3.5-4B directly. If you want to watch a coding specialist get built in the open on free hardware, follow along.
What AVA v3 is trying to be
A coding specialist that runs on a 4 GB-VRAM laptop, trained for $0 on free
Colab/Kaggle GPU quota plus one consumer laptop, and reproducible by anyone.
The thesis: a world-class small coding model does not require a datacenter — you
can inherit a strong open base, specialize it on clean open data, and later
self-improve it against a free verifier (the code executor). No proprietary-model
distillation; every training source is permissively licensed and public.
Where this checkpoint actually stands (honest numbers)
Evaluated at 4-bit, greedy, non-thinking (the deployment-realistic setting), with an execution-based HumanEval+/MBPP+ harness.
Base model (Qwen3.5-4B, our harness, full sets):
| Benchmark | Score |
|---|---|
| HumanEval+ (164) | 74.4 |
| MBPP+ (378) | 65.3 |
| ARC-Easy | 93.8 |
| MMLU | 54.9 |
This preview @ step 2,167 — measured on n=60 matched-task probe subsets vs the same donor tasks (mid-training, subset noise ≈ ±7pp):
- HumanEval+ / MBPP+: holds donor level (within noise — no regression).
- Reasoning up: MMLU probe +13 pp over the donor (the model absorbed chain-of-thought reasoning from the training data).
- It does not yet exceed the donor on code. Basic pass@1 benchmarks are near the base model's ceiling; the specialization payoff is expected on agentic / edit / harder coding tasks, which are being added to the eval + training next.
Harder held-out eval (LiveCodeBench v6 — competitive programming, 2025 contests after the easy sets saturated; n=50 stdin problems, greedy, non-thinking):
| Donor (Qwen3.5-4B) | This preview @ 2,167 | |
|---|---|---|
| pass@1 | 44.0% | 34.0% |
On fresh competitive-programming problems this checkpoint is currently ~10 pp behind the donor — the loss is on medium/hard problems (easy holds ~94%). Shown, not hidden. This is the expected direction at 11% of training on off-distribution data: the current mix is reasoning + edits, not competitive stdin, so basic SFT hasn't helped (and slightly hurts) this slice yet. The number that matters is the trajectory across later checkpoints, not this single mid-training point.
So: more reasoning, donor-level on easy code benchmarks, but still behind the donor on harder held-out coding — at 11% of training. A checkpoint, not a destination.
Files
ava-v30-preview-q4_k_m.gguf(2.6 GB, Q4_K_M) — runs inllama.cpp.
Run it (llama.cpp)
Needs a recent llama.cpp build (Qwen3.5 hybrid-attention support; tested on b10059).
# direct code answers (recommended for a coding tool)
llama-cli -m ava-v30-preview-q4_k_m.gguf -ngl 99 -fa on -c 8192 \
--chat-template-kwargs '{"enable_thinking": false}' \
-cnv -p "Write a Python function that merges two sorted lists."
# thinking mode (slower, more reasoning on hard problems) — drop the kwargs line
Measured on an RTX A2000 4 GB laptop (partial offload): prompt ~70 t/s, generation ~18 t/s. On an empty 4 GB card all 32 layers offload. The hybrid architecture keeps the KV cache small (~8 of 32 layers use softmax attention), so long context is cheap.
How it was built (reproducible)
- Base / warm-start: Qwen3.5-4B (Apache 2.0) — native Gated-DeltaNet:softmax hybrid, 262K context.
- Method: LoRA (r=16, all-linear), completion-only loss, decontaminated against the eval sets, resumable 30-min shards on free T4/L4 quota (HF Hub as the single source of truth). Exported = adapters merged → BF16 → GGUF Q4_K_M.
- Training data (all clean / permissive): nvidia/OpenCodeReasoning (CC BY 4.0, R1-distilled reasoning) + bigcode/commitpackft (edit/diff). No Claude/GPT/proprietary-model outputs.
- Compute: free Colab/Kaggle T4/L4 + one laptop. Training energy so far: on the order of tens of kWh.
Limitations
- Mid-training preview — expect the base model's ceiling on easy benchmarks, not beyond it, at this step count.
- Python-heavy training mix so far; multi-language and agentic/edit skills are the next additions.
- This GGUF does not include the donor's multi-token-prediction draft heads (dropped on merge), so no built-in speculative decoding yet.
- Thinking mode is verbose; use
enable_thinking: falsefor a snappy coding tool.
Roadmap (what makes it beat the donor)
Agentic/edit data (Open-SWE-Traces) → harder evals (SWE-bench Lite) → thinking-mode
self-distillation + execution-verified preference tuning → self-play RL against the
sandbox verifier. Those — not more basic SFT — are where a $0 specialist overtakes
its base.
Credits
Built on Qwen3.5-4B (Alibaba, Apache 2.0). Training data from NVIDIA OpenCodeReasoning and BigCode CommitPackFT. Full pipeline, evals, and the resumable-training fabric are open — this model card links the recipe, not just the weights.
- Downloads last month
- 11
4-bit