cgg507/Qwen3.8-Flash-Next-GM-CoT-LoRA
LoRA adapter for text role-playing games and Game Master scenarios
2 min read
This release introduces an experimental LoRA adapter (a lightweight add-on for a base model) for Qwen/Qwen3.8-Flash-Next, trained on long tabletop RPG dialogues and text adventures. The model is tuned to act as a Game Master with a mandatory reasoning block (GM-CoT) on every assistant step. The adapter modifies attention, all routed experts in the Mixture of Experts architecture, and trains the routers from scratch. The model is optimized for creative writing and balanced role-playing.
Key features
- GM scenario specialization: trained on 720 long text adventure dialogues featuring detailed reasoning processes in every assistant response.
- Deep MoE adaptation: targets all 512 experts across 48 MoE layers and fully trains the model routers.
- Metric improvements: on the validation hold-out set, the validation loss dropped from 1.274 (base) to 1.055.
- PEFT compatibility: the adapter is packaged for standard transformers and peft libraries using specialized parameter wrappers.
What you can do
- Run text campaigns: host an interactive text role-playing game or tabletop simulation as the Game Master.
- Generate narrative stories: use the model to create long literary scenes focusing on logic and atmosphere.
- Test reasoning behavior: explore how models with long thinking blocks perform in specific genres.
Example
import torch
from transformers import AutoModelForImageTextToText
from peft import PeftModel
base = AutoModelForImageTextToText.from_pretrained(
"Qwen/Qwen3.8-Flash-Next", dtype=torch.bfloat16, device_map="auto")
model = PeftModel.from_pretrained(base, "cgg507/Qwen3.8-Flash-Next-GM-CoT-LoRA")
Read more
DetailsBenchmarks: loss on the held-out GM-CoT dropped to 1.055 (compared to 1.274 for base).
Limitations: potential reasoning loops during long sessions; limiting thinking tokens is recommended.
Training: 1 epoch (234 steps, stopped at step 208), using Muon for LoRA and AdamW for routers.










Comments