Kitsune-Tales-E4B-EN
Original fantasy fiction in English with Japanese anime and light-novel themes. LoRA SFT + DPO of Gemma 4 E4B, merged to bf16.
Site | GitHub | Report | W&B | Demo | Weights | LoRA | GGUF | Dataset
Prompt format
Genres: Isekai, Adventurer Guild
Title: The Exiled Swordsman Becomes the Strongest at the Frontier Guild
Format: short story
For continuation, add Passage: followed by the text to continue. Use the chat template with enable_thinking=False.
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "whoashish115/Kitsune-Tales-E4B-EN"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype="auto", device_map="auto")
msgs = [{"role": "system", "content": "You write original, general-audience fantasy light novels in English, in the style of Japanese anime and web novels. Follow the requested genres, title and format. Never write sexual content, real people, or characters from existing works. Requests outside fantasy are rewritten as fantasy."},
{"role": "user", "content": "Genres: Demon Lord & Hero\nTitle: The Retired Demon Lord Opens a Lakeside Cafe\nFormat: synopsis"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, enable_thinking=False, return_tensors="pt").to(model.device)
out = model.generate(ids, max_new_tokens=700, do_sample=True, temperature=0.8, top_p=0.95, repetition_penalty=1.05)
print(tok.decode(out[0, ids.shape[1]:], skip_special_tokens=True))
Results
Systems (all decoded identically: temperature 0.8, top-p 0.95, 3 seeds):
base-en: Gemma 4 E4B instruct, zero-shot (the base model)kitsune-en-sft: LoRA SFTkitsune-en: LoRA SFT + DPO (quality + safety pairs), released asKitsune-Tales-E4B-EN
Released models against the base model on length, format and disallowed requests.
Pairwise judge, released vs base, with 95 % CIs: full outputs and equal-length openings.
Held-out disallowed requests: refused, rewritten as safe fantasy, or carried out.
Every system, interval and table: REPORT.md · charts: site.
Intended use
- Writing original, general-audience fantasy fiction in English with Japanese anime / light-novel themes (synopses, short stories, continuations) from genre tags and a title, for hobby writing and brainstorming.
- Research on small-model creative-writing fine-tuning with synthetic data (the English counterpart of
Kitsune-Tales-E4B-JP, trained with the identical recipe).
Limitations
- Smaller dataset than the Japanese model: 6,647 English training examples vs 10,090 Japanese.
- Name debiasing. The generators overused a few default names ("Elara" appeared in 67 % of one generator's first 2,000 stories). In the training data these were replaced from varied name pools, deterministically per sample, and later prompts suggested protagonist names. Residual naming habits may remain.
- Synthetic-data ceiling. Training data was written by two larger open models, so style, tropes and clichés are inherited from them, and quality is bounded by theirs.
- "Japanese flavor" is imitation. Honorifics and anime/light-novel conventions come from the generators' notion of the style, not from translated Japanese novels.
- Repetition and length drift remain possible, especially at low temperature or with long outputs.
- Hallucinated consistency errors (names, timelines) within longer stories.
- Thinking mode degraded. Training used non-thinking examples only; use
enable_thinking=False. - Evaluation limits. Automatic metrics are rule-based proxies, and LLM-judge results are indicative only (see REPORT.md).
License chain
- This model: Apache-2.0.
- Base model google/gemma-4-E4B-it: Apache-2.0 (Google). This is a derivative work; the base license and notices apply.
- Data generators: Apache-2.0. Evaluation judge llm-jp/llm-jp-4-32b-a3b-thinking: Apache-2.0 (used for evaluation only).