Instructions to use kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-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 kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-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 kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: llama cli -hf kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
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 kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./llama-cli -hf kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
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 kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP # Run inference directly in the terminal: ./build/bin/llama-cli -hf kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
Use Docker
docker model run hf.co/kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
- LM Studio
- Jan
- vLLM
How to use kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-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": "kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
- Ollama
How to use kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF with Ollama:
ollama run hf.co/kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
- Unsloth Studio
How to use kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-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 kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-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 kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF to start chatting
- Pi
How to use kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
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": "kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF with Docker Model Runner:
docker model run hf.co/kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
- Lemonade
How to use kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
Run and chat with the model
lemonade run user.Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF-Q4_0_ROCMFP
List all available models
lemonade list
- Hermes Agent
How to use kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-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 kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
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 kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP
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 "kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF:Q4_0_ROCMFP" \ --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"
Ling-3.0-tiny-base-midtrain โ ROCmFP4 for AMD Strix Halo (gfx1151)
4-bit ROCmFP4 quantisation of Ling-3.0-tiny-base-midtrain, one of the six Ling-3.0 base/training checkpoints inclusionAI released on 2026-08-20. The multi-token-prediction (MTP) head is preserved.
โ ๏ธ This is a base checkpoint, not an instruct model
Released for continued pretraining, domain adaptation and fine-tuning. Not instruction-tuned.
It ships a chat_template.jinja, but that is a tokenizer asset and does not make the weights
conversational. Prompt it as a text continuation model. For chat, use inclusionAI/Ling-3.0-tiny.
The file
| ftype | 102 โ Q4_0_ROCMFP4_COHERENT |
| size | 4,769,679,040 bytes |
| architecture | bailing-hybrid โ hybrid KDA linear attention + MLA |
| tensors | 549 ยท block_count 25 (24 layers + 1 MTP layer) |
q_lora_rank |
256 โ low-rank compressed queries |
| context | 262,144 |
Head protection, verified in the finished file:
output.weight Q6_K 1536 x 157184
token_embd.weight Q6_K 1536 x 157184
tie_word_embeddings is false, so --output-tensor-type does real work here โ the COHERENT tier
alone leaves output.weight at 4-bit. Both heads were forced to Q6_K and audited on exact tensor
names after the build.
โ๏ธ Requires a patched llama.cpp โ details
Ling-3.0-tiny sets q_lora_rank: 256, so its MLA layers use a two-stage compressed query
(q_a_proj โ RMS norm โ q_b_proj). Ling-3.0-flash sets q_lora_rank: null and uses a single
wide q_proj. A bailing-hybrid implementation written against flash therefore cannot load tiny.
The patch, against ROCmFPX, mirrors the existing DeepSeek-V2 low-rank query path:
| file | change |
|---|---|
gguf-py/gguf/tensor_mapping.py |
map attention.q_a_proj / q_b_proj / q_a_layernorm โ ATTN_Q_A / ATTN_Q_B / ATTN_Q_A_NORM |
gguf-py/gguf/constants.py |
add those three tensors to MODEL_ARCH.BAILING_HYBRID (TensorNameMap skips anything not in the arch list) |
convert_hf_to_gguf.py |
emit add_q_lora_rank() when set; the null path is unchanged |
src/models/bailing-hybrid.cpp |
read Q_LORA_RANK as optional; when n_lora_q > 0 create wq_a / wq_b / attn_q_a_norm and run q_a โ RMS โ q_b at both graph sites, else keep the wide wq |
Because the KV is read as optional, flash GGUFs (which lack it) keep n_lora_q = 0 and take the
original path unchanged. ~51 lines across 5 files.
Verify a build carries it with strings libllama.so | grep bailing-hybrid โ the architecture table
lives in the shared library, not the thin CLI binary.
Measured throughput
AMD Ryzen AI Max+ 395, Radeon 8060S (gfx1151), ROCm 7.2.4, 128 GB unified memory.
llama-cli, -dio -ngl 999 -st -c 2048 -n 512 --temp 0 --seed 1234, 3 repetitions.
| config | flags | generation (median) | runs |
|---|---|---|---|
| no drafter | --spec-type none |
107.8 t/s | 107.9 / 107.7 / 107.8 |
| MTP n-max 3 | --spec-type draft-mtp --spec-draft-ngl 999 --spec-draft-n-max 3 |
113.3 t/s | 113.3 / 109.1 / 115.1 |
+5.1% from MTP. Enable MTP. n-max 3 is worth +5.1% on this checkpoint.
The three Ling-3.0-tiny base checkpoints do not agree on this. Measured on identical hardware
with identical flags: tiny-base +7.5%, tiny-base-midtrain +5.1%, tiny-base-30T
โ4.4%. Every comparison was range-disjoint against a 0.2โ0.7% baseline spread. The MTP draft
head is trained alongside the model, so its quality is a property of the training checkpoint, not
of the architecture โ and a checkpoint can be fully competitive on quality and speed while shipping
a draft head that is a net negative. Measure before enabling it.
Sample output
Continuation from "The history of mathematics begins in ancient times. One of the earliest known":
The history of mathematics begins in ancient times. One of the earliest known mathematical texts is the Plimpton 322 tablet, which dates back to around 1800 BCE in Mesopotamia. This tablet contains a list of Pythagorean triples, which are sets of three positive integers that satisfy the Pythagorean theorem. The ta
Not measured
Perplexity is not published for this build. No perplexity figure is quoted because none was completed. Quality evidence is the coherence check above plus the tensor-level audit.
Provenance
Converted from inclusionAI/Ling-3.0-tiny-base-midtrain at revision 2c07d29ee370592bd804a0a865db5503d8a4bfa2 to BF16 GGUF (549 tensors),
then quantised to ftype 102 with --output-tensor-type q6_K. Licence MIT, inherited from the base model.
- Downloads last month
- 70
4-bit
Model tree for kingjones777/Ling-3.0-tiny-base-midtrain-ROCmFP4-COHERENT-GGUF
Base model
inclusionAI/Ling-3.0-tiny-base-midtrain