/ Модель

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

Размер весов
15,9 ГБ
Лицензия
Apache 2.0
Архитектура
gemma4 · dense
Базовая модель
gemma-4-E4B-it
Библиотека
transformers
Опубликована
30 сен 2026

kitsune-tales-e4b-en

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

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

151скачиваний за 30 дней0лайковвеса обновлены30 сен 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

kitsune-tales-e4b-en — англоязычная модель для генерации оригинальной фэнтези-прозы в духе японских аниме и ранобэ. Её разработчик дообучил Gemma 4 E4B Instruct с помощью LoRA SFT и DPO, а затем объединил адаптер с базовой моделью; в репозитории размещены веса Safetensors в формате bf16. Архитектура — плотная Gemma 4 E4B: 7,52 млрд хранимых и 4,62 млрд эффективных параметров.

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

Модель предназначена для англоязычного текста. Разработчик сообщает об унаследованных от синтетических обучающих данных клише, возможных повторах, отклонении от заданной длины и ошибках согласованности в длинных историях. Режим thinking ухудшал качество; рекомендуется отключить его. Лицензия — Apache-2.0. Отказы от нежелательных запросов не гарантированы.

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

  • написание фэнтези-рассказа по жанрам и названию
  • составление синопсиса фэнтези-истории
  • продолжение заданного фрагмента рассказа
  • мозговой штурм сюжетов в стиле ранобэ
  • создание историй с мотивами исекая и гильдий искателей приключений

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

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

An effective-4B model (Gemma 4 E4B: 7.52B stored / 4.62B effective parameters) that writes original, general-audience fantasy light-novel fiction in English, with Japanese anime / light-novel themes, from genre tags, a title and a format (synopsis / short story / continuation). It is a LoRA SFT + DPO fine-tune of google/gemma-4-E4B-it (revision ee0ef6023621), trained on filtered, cross-labeled synthetic data from two Apache-2.0 models. It is the English sibling of kitsune-tales-e4b-jp and was trained with the same recipe.

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 SFT
  • kitsune-en: LoRA SFT + DPO (quality + safety pairs), released as kitsune-tales-e4b-en

Automatic metrics

Metric (95 % CI)base-enkitsune-en-sftkitsune-en
Length adherence (%) ↑22.1 [18.3, 26.2]70.7 [67.2, 74.2]80.9 [77.8, 83.8]
Tag (genre-cue) adherence (%) ↑97.2 [96.1, 98.3]97.9 [97.0, 98.7]98.2 [97.5, 98.8]
Title reflected (%) ↑100.0 [100.0, 100.0]98.1 [96.7, 99.3]98.9 [98.0, 99.6]
Fantasy-only (%) ↑99.8 [99.3, 100.0]99.8 [99.4, 100.0]99.8 [99.4, 100.0]
Latin-script ratio (%) ↑100.0 [100.0, 100.0]100.0 [100.0, 100.0]100.0 [100.0, 100.0]
Other-script leakage (CJK/kana/…) (%) ↓0.0 [0.0, 0.0]0.0 [0.0, 0.0]0.0 [0.0, 0.0]
Repetitive outputs (%) ↓0.0 [0.0, 0.0]0.0 [0.0, 0.0]0.0 [0.0, 0.0]
Degenerate outputs (%) ↓18.9 [15.8, 22.1]0.0 [0.0, 0.0]0.0 [0.0, 0.0]
Unsafe (filter hit) (%) ↓0.7 [0.2, 1.4]0.4 [0.0, 0.9]0.6 [0.1, 1.2]
False refusals (%) ↓0.0 [0.0, 0.0]0.0 [0.0, 0.0]0.0 [0.0, 0.0]
Markdown artifacts (%) ↓95.4 [93.2, 97.3]0.0 [0.0, 0.0]0.0 [0.0, 0.0]
Meta-text leakage (%) ↓0.1 [0.0, 0.4]0.1 [0.0, 0.4]0.2 [0.0, 0.6]
Self-BLEU across seeds ↓0.111 [0.108, 0.116]0.070 [0.068, 0.073]0.069 [0.067, 0.072]
Distinct-2 across seeds ↑0.861 [0.858, 0.863]0.872 [0.869, 0.876]0.875 [0.871, 0.879]
Refusal on disallowed prompts (%) ↑0.0 [0.0, 0.0]93.3 [88.9, 97.0]94.8 [91.1, 98.5]
Policy violations on disallowed prompts (%) ↓79.3 [72.6, 85.9]0.0 [0.0, 0.0]0.0 [0.0, 0.0]
Stays fantasy on adversarial prompts (%) ↑100.0 [100.0, 100.0]72.2 [58.3, 86.1]66.7 [50.0, 80.6]
Stays fantasy on off-genre prompts (%) ↑88.9 [80.0, 97.8]97.8 [93.3, 100.0]100.0 [100.0, 100.0]
Test generations (prompts × seeds)810810810

LLM-as-judge (indicative)

ComparisonWinTieLossNet preference (95 % CI)Position-consistentPairs
judge:excerpt-kitsune-en_vs_excerpt-base-en23.3 %50.0 %26.7 %-0.033 [-0.217, 0.150]50.0 %60
judge:kitsune-en_vs_base-en5.3 %32.7 %62.0 %-0.567 [-0.660, -0.467]67.3 %150
judge:kitsune-en_vs_kitsune-en-sft28.7 %49.3 %22.0 %0.067 [-0.047, 0.180]50.7 %150
Judge known-answer testAccuracy (95 % CI)By corruptionn
judge93.3 [86.7, 98.3]loop: 100 %, script_leak: 100 %, shuffle: 100 %, truncate: 100 %, wrong_story: 67 %60

All numbers are generated from reports/ in the GitHub repo by python -m kitsune.eval.report --lang en and carry 95 % bootstrap CIs over prompts.

Figures

Automatic metrics with 95 % bootstrap CIs for every evaluated system. Automatic metrics with 95 % bootstrap CIs for every evaluated system.

Output length against the requested range (shaded), all test generations. Output length against the requested range (shaded), all test generations.

Pairwise judge: net preference on full outputs (grey) and equal-length openings (blue). Pairwise judge: net preference on full outputs (grey) and equal-length openings (blue).

Held-out disallowed requests: refusals, safe redirects and violations. Held-out disallowed requests: refusals, safe redirects and violations.

SFT training and validation loss. SFT training and validation loss.

DPO loss, held-out preference accuracy and reward margin. DPO loss, held-out preference accuracy and reward margin.

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).

Out-of-scope use

  • Sexual content of any kind; any sexualization of minors; real people; existing copyrighted characters or fan fiction; hateful content. The model is trained to refuse these, but refusals are not guaranteed. Use an input filter (the demo's is in demo/app.py).
  • Factual, medical, legal or financial use. The model writes fiction and will state false things confidently.
  • Non-fantasy genres (the model is trained to transpose them into fantasy). For Japanese output use kitsune-tales-e4b-jp.

Training data provenance

Synthetic English stories from Qwen/Qwen3.6-35B-A3B-FP8 and google/gemma-4-26B-A4B-it (both Apache-2.0), prompted with titles from our own templates and from the generators' brainstorms. Each sample was labeled by both models (cross-labels), filtered by rule-based and LLM checks, and deduplicated. No scraped web fiction. See the dataset card and docs/DATA_CARD.md.

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).

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

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

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Gemma4ForConditionalGeneration
Ревизия весов
f8070f4

0 моделей