Instructions to use IndexTeam/Index-Nailong-9B-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 IndexTeam/Index-Nailong-9B-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 IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf IndexTeam/Index-Nailong-9B-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 IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf IndexTeam/Index-Nailong-9B-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 IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf IndexTeam/Index-Nailong-9B-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 IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use IndexTeam/Index-Nailong-9B-GGUF with Ollama:
ollama run hf.co/IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use IndexTeam/Index-Nailong-9B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M
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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use IndexTeam/Index-Nailong-9B-GGUF with Docker Model Runner:
docker model run hf.co/IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M
- Lemonade
How to use IndexTeam/Index-Nailong-9B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Index-Nailong-9B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use IndexTeam/Index-Nailong-9B-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 IndexTeam/Index-Nailong-9B-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 IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use IndexTeam/Index-Nailong-9B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf IndexTeam/Index-Nailong-9B-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 "IndexTeam/Index-Nailong-9B-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"
Index-Nailong-9B-GGUF
Official GGUF conversion of IndexTeam/Index-Nailong-9B, part of the Index-Translate multilingual translation model family (150 languages, terminology/format-constrained translation, controlled dubbing translation, long-document translation).
- Technical report: Index-Translate: A Multilingual Translation Model Family
- Code: github.com/bilibili/Index-Translate
Converted with llama.cpp (master, 2026-10); static post-training quantization, all bit-widths in this single repository.
Provided files
(sorted by size)
| File | Size | Notes |
|---|---|---|
| Q2_K | 3.83 GB | 2-bit, significant quality loss |
| Q3_K_S | 4.26 GB | 3-bit, noticeable quality loss |
| Q3_K_M | 4.62 GB | 3-bit, noticeable quality loss |
| Q3_K_L | 4.93 GB | 3-bit, noticeable quality loss |
| IQ4_XS | 5.23 GB | 4-bit I-quant, small |
| Q4_K_S | 5.35 GB | 4-bit, slightly smaller/faster |
| Q4_K_M | 5.63 GB | 4-bit, good balance, recommended |
| Q5_K_S | 6.31 GB | 5-bit, low quality loss |
| Q5_K_M | 6.47 GB | 5-bit, low quality loss |
| Q6_K | 7.36 GB | 6-bit, very low quality loss |
| Q8_0 | 9.53 GB | 8-bit, near-lossless |
| f16 | 17.92 GB | 16-bit, lossless conversion baseline |
Usage
# Run the recommended Q4_K_M directly:
llama serve -hf IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M
llama cli -hf IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M
Translation prompt format (greedy decoding, temperature=0 recommended; use the chat template with enable_thinking: false):
请将以下文本翻译为{{target-language}},直接输出翻译结果,不要进行任何解释。
{{source-text}}
# llama.cpp: run the recommended Q4_K_M with the chat template and thinking disabled
llama-cli -hf IndexTeam/Index-Nailong-9B-GGUF:Q4_K_M --jinja --chat-template-kwargs '{"enable_thinking":false}' --temp 0
Prompting & constrained translation (instTrans)
Beyond plain translation, the models follow the instTrans constrained-translation format. The official client wraps requests into the canonical structure 【源文】<text> + numbered 1. 【硬性要求】<hard constraints> + 2. 【注意】<soft constraints> + suffix instructions:
- Hard constraints (binary, must hold): strict terminology glossary enforcement (e.g.
碳纤维:carbon fiber, 抗裂缝:crack resistance), and format/structure preservation for JSON/CSV/code/placeholders. - Soft constraints (graded): tone & style adaptation (e.g. formal business-email register), domain/word-sense disambiguation (e.g. plant -> 工厂 in an industrial context), cross-sentence consistency, LaTeX preservation.
- Syllable-controlled translation (dubbing): the Index-Homura checkpoints (IndexTeam/Index-Homura-2B, IndexTeam/Index-Homura-9B) strictly respect a target syllable budget and can be combined with glossaries.
Full prompt reference: github.com/bilibili/Index-Translate (Instruction Following section, docs/prompts.md, inference/llm/cases/).
See the base model card for the full instTrans constrained-translation format and serving presets.
Consistency validation
Before release, each quantization tier was validated on GPU (NVIDIA A100) against the F16 conversion: per-token KL divergence / RMS delta-p via llama-perplexity, plus greedy-generation spot checks against the original BF16 weights (transformers reference). Generation outputs of Q4_K_M matched the reference almost verbatim.
Converted and published by the Index team, 2026-10-03.
- Downloads last month
- 1,232
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for IndexTeam/Index-Nailong-9B-GGUF
Base model
IndexTeam/Index-Nailong-9B