/ Модель

Характеристики

Лицензия
Apache 2.0
Базовая модель
gemma-4-E4B-it
Опубликована
22 ноя 2026

rumor-village-e4b-GGUF

Генерация текстаТекст → текст3 профессии

Дообученная и квантизованная Gemma 4 E4B Instruct для выбора действий и генерации реплик жителей игры Rumor Village на английском и испанском языках.

690скачиваний за 30 дней4лайкавеса обновлены22 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Rumor Village E4B GGUF — модель Manuel García Sanz, дообученная на базе Google Gemma 4 E4B Instruct для управления жителями игры Rumor Village. Она получает краткую структурированную карточку персонажа и выдаёт JSON с одним игровым действием и репликой для речевого облачка. Поддерживает английский и испанский языки; предназначена для пакетной работы в реальном времени через llama.cpp на потребительском GPU, в том числе офлайн после загрузки. Репозиторий содержит квантизованные веса GGUF Q4_K_M; лицензия — Apache-2.0.

Модель обучена под закрытый словарь игры и два сценария: выбор действия жителя и преобразование введённого игроком слуха в структурированный факт. В игровых сценариях действия модели проверяет движок, прежде чем применить их. В тестах автор сообщает о меньшем числе выдуманных воспоминаний и несвязных реплик по сравнению с базовой моделью, а также о более естественных ответах; результаты ограничены описанными тестами и игровым окружением.

Модель не предназначена для общего диалога, ответов на вопросы о мире или принятия решений без проверки движком: она опирается только на данные карточки и словарь Rumor Village. Для работы в игре нужны совместимые сборка llama.cpp и GPU; заявлена поддержка CUDA и Vulkan.

Сценарии применения

  • выбор игрового действия жителя по структурированной карточке
  • генерация короткой реплики для речевого облачка NPC
  • преобразование слуха игрока в структурированный игровой факт
  • пакетное управление персонажами симуляции деревни

Ограничения

Модель специализирована на закрытом словаре и состоянии Rumor Village; она не предназначена для общего общения или знаний о внешнем мире. Выдаваемые действия следует проверять игровым движком.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

rumor-village-e4b (GGUF)

Play in your browser game: Linux · Windows GitHub: manuelgscom/rumor-village GGUF: Q4_K_M · 5.34 GB made-up memories: 0 % license: Apache-2.0

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.

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 decisionshort card, 256 tokens (shared prefix cached)full prompt with instructions, 921 tokens
Made-up memories, frozen test0 % in both languages2.0 % (es), 2.3 % (en)
Failures (made up, contradiction, incoherent text)16.5× fewer (es), 5.0× fewer (en)—
Rejected actions1.0 % (es), 0.9 % (en): worse0.1 %
Time per simulated minute, 100 neighbors0.36 s (es), 0.37 s (en)0.73 s (es), 0.77 s (en)
VRAM, 100 neighbors, batch up to 164.4–4.6 GB4.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.

Frozen decision test, base against fine-tuned

LanguageVariantRejectedMade-up memoriesContradictionsIncoherent textFailures base / fine-tuned
esbase / fine-tuned0.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×
enbase / fine-tuned0.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):

LanguageScenarioRunsRejected (base / ft)Made-up memoriesIncoherent textFailures base / fine-tuned
estelephone-2050.14 % / 2.8 %5.1 % / 0 %0.35 % / 0 %no failures in the fine-tuned
esparty-2520.18 % / 0.59 %0.27 % / 0 %1.9 % / 0 %no failures in the fine-tuned
esparty-10010.28 % / 2.5 %0.02 % / 0 %3.6 % / 0 %no failures in the fine-tuned
entelephone-2050 % / 0.81 %9.6 % / 0 %0 % / 1.1 %17.7×
enparty-2520 % / 0.41 %0.65 % / 0 %0.62 % / 0 %12.7×
enparty-10010.05 % / 2.6 %0.04 % / 0 %0.22 % / 0 %no failures in the fine-tuned

Split screen, base against 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):

LanguageVariantNaturalnessCharacter
esbase / fine-tuned3.7 [3.5–4.0] / 4.2 [4.0–4.4]4.0 / 4.0
enbase / fine-tuned3.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:

Prompt tokens and time per simulated minute

MeasureLanguageBaseFine-tuned
Frozen test, full batch: decisions per secondes / en15.1 / 15.819.4 / 19.7
party-100, one day: decisionses / en7,927 / 7,7552,717 / 2,938
party-100: seconds of generation per simulated minute (p95)es0.73 (1.24)0.36 (0.65)
party-100: seconds of generation per simulated minute (p95)en0.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.

The batch panel

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 gameWhat did they think?
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."}
FieldValuesNotes
actionsay, go, noneAlways first
actgreet, tell, ask, byeOnly with say
factNumber in the "What you know" listWith tell, ask and go
claimwho, where, when, amount, guessWith tell and go: what the neighbor says, and which slots are a guess
textOne or two sentencesOnly 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.
  • go means "I plan to go": the engine writes the place and time of the claim in 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

Basegoogle/gemma-4-E4B-it
MethodLoRA 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
Conversionmerged bf16 → GGUF bf16 → Q4_K_M with llama.cpp
Data12,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 fromreal 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 fromtwo 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)
Leakage0 fingerprints shared with the frozen tests
Hardwareone 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

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

llama.cpp

Нельзя запустить

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
49fa5bc

0 моделей