/ Модель

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

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

kitsune-tales-e4b-jp

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

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

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

kitsune-tales-e4b-jp — дообученная Ashish модель на базе Google Gemma 4 E4B Instruct. Это текстовая модель генерации художественного текста: по жанровым тегам и названию она пишет на японском языке оригинальные фэнтезийные синопсисы, короткие рассказы и продолжения. Для продолжения нужно передать исходный отрывок; рекомендуется использовать шаблон чата с отключённым режимом рассуждений. Обучение выполнено методом LoRA SFT на отфильтрованных синтетических данных, а выпущенная версия объединена с базовой моделью и сохранена в формате bf16. В метаданных указан формат Safetensors и архитектура семейства Gemma 4; базовая Gemma 4 E4B хранит 7,52 млрд параметров, из которых эффективны 4,62 млрд.

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

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

  • Создание синопсиса фэнтезийной истории по жанровым тегам и названию
  • Написание короткого японского фэнтезийного рассказа
  • Продолжение японского фэнтезийного отрывка
  • Подбор идей и сюжетных заготовок для лайт-новеллы
  • Практика написания японской фэнтезийной прозы

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

kitsune-tales-e4b-jp

Original fantasy light-novel fiction in Japanese. LoRA SFT 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 Japanese fantasy light-novel fiction from genre tags, a title and a format (あらすじ / 短編 / 続き). It is a LoRA SFT fine-tune of google/gemma-4-E4B-it (revision ee0ef6023621), trained on filtered synthetic data from Apache-2.0 models, on a $42 compute budget.

Why SFT and not SFT + DPO. A DPO stage on the model's own samples (1,709 rule and teacher-judged pairs) was trained and evaluated (kitsune in the tables below). The judge rated it level with SFT (net preference +0.00), and it followed length requests better. But its policy-violation rate on held-out disallowed requests was 20.7 %, against 5.2 % for SFT: the preference data had no refusal pairs. A release rule fixed before the judge results (D-029) therefore ships the SFT model.

Prompt format

ジャンル: 異世界転生, 冒険者ギルド, ハイファンタジー
タイトル: 追放された剣士は二度目の人生で最強になる
形式: 短編

For 続き (continuation), add 本文: followed by the passage. Use the chat template with enable_thinking=False.

from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "whoashish115/kitsune-tales-e4b-jp"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype="auto", device_map="auto")
msgs = [{"role": "system", "content": "あなたは全年齢向けのオリジナル・ファンタジー小説を書く作家です。"},
        {"role": "user", "content": "ジャンル: 魔王と勇者\nタイトル: 引退した魔王は湖畔で喫茶店を開く\n形式: あらすじ"}]
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: Gemma 4 E4B instruct, zero-shot (the base model)
  • kitsune-sft: LoRA SFT, released as kitsune-tales-e4b-jp
  • kitsune: LoRA SFT + DPO v2 (quality pairs only)
  • qwen3.5-4b: Qwen3.5-4B instruct, zero-shot
  • qwen3.5-9b: Qwen3.5-9B instruct, zero-shot
  • teacher: Qwen3.6-35B-A3B-FP8, the data generator, zero-shot

Automatic metrics

Metric (95 % CI)basekitsune-sftkitsuneqwen3.5-4bqwen3.5-9bteacher
Length adherence (%) ↑0.4 [0.0, 0.9]50.2 [46.2, 54.3]66.9 [62.6, 71.2]5.7 [4.0, 7.4]4.1 [2.7, 5.6]4.1 [2.6, 5.6]
Tag (genre-cue) adherence (%) ↑90.6 [88.7, 92.5]93.1 [91.6, 94.6]92.6 [90.9, 94.2]86.7 [84.3, 89.0]91.8 [90.0, 93.5]91.7 [89.8, 93.5]
Title reflected (%) ↑100.0 [100.0, 100.0]98.3 [96.6, 99.6]99.2 [98.3, 100.0]100.0 [100.0, 100.0]100.0 [100.0, 100.0]100.0 [100.0, 100.0]
Fantasy-only (%) ↑98.8 [97.7, 99.6]98.5 [97.5, 99.4]99.6 [99.1, 100.0]96.8 [95.1, 98.3]97.3 [95.4, 98.8]99.0 [98.1, 99.8]
Japanese script ratio (%) ↑100.0 [100.0, 100.0]100.0 [100.0, 100.0]100.0 [100.0, 100.0]99.9 [99.8, 99.9]99.9 [99.9, 99.9]99.8 [99.8, 99.9]
Chinese contamination (%) ↓0.1 [0.0, 0.4]0.1 [0.0, 0.4]0.2 [0.0, 0.6]18.0 [15.4, 20.7]14.0 [11.5, 16.4]22.3 [19.4, 25.3]
Repetitive outputs (%) ↓0.0 [0.0, 0.0]0.0 [0.0, 0.0]0.0 [0.0, 0.0]4.9 [3.3, 6.7]0.0 [0.0, 0.0]0.2 [0.0, 0.6]
Degenerate outputs (%) ↓16.7 [13.6, 19.9]0.5 [0.1, 1.0]0.4 [0.0, 0.9]14.4 [12.0, 16.9]10.0 [7.8, 12.3]3.3 [2.0, 4.8]
Unsafe (filter hit) (%) ↓1.0 [0.4, 1.7]0.4 [0.0, 0.9]0.4 [0.0, 0.9]0.5 [0.1, 1.0]0.4 [0.0, 0.9]1.0 [0.4, 1.9]
False refusals (%) ↓0.0 [0.0, 0.0]0.0 [0.0, 0.0]0.0 [0.0, 0.0]0.0 [0.0, 0.0]0.0 [0.0, 0.0]0.0 [0.0, 0.0]
Markdown artifacts (%) ↓75.9 [71.2, 80.4]0.1 [0.0, 0.4]0.1 [0.0, 0.4]68.8 [63.5, 74.0]68.6 [63.2, 74.0]70.0 [64.9, 74.9]
English/markup leakage (%) ↓1.0 [0.4, 1.7]0.0 [0.0, 0.0]0.0 [0.0, 0.0]12.1 [9.9, 14.4]10.4 [8.1, 12.7]21.0 [18.1, 23.8]
Self-BLEU across seeds ↓0.352 [0.348, 0.356]0.270 [0.265, 0.274]0.266 [0.261, 0.270]0.280 [0.274, 0.285]0.302 [0.295, 0.308]0.285 [0.282, 0.289]
Distinct-2 across seeds ↑0.527 [0.521, 0.533]0.607 [0.601, 0.613]0.621 [0.615, 0.628]0.490 [0.481, 0.500]0.527 [0.520, 0.535]0.554 [0.547, 0.560]
Refusal on disallowed prompts (%) ↑0.0 [0.0, 0.0]74.8 [67.4, 82.2]48.9 [40.7, 57.8]0.0 [0.0, 0.0]0.0 [0.0, 0.0]1.5 [0.0, 3.7]
Policy violations on disallowed prompts (%) ↓85.2 [78.5, 91.1]5.2 [1.5, 9.6]20.7 [14.1, 28.1]89.6 [84.4, 94.1]88.9 [83.7, 94.1]89.6 [84.4, 94.1]
Stays fantasy on adversarial prompts (%) ↑100.0 [100.0, 100.0]52.8 [36.1, 69.4]69.4 [52.8, 83.3]100.0 [100.0, 100.0]100.0 [100.0, 100.0]100.0 [100.0, 100.0]
Stays fantasy on off-genre prompts (%) ↑15.6 [6.7, 26.7]95.6 [88.9, 100.0]95.6 [88.9, 100.0]2.2 [0.0, 6.7]6.7 [0.0, 15.6]11.1 [2.2, 20.0]
Test generations (prompts × seeds)810810810810810810

LLM-as-judge (indicative)

ComparisonWinTieLossNet preference (95 % CI)Position-consistentPairs
judge:excerpt-kitsune-sft_vs_excerpt-base35.1 %42.1 %22.8 %0.123 [-0.070, 0.316]57.9 %57
judge:kitsune-sft_vs_base8.3 %39.3 %52.4 %-0.441 [-0.545, -0.338]60.7 %145
judge:kitsune-sft_vs_teacher9.7 %32.1 %58.2 %-0.485 [-0.597, -0.373]67.9 %134
judge:kitsune_vs_base11.0 %37.0 %52.1 %-0.411 [-0.514, -0.301]63.7 %146
judge:kitsune_vs_kitsune-sft32.4 %35.1 %32.4 %0.000 [-0.128, 0.135]64.9 %148
judge:kitsune_vs_teacher11.5 %25.9 %62.6 %-0.511 [-0.626, -0.388]74.1 %139
Judge known-answer testAccuracy (95 % CI)By corruptionn
judge86.7 [76.7, 95.0]chinese: 75 %, loop: 100 %, shuffle: 67 %, truncate: 92 %, wrong_story: 100 %60

All numbers are generated from reports/ in the GitHub repo by make eval 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 Japanese fantasy fiction (synopses, short stories, continuations) from genre tags and a title, for hobby writing, brainstorming and light-novel style practice.
  • Research on small-model creative-writing fine-tuning with synthetic data.

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) and languages other than Japanese.

Training data provenance

Synthetic 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, filtered by 12 rule-based and LLM checks, and deduplicated. No scraped web fiction. See the dataset card and docs/DATA_CARD.md.

Limitations

  • 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.
  • Repetition and length drift remain possible, especially at low temperature or with long outputs.
  • Hallucinated consistency errors (names, timelines) within longer stories.
  • Cultural and stylistic bias toward popular web-novel tropes (isekai, villainess, guild).
  • Memorization: a leakage audit against the training set is reported, but it cannot rule out all verbatim reuse.
  • Thinking mode degraded. Training used non-thinking examples only; use enable_thinking=False.
  • Pairwise judge prefers the base model's longer texts. The base model writes ~1.7× longer than requested; the fine-tune follows the requested length and format but is not judged better than base on raw pairwise preference (see Results).
  • Speech-style and pronoun slips. In the translated gallery, characters sometimes switch first-person pronouns (僕/私), or address a male character with 貴女. Synopses sometimes come out as a first-person scene.
  • Violence and self-harm filters are lexicon-based. One gallery synopsis (test-0030) depicts a character cutting his own throat, which the Japanese self-harm lexicon did not catch.
  • Adversarial instructions. When the title itself says "stop writing fantasy", the model follows it more often than the base model does (see the policy rows in Results).
  • Evaluation limits. Automatic metrics are rule-based proxies, and LLM-judge results are indicative only (see REPORT.md).

Synthetic-data ethics

Using larger models' outputs concentrates their stylistic and cultural biases and can launder their mistakes into a new model. We used only generators whose licenses allow it, recorded every sample's generator and revision, used a judge from a different model family for evaluation, and publish the pipeline so the data can be audited.

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
Ревизия весов
166af9b

0 моделей