Instructions to use Gramscii-IT/Narrator-4B 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 Gramscii-IT/Narrator-4B 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 Gramscii-IT/Narrator-4B:Q4_K_M # Run inference directly in the terminal: llama cli -hf Gramscii-IT/Narrator-4B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Gramscii-IT/Narrator-4B:Q4_K_M # Run inference directly in the terminal: llama cli -hf Gramscii-IT/Narrator-4B:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Gramscii-IT/Narrator-4B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Gramscii-IT/Narrator-4B:Q4_K_M
Use Docker
docker model run hf.co/Gramscii-IT/Narrator-4B:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Gramscii-IT/Narrator-4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Gramscii-IT/Narrator-4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Gramscii-IT/Narrator-4B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Gramscii-IT/Narrator-4B:Q4_K_M
- Ollama
How to use Gramscii-IT/Narrator-4B with Ollama:
ollama run hf.co/Gramscii-IT/Narrator-4B:Q4_K_M
- Unsloth Desktop
- Pi
How to use Gramscii-IT/Narrator-4B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Gramscii-IT/Narrator-4B: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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Gramscii-IT/Narrator-4B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Gramscii-IT/Narrator-4B with Docker Model Runner:
docker model run hf.co/Gramscii-IT/Narrator-4B:Q4_K_M
- Lemonade
How to use Gramscii-IT/Narrator-4B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Gramscii-IT/Narrator-4B:Q4_K_M
Run and chat with the model
lemonade run user.Narrator-4B-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Gramscii-IT/Narrator-4B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Gramscii-IT/Narrator-4B: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:9931/v1 hermes config set model.default Gramscii-IT/Narrator-4B:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Gramscii-IT/Narrator-4B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Gramscii-IT/Narrator-4B: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:9931/v1 \ --custom-model-id "Gramscii-IT/Narrator-4B: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"
Narrator-4B
Qwen3.5-4B fine-tuned to write the answers of a chat that answers only from what its tools found, served by llama.cpp as Q4_K_M.
A narrator has no authority in that chat. Deterministic tools produce rows and passages; the narrator is handed them as Markdown with the question, and writes what they hold with a numbered citation for each claim. The application checks every figure and citation of the answer against the rows and passages it was written from, and withholds an answer that states what they do not hold.
What is in this repository
| file | what it is |
|---|---|
narrator-4b-final-20261110-full-q4_k_m.gguf |
every language weight of Qwen3.5-4B trained on the tasks of the chat, Q4_K_M. 2,708,804,064 bytes, sha256 391cdb0ac2610a476e687f6b09c29a87a1d637872c8ef3783304f83b81bf6275 |
What it does
It writes the answer of a chat turn from the passages or rows the turn's tools returned, in Markdown, each claim with the number of the source that holds it, and says what the question asks that the sources do not hold. It reads a reply written in words against the options the chat offered, writes the formula a spreadsheet question asks for, and splits a question about documents into the aspects its search looks for.
llama-server -m narrator-4b-final-20261110-full-q4_k_m.gguf \
-c 65536 --jinja --reasoning off --parallel 1 \
--cache-type-k q8_0 --cache-type-v q8_0
Prose is sampled as Qwen3.5 asks for a general task, with a fixed seed
(temperature 0.7, top_k 20, top_p 0.8, presence_penalty 1.5, seed
0); an answer the caller compares with a closed set is decoded greedily.
What it is measured to do
On cases it never trained on. 38 real chat turns: its sources bear out the whole answer of 21 and part of 7; 1 is not borne out and 2 are withheld by the checks; 7 are answered with records and no prose. By what the turn asked of:
| borne out whole | in part | not, or withheld | |
|---|---|---|---|
| documents (9) | 7 | 2 | 0 |
| spreadsheets (4) | 4 | 0 | 0 |
| meeting notes (2) | 2 | 0 | 0 |
| web pages (5) | 3 | 2 | 0 |
| official statistics (11) | 5 | 3 | 3 |
Replies in words. Of 51 replies a reader wrote in words to a question of the chat, it reads 49 as the option they mean.
Spreadsheet formulas. The numbers of 25 formulas of 25 are right.
Questions about documents. On 14 real turns, the search its plan drives finds every passage the answer cited.
Routing ties. Asked to break a tie among the capabilities a chat offers, it chooses as its teacher does 91 times of 106, names none where the teacher names one 10 times, names one where the teacher names none 5 times, and never names another than the teacher's.
On 3,439 held-out examples of its tasks its loss is 0.224.
What it does not do
It does not read figures. Asked the kind of a figure it names none of the kinds offered, for all 24 figures of the measure: its language weights were trained on text alone.
Official statistics are its weakest answers. On 30 more real questions about official statistics it wrote 6 answers its rows bear out whole and 7 in part; 11 were not borne out and 6 were withheld by the checks.
It does not plan chains of steps. Of 100 briefs that need several steps, its plan is exact for 11 as the chat asks them and for 24 in the form it was taught.
The data it was trained on
367,991 training rows and 2,706 validation rows, private: the tasks of the chat as its own prompts ask them, each answered by a larger teacher model through the same prompts and kept only when it passed the application's checks and the dataset's qualification. 1,231.6M tokens in the examples, 46.4M of them in the answers.
Training
| base | Qwen/Qwen3.5-4B at 851bf6e8 |
| method | every weight of its language model trained; the vision weights are the base's |
| schedule | one pass: 11,500 updates of 32 examples, learning rate 1ร10โปโต, 100 warm-up steps |
| loss | on the answer only; 0.431 on the validation rows |
| hardware | eight NVIDIA A100 64 GB of the Leonardo supercomputer in Bologna, thanks to CINECA |
| release | Q4_K_M GGUF |
License
Apache-2.0, like Qwen3.5-4B.
- Downloads last month
- 115
4-bit