Firelight DM 12B (early release)

Firelight DM is a local dungeon master for NeverEndingQuest: a never-ending adventure, told on your own graphics card, that plays by the rules.

You make a character, step into a world, and the dungeon master tells your story. It answers whatever you try, and your party, your gear and your history carry on from one adventure into the next. What keeps that story accurate is the Firelight Engine, the rules engine underneath.

This is an early-release fine-tune of Google's Gemma 4 12B, run through LM Studio. This first version is tuned for one job, character creation, and it is not fault-free. Later versions of the same model will cover more of the game.

NeverEndingQuest: the adventure

NeverEndingQuest is a tabletop-style adventure with an AI dungeon master. Talk to it as you would to a person running a game: ask where you can go, bargain with an innkeeper, pick a fight or talk your way out of one. When an adventure ends, the next one begins with the same characters and everything they carry. It plays with a hosted model or with a local one through LM Studio.

The Firelight Engine: why the story holds up

The Firelight Engine, by Eternal Tavern, is a compiled rules engine. It rolls the dice, adds the totals, and tracks hit points, inventory, conditions, spell slots and the clock by the SRD 5.2.1 rules. The dungeon master tells the story; the engine decides what is true. So a hit is a hit, your gold is your gold, and what happened yesterday still happened today.

That is also what makes a small local model usable as a dungeon master. When the model gets a rule wrong, the engine refuses the reply and the model tries again, so a mistake does not reach your character sheet. Firelight DM is tuned to work inside that loop: to offer what the rules allow, keep what you chose, and say it well.

File

File Size Use
firelight-dm-12b-r1-Q6_K.gguf 9.8 GB The only file published. Fits fully on a 12 GB card with the settings below.

Why this exists: where stock Gemma 4 12B struggled

Running character creation on the stock model in LM Studio, we saw:

  • many replies refused by the game's rules engine, so a character took far more requests to finish;
  • choices the player had already made being lost or changed;
  • the same question or the same wrong value repeated turn after turn;
  • the guide naming the character without being asked;
  • long waits, and now and then a reply that ran on until the context was full.

What changed

Same game build, same LM Studio settings, 12 GB laptop card (RTX 4080 Laptop).

Stock Gemma 4 12B (Q4_0) This model (Q6_K)
Error against known-good guide replies (lower is better) 0.905 0.375
Picks the same next word as the known-good reply 82.0 % 89.1 %
Requests needed per character 37 to 64 13 to 37
Replies refused by the rules engine, per character 8 to 21 0 to 11
Characters finished and saved correctly - 6 of 6

The first two rows are measured at 512 points in character-creation replies. The request and refusal rows compare different characters, so read them as a rough guide. In the six test characters every saved sheet matched what the player asked for, with no stalls and no cut-off replies; a character took 4 to 10 minutes, and the first words arrived within about 16 seconds.

Why only Q6_K: where the smaller sizes land

Each size compared with the full-precision tuned model at 48 points inside real replies.

Size File Same next word as the full model Average drift (lower is better)
Full precision 23.8 GB 47 of 48 0.02
Q6_K (published) 9.8 GB 45 of 48 0.06
Q5_K_M 8.5 GB 46 of 48 0.10
Q4_K_M 7.4 GB 44 of 48 0.17
Q4_0 7.0 GB 37 of 48 0.62

The 4-bit sizes lose a real part of the tuning (Q4_0 most of all), and Q5_K_M saves little space for more drift. Q6_K keeps the tuning and still fits a 12 GB card, so it is the one file here.

LM Studio settings (required)

Setting Value Why
Max Concurrent Predictions 1 (the default is 4) With 4, each slot reserves its own memory and the model no longer fits on a 12 GB card.
Context Length up to 73,728 on a 12 GB card The largest size that stays fully on the card. Character creation used about 25,000.
GPU Offload Max (all layers) Keep the whole model on the graphics card.
Thinking / reasoning Off The game turns it off itself. Anywhere else, send reasoning_effort: "none" or the model will think first.
KV cache Default (full precision) Do not quantize it.
Everything else LM Studio defaults Including temperature.

Speculative decoding has not been tested with this model.

Memory and speed (RTX 4080 Laptop, 12 GB, one slot, all layers on the card)

Context Graphics memory in use First words Reading Writing
49,152 11.4 GB 12 s 1,664 tok/s 33.5 tok/s
65,536 11.7 GB 12 s 1,638 tok/s 33.4 tok/s
73,728 11.8 GB (peak) 12 s 1,640 tok/s 33.3 tok/s
81,920 spills off the card 17 s 1,195 tok/s 32.5 tok/s

Timed on a 20,000-token request. About 0.5 GB of the card was in use by other programs. Tested on LM Studio 0.4.28.

Known faults

  • It can still state a wrong value (gold, a score, an alignment) and hold to it until the player objects.
  • It once presented made-up dice results as a roll; the game refused them and the real roll was used.
  • It can ask the same question more than once.
  • This version is tuned for character creation only. Nothing is claimed yet for running the adventure itself.

If something the guide says looks wrong, say so: in testing, one objection fixed it.

Licence

Apache 2.0, as for the base model, Google's Gemma 4 12B. This is a modified version of that model. See the Gemma 4 licence page linked above.

Downloads last month
158
GGUF
Model size
12B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for LoupGarou/Firelight-DM-12B-GGUF

Quantized
(96)
this model