Gemma-4-31B-Animus-V15.0
Send me your support to help me feed the data beast! also taking comissions for universe specific models
Support on Ko-fiCritical: Chat Template & Setup
This model uses the standard Gemma 4 chat template. The structure is complex and requires specific configuration for correct performance. Please read the following sections carefully.
Human-Readable Format:
<bos><|turn>system
<|think|>
{system prompt}<turn|>
<|turn>user
{user message}<turn|>
<|turn>model
<|channel>thought
{reasoning}<channel|>{response}<turn|>
⚠️ Important: Use Chat Completion, Not Text Completion
Strongly recommended: Always use the /v1/chat/completions endpoint. Correct formatting is handled automatically by the server.
Text completion (/v1/completions) is currently broken for impersonations without a custom patch. Sending the context as a user prompt and asking the model to generate the response can produce a malformed turn structure.
Reasoning with text completion and Llama.cpp specific: You must prefill the response with start_reply_with: <|channel>thought + \n (a new line) or reasoning will not trigger (you will get blank responses if you enabled reasoning and did not prefill)
Chat Completion API Configuration (SillyTavern, etc.)
When using an OpenAI-compatible API, you must add custom parameters to control thinking and ensure correct token handling. In frontends like SillyTavern, add the following JSON to the "Custom Parameters" (or extra_body) field in your connection settings:
chat_template_kwargs: {enable_thinking: true,
preserve_thinking: false}
skip_special_tokens: false
enable_thinking: true: Activates the model's chain-of-thought reasoning. Change tofalseto disable it for faster, more direct responses.skip_special_tokens: false: This is critical. It prevents the API from stripping away the special tokens (like<|channel>and<channel|>) that are required for the model's chat template to work correctly.preserve_thinking: false: Optional, Default: false. newly added to the chat template, It allows reusing previous reasoning turns in
General Notes
- The model retains the vision adapter from the base Gemma 4 31B and supports image inputs.
- Both thinking and no-thinking modes were included in training data — use
enable_thinkingto select at runtime. - The
<|think|>token in the system turn is what activates chain-of-thought reasoning at the architecture level.
Quantized Models
The quantized model files are available for download. Click the button below to view the files.
Download GGUF Files → Download EXL3 Files →Character Card & Lore Book
For the best roleplaying experience, it is highly recommended to use the provided character card and lore book. These files help guide the model's persona and provide rich, in-universe context.
Download Files →Sampler Presets
For a seamless setup in SillyTavern, you can download pre-configured sampler presets. These are tuned to provide an optimal balance between creativity and narrative coherence for this model.
Simply download the .json file below and import it into SillyTavern's sampler presets menu.
Temperature: 1.0
Min P: 0.02
Roleplay Format Guide
For the best results, use this structured format. This helps the AI clearly distinguish between actions, inner thoughts, dialogue, and — when reasoning is enabled — narrative planning.
Actions / Descriptions*He walked across the room and stared out the window.*
Inner Thoughts
*-I wonder what she's thinking.-*
Dialogue
Alex (Curious): "What do you see out there?"
Reasoning / Narrative Planning (CoT)
When the reasoning channel is active, the model uses it as a director's notebook — planning what should happen and why, before narrating the scene. This is CYOA/GM-style intent planning, not deliberative self-critique.
Example:
*The user chose to open the door despite my warnings.
I'll reward this bold choice by revealing something
unexpected — not a monster, but an empty room, letting
the tension build through absence rather than action.
Sensory focus: dust, stale air, distant echo.*
Reasoning traces are intentionally short (~100–200 tokens)
Roleplay Example
Click the button below to view a full, unedited chatlog demonstrating the model's narrative style and character portrayal.
View Chatlog Example →Model Description
This is Version 15.0 in the Animus series. Built on google/gemma-4-31B-it, this release features a significantly expanded dataset and revised training composition compared to prior versions.
The Supervised Fine-Tuning (SFT) dataset consists of 122 million tokens across 22,000 samples, structured to balance standard interactions, formatting adherence, and complex narrative paths:
- Standard Roleplay & Lore (12,000 samples): Focused on in-character interactions, dialogue, and general world-building.
- NSFW Scenarios (4,000 samples): Included to improve narrative flexibility in mature or adult-themed contexts.
- Bad Endings (4,000 samples): Designed to handle darker themes, conflict resolution, and complex narrative outcomes.
- Instruction Formatting (2,000 samples): Q&A pairs tailored to improve structured task adherence.
Additionally, Version 15.0 incorporates 71 million tokens of Chain of Thought (COT) reasoning across 16,000 samples. These reasoning blocks function similarly to "dungeonmaster notes," helping the model plan logical progression and thematic consistency behind the scenes before outputting responses.
The combined dataset aims to provide steady prose quality, better thematic consistency, and an improved grasp of in-universe lore.
Formatting Note: The model remains highly sensitive to the formatting of the system prompt and the initial turn. If the first assistant message is brief, subsequent responses will generally match that length.
V15.0 Training Process
V15.0 was fine-tuned using a two-stage LoRA recipe on disjoint datasets, designed to first establish a stable prose/narration baseline, then add a narrative-planning reasoning channel on top without disturbing the Phase 1 behavior. All training was performed locally on consumer hardware.
After phase 1 was completed, modelstock was executed on the checkpoints, using epoch 0.4 as the base, and every subsequent checkpoints as the stock, that merged model was then used as the base for phase 2.
- Base Model:
google/gemma-4-31B-it - Hardware: 4 × RTX 3090 (local workstation)
- Framework: Axolotl
- Total training time: ~362 hours (~15 days) of wall-clock compute
Phase 1 — SFT (Prose & Instruction-Following)
- LoRA rank: 128
- Epochs: 2
- Training time: ~290 hours
Phase 2 — CoT Specialization (Narrative Reasoning)
- LoRA rank: 32
- Epochs: 1
- Training time: ~72 hours
Intended Use & Limitations
- Intended Use: The primary purpose of this model is for creative roleplay within the Wings of Fire universe. However, user feedback indicates it is also highly effective for general-purpose roleplaying.
- Limitations & Quirks:
- Performance on tasks outside of its training domain (general knowledge, coding, etc.) is not guaranteed and will likely be poor.
- Versatility: While it appears to be only a Wings of Fire tuned model, users have reported it is very capable of performing normal roleplay with other settings and characters.
- Dragon Anatomy Bias (Expected Behavior): The model has a strong prior toward draconic anatomy — wings, claws, talons, scales, snouts, tails — even when roleplaying non-dragon characters. This is intentional and expected: human-anatomy terms (hands, fingers, feet, hair, skin, etc.) were heavily filtered out of the training data to preserve the Wings of Fire setting's integrity. If you want the model to write human or humanoid characters cleanly, provide explicit anatomical cues in the character card or system prompt (e.g. "a human with hands and fingers, no wings or claws"), otherwise expect draconic descriptors to leak through.
- The model may "hallucinate" or generate plausible but non-canonical information, especially when pushed outside the established "what-if" scenarios.
- Content: The training data includes mature and darker themes from the Wings of Fire series, such as conflict, character death, and moral ambiguity. The model is capable of generating content reflecting these themes. As always, it is up to the user what they do with it.
- Formatting: Training data was cleaned to remove narrative artifacts like
**scene transitions**. The model should now produce cleaner prose. - Safety: This model has not undergone additional safety alignment beyond what was included in its base model. Standard responsible AI practices should be followed.
Acknowledgements
- Credit to Google for the powerful gemma-4-31B-it model.
- Credit to Google for the Gemini Pro model, used in dataset generation.
- Credit to Anthropic for sonnet 4.5, used in dataset generation.
- Credit to Hangzhou DeepSeek Artificial Intelligence for the deepseek model, used in dataset generation.
- Credit to Moonshot AI for the Kimi K2 model, used in dataset generation.