Instructions to use manuelgscom/rumor-village-e4b-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 manuelgscom/rumor-village-e4b-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 manuelgscom/rumor-village-e4b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf manuelgscom/rumor-village-e4b-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 manuelgscom/rumor-village-e4b-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf manuelgscom/rumor-village-e4b-GGUF: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 manuelgscom/rumor-village-e4b-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf manuelgscom/rumor-village-e4b-GGUF:Q4_K_M
Use Docker
docker model run hf.co/manuelgscom/rumor-village-e4b-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use manuelgscom/rumor-village-e4b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "manuelgscom/rumor-village-e4b-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": "manuelgscom/rumor-village-e4b-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/manuelgscom/rumor-village-e4b-GGUF:Q4_K_M
- Ollama
How to use manuelgscom/rumor-village-e4b-GGUF with Ollama:
ollama run hf.co/manuelgscom/rumor-village-e4b-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use manuelgscom/rumor-village-e4b-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf manuelgscom/rumor-village-e4b-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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "manuelgscom/rumor-village-e4b-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use manuelgscom/rumor-village-e4b-GGUF with Docker Model Runner:
docker model run hf.co/manuelgscom/rumor-village-e4b-GGUF:Q4_K_M
- Lemonade
How to use manuelgscom/rumor-village-e4b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull manuelgscom/rumor-village-e4b-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.rumor-village-e4b-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use manuelgscom/rumor-village-e4b-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 manuelgscom/rumor-village-e4b-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:9931/v1 hermes config set model.default manuelgscom/rumor-village-e4b-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use manuelgscom/rumor-village-e4b-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf manuelgscom/rumor-village-e4b-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:9931/v1 \ --custom-model-id "manuelgscom/rumor-village-e4b-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"
rumor-village-e4b (GGUF)
A LoRA fine-tune of Google's Gemma 4 E4B, merged and quantized to GGUF Q4_K_M, that drives every villager of Rumor Village, a rumor simulation game for Linux and Windows. Each neighbor of a 3D village of up to 100 sends the model a short card (who they are, where, who is in front of them, what they know) and gets back one JSON action: greet, tell a rumor, ask about it, say goodbye, go somewhere or do nothing, plus a sentence for the speech bubble. All the neighbors decide in one batch on a single consumer GPU, offline, in real time. It reads and writes English and Spanish.
- Author: Manuel GarcΓa Sanz
- Website: https://manuelgs.com/en/rumor-village/
- Web demo: https://manuelgs.com/en/rumor-village/demo/ (the game in your browser, Without AI: rules instead of this model)
- The game and its source code: https://github.com/manuelgscom/rumor-village (download)
- File:
gemma-4-E4B-it-rumor-Q4_K_M.ggufΒ· 5,335,287,008 bytes Β· SHA-256bd894cbced4f3cde16b849183aafaa62bc020312cb3be487e47f8b7f2398a280 - In the game: downloaded once from this repository by the game itself (checked with SHA-256, resumable). After that, the game never goes online.
The trailer, 1080p at 60 fps: real games played With AI with this model, edited by code from the game's own event logs.
The technical clip, 1080p at 60 fps: 100 neighbors deciding in one batch, the card the model read, the JSON it answered and the engine's verdict, base against fine-tuned.
What it does
every neighbor, every simulated minute
ββββββββββββββββββββββββββ ββββββββββββββββββββββββββββ βββββββββββββββββββββββββ ββββββββββββββββββββββ
β card: who I am, what I ββββΊβ rumor-village-e4b ββββΊβ one JSON action, ββββΊβ the engine checks ββββΊ memory, map,
β know, who is near me β β (llama.cpp, all neighbors β β forced by a grammar: β β it against the β bubbles,
β ~256 tokens, shared β β in one batch) β β say / go / none + text β β rules: applies or β event log
β prefix cached β β β β β β rejects it β
ββββββββββββββββββββββββββ ββββββββββββββββββββββββββββ βββββββββββββββββββββββββ ββββββββββββββββββββββ
the model proposes ββββββββββββββββββββββββββββββββββββββΊ the engine decides
- The model proposes; the engine decides. No action is applied without validation, and the state travels as structured data: no neighbor ever decides from the text of a bubble.
- Two tasks.
decide: the action of a neighbor from its card.extract: turn a rumor the player types in their own words ("party tonight in the square at nine") into a structured fact. - Trained for one contract. It is not a general chat model. It follows the card format of the game and answers in the game's closed vocabulary (places, neighbors, kinds of news).
| Fine-tuned (this model) | Gemma 4 E4B without fine-tuning | |
|---|---|---|
| Prompt per decision | short card, 256 tokens (shared prefix cached) | full prompt with instructions, 921 tokens |
| Made-up memories, frozen test | 0 % in both languages | 2.0 % (es), 2.3 % (en) |
| Failures (made up, contradiction, incoherent text) | 16.5Γ fewer (es), 5.0Γ fewer (en) | β |
| Rejected actions | 1.0 % (es), 0.9 % (en): worse | 0.1 % |
| Time per simulated minute, 100 neighbors | 0.36 s (es), 0.37 s (en) | 0.73 s (es), 0.77 s (en) |
| VRAM, 100 neighbors, batch up to 16 | 4.4β4.6 GB | 4.3β7.0 GB |
Results
Both sides in Q4_K_M, with the same seeds. The base model gets its full prompt with instructions; the fine-tuned one, its short card. Frozen decision test: 1,000 cards per language that never entered the training data (checked by fingerprint), with the 95 % interval from resampling the cards.
| Language | Variant | Rejected | Made-up memories | Contradictions | Incoherent text | Failures base / fine-tuned |
|---|---|---|---|---|---|---|
| es | base / fine-tuned | 0.10 % [0.00β0.30] / 1.0 % [0.5β1.7] | 2.0 % [1.2β2.9] / 0 % | 0.60 % [0.20β1.10] / 0.20 % [0.00β0.50] | 0.80 % [0.30β1.40] / 0 % | 16.5Γ |
| en | base / fine-tuned | 0.10 % [0.00β0.30] / 0.90 % [0.40β1.50] | 2.3 % [1.4β3.3] / 0 % | 0.80 % [0.30β1.40] / 0.10 % [0.00β0.30] | 0.50 % [0.10β1.00] / 0.60 % [0.20β1.10] | 5.0Γ |
In the village (one run of the scenario per seed, the same seeds for both variants; rates over decisions, or over the slots that were said):
| Language | Scenario | Runs | Rejected (base / ft) | Made-up memories | Incoherent text | Failures base / fine-tuned |
|---|---|---|---|---|---|---|
| es | telephone-20 |
5 | 0.14 % / 2.8 % | 5.1 % / 0 % | 0.35 % / 0 % | no failures in the fine-tuned |
| es | party-25 |
2 | 0.18 % / 0.59 % | 0.27 % / 0 % | 1.9 % / 0 % | no failures in the fine-tuned |
| es | party-100 |
1 | 0.28 % / 2.5 % | 0.02 % / 0 % | 3.6 % / 0 % | no failures in the fine-tuned |
| en | telephone-20 |
5 | 0 % / 0.81 % | 9.6 % / 0 % | 0 % / 1.1 % | 17.7Γ |
| en | party-25 |
2 | 0 % / 0.41 % | 0.65 % / 0 % | 0.62 % / 0 % | 12.7Γ |
| en | party-100 |
1 | 0.05 % / 2.6 % | 0.04 % / 0 % | 0.22 % / 0 % | no failures in the fine-tuned |
Split screen in the game's viewer, same village and seed: the base model gets stuck in endless chats (143 at 21:05); the fine-tuned one closes them and makes nothing up.
Dialogue quality (the same frozen test, 100 answers per row, scored 1β5 by an LLM judge, with the 95 % interval):
| Language | Variant | Naturalness | Character |
|---|---|---|---|
| es | base / fine-tuned | 3.7 [3.5β4.0] / 4.2 [4.0β4.4] | 4.0 / 4.0 |
| en | base / fine-tuned | 3.6 [3.4β3.8] / 4.1 [3.9β4.3] | 4.0 / 4.0 |
Speed on an RTX 5070 Ti (16 GB), llama.cpp with CUDA, batch up to 16:
| Measure | Language | Base | Fine-tuned |
|---|---|---|---|
| Frozen test, full batch: decisions per second | es / en | 15.1 / 15.8 | 19.4 / 19.7 |
party-100, one day: decisions |
es / en | 7,927 / 7,755 | 2,717 / 2,938 |
party-100: seconds of generation per simulated minute (p95) |
es | 0.73 (1.24) | 0.36 (0.65) |
party-100: seconds of generation per simulated minute (p95) |
en | 0.77 (1.29) | 0.37 (0.65) |
The fine-tuned model closes conversations instead of looping, so a day needs about a third of the decisions; in the village its batch runs emptier, which is why its decisions per second there are lower (9.2β9.5 against 11.0β11.8) while each simulated minute takes half the time.
In the game
Rumor Village is one program for Linux (AppImage) and Windows (.zip), in a CUDA and a Vulkan build, with llama.cpp embedded. On the first start it checks the graphics card. If the card can run the AI, it downloads this file (5.34 GB) inside the game while the player plays Without AI, checks its SHA-256 and turns on With AI. The download resumes if it is cut. Without a usable GPU, the game plays Without AI: the same village, moved by rules with dice.
![]() |
![]() |
| Prepare the game: the rumor, whom you tell it to, each neighbor's character. | "What did they think?": the card the model read and what it decided, in plain words. |
The contract
The card (prefix shared by every card of a village, then the neighbor's situation):
Places: {places}.
Neighbors: {neighbors}.
You are Isabel, a farmer (discreet).
It is Tuesday, 10:59. You are at the river.
In front of you is Rafael, a neighbor and coworker.
What you know:
[1] party Β· who: Elena Β· where: bakery Β· when: tomorrow 12:30 Β· amount: 200 people
You know it first-hand. You have already told Rafael.
In this conversation:
Rafael greeted you.
Decision: turn.
The action (one JSON object; Spanish example from the contract):
{"action":"say","act":"tell","fact":1,
"claim":{"who":null,"where":"plaza","when":"hoy 22:00","amount":null,"guess":["when"]},
"text":"ΒΏSabes que hay fiesta en la plaza? Creo que era a las diez."}
| Field | Values | Notes |
|---|---|---|
action |
say, go, none |
Always first |
act |
greet, tell, ask, bye |
Only with say |
fact |
Number in the "What you know" list | With tell, ask and go |
claim |
who, where, when, amount, guess |
With tell and go: what the neighbor says, and which slots are a guess |
text |
One or two sentences | Only with say; always last, so generation can stop before it when no one is watching that neighbor |
- There is no recipient field: the engine knows who is in front.
gomeans "I plan to go": the engine writes the place and time of theclaimin the neighbor's agenda. That is where people arriving late or at the wrong place come from.- In the game, generation is constrained by a GBNF grammar built from the village's vocabulary, and every action is validated against the neighbor's memory before it is applied.
- The engine that writes the cards, the grammar and the validator are in the GitHub repository (C++, MIT).
Training
| Base | google/gemma-4-E4B-it |
| Method | LoRA in bf16 (rank 16, alpha 32, every linear layer of the text model), loss on the answer only, best checkpoint by validation loss, 2 epochs, merged into the base |
| Conversion | merged bf16 β GGUF bf16 β Q4_K_M with llama.cpp |
| Data | 12,146 card β answer pairs: 10,184 decide and 1,962 extract; 6,032 Spanish and 6,114 English; 11,539 for training and 607 for validation |
| Where the cards come from | real runs of the village, rebuilt from their event logs by the engine with the same code that writes them live, so the training format is the production format |
| Where the answers come from | two frontier models of different families, half of the cards each; every answer validated by the engine against the neighbor's memory and the vocabulary (254 discarded) |
| Leakage | 0 fingerprints shared with the frozen tests |
| Hardware | one rented RTX 5090 (32 GB) |
Intended use
- For: running the neighbors of Rumor Village, or studying small fine-tuned models as agents behind a validating engine: structured actions, a closed vocabulary, batched decoding on a consumer GPU.
- Not for: general chat, facts about the world, or any decision applied without validation. It knows only the village in its card.
License
Apache-2.0, like Gemma 4 E4B (LICENSE, NOTICE). Fine-tuned from Google's Gemma 4 E4B (gemma-4-E4B-it) for Rumor Village and quantized to Q4_K_M; the modifications are the fine-tuning and the conversion. The game's code is MIT.
Made by Manuel GarcΓa Sanz Β· https://manuelgs.com/en/rumor-village/ Β· web demo Β· Rumor Village on GitHub
- Downloads last month
- 646
4-bit
Model tree for manuelgscom/rumor-village-e4b-GGUF
Evaluation results
- Made-up memories (%) on Rumor Village frozen decision test (en, 1,000 cards)test set self-reported0.000
- Contradictions (%) on Rumor Village frozen decision test (en, 1,000 cards)test set self-reported0.100
- Incoherent text (%) on Rumor Village frozen decision test (en, 1,000 cards)test set self-reported0.600
- Rejected actions (%) on Rumor Village frozen decision test (en, 1,000 cards)test set self-reported0.900
- Made-up memories (%) on Rumor Village frozen decision test (es, 1,000 cards)test set self-reported0.000
- Contradictions (%) on Rumor Village frozen decision test (es, 1,000 cards)test set self-reported0.200
- Incoherent text (%) on Rumor Village frozen decision test (es, 1,000 cards)test set self-reported0.000
- Rejected actions (%) on Rumor Village frozen decision test (es, 1,000 cards)test set self-reported1.000





