/ Модель

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

Лицензия
Apache 2.0
Базовая модель
gemma-4-26B-A4B-it-uncensored
Библиотека
gguf
Опубликована
26 ноя 2026

Literotica-Writer-26B-A4B

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

Производная модели TinyErotica/Literotica-Writer-26B-A4B. Дообученная Gemma 4 модель для генерации длинных эротических рассказов на английском языке по текстовому заголовку и завязке.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Карточка модели seejay65/Literotica-Writer-26B-A4B на Hugging Face совпадает с карточкой TinyErotica/Literotica-Writer-26B-A4B, поэтому описание составлено по ней.

Literotica-Writer-26B-A4B — дообученная на рассказах из датасета detain/literotica-stories модель на базе TrevorJS/gemma-4-26B-A4B-it-uncensored, предназначенная для генерации длинной эротической прозы на английском языке. Она продолжает обычный текстовый запрос с заголовком рассказа и строкой STORY:; модель обучалась как текстовое дополнение, а не как чат-ассистент, поэтому для неё нужен интерфейс raw completion без шаблона чата. Модель Gemma 4 имеет архитектуру MoE с 26B параметров, из которых 4B активны; рекомендованный GGUF-квант i1-Q4_K_M занимает 16,8 ГБ и, по карточке, может работать с видеокартой на 8 ГБ при размещении части весов экспертов в системной памяти. Также доступен GGUF Q8_0 размером 26,9 ГБ; библиотека репозитория — GGUF, лицензия — Apache-2.0.

Модель рассчитана на создание самостоятельных рассказов и частей длинных историй по заданным категории, тегам, длине и завязке. Карточка сообщает о контексте в 8 тысяч токенов, повторах при неудачных настройках сэмплирования и небольшом числе искажённых слов, зависящем от квантизации; для снижения повторов рекомендуется repetition penalty 1.05. Модель предназначена для откровенной сексуальной прозы для взрослых и не подходит для чата, следования инструкциям в диалоге или иных задач без соответствующей настройки.

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

  • написание эротического рассказа по заданной завязке
  • создание рассказа в выбранной категории Literotica
  • генерация продолжения многосоставной истории
  • подготовка англоязычного черновика эротической прозы

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Literotica-Writer-26B-A4B: a long-form erotic story writer that runs on an 8 GB GPU

18+ only. This model writes explicit sexual fiction for adult readers. All characters are adults.

Not a chat model. It is trained for raw text completion from a fixed story header (see Prompt format). Don't use it with a chat template, chat endpoint or roleplay/chat front-end: it was never trained on chat turns or instructions.

Literotica-Writer is a 26B-parameter (~4B active) model fine-tuned to write long, complete erotic stories in plain English. It is a LoRA fine-tune of TrevorJS/gemma-4-26B-A4B-it-uncensored (Gemma 4 26B-A4B, an abliterated MoE with 128 experts, 8 active) on stories from Literotica: from a short header (title, category, tags, length, premise) it writes a finished 1,000–5,000-word story that ends on its own. It runs locally with llama.cpp: the i1-Q4_K_M GGUF fits on an 8 GB GPU with the experts in system RAM.

Not affiliated with or endorsed by Literotica.

baseTrevorJS/gemma-4-26B-A4B-it-uncensored (Gemma 4 26B-A4B, abliterated)
methodLoRA r 64, alpha 64, on attention and all 128 experts (Unsloth)
training data9,315 stories and story parts from detain/literotica-stories, 25 categories, 3,003 from top-rated stories
training2 epochs, 668 steps, effective batch 16, 8,192-token packed context, lr 2e-4 cosine, 1× H100 (~4.7 h)
losstrain 2.36, val 2.32
formatplain-text completion (not chat)

Updates

2026-11-20: new quants, fewer garbled words. The original Q4_K_M regularly mangled words, mostly contractions (didn' (t), couldn'm, doesns't): about 1 in every 900 words. The fine-tune itself rarely does this (the unquantized model is ~1 per 6,000+); plain Q4_K_M quantization caused it. It is replaced by i1-Q4_K_M, the same size but quantized with an importance matrix from story text: in testing it went from 14 garbled words in 12k words to 13 in 120k, about 1 per 9,000 words, close to the unquantized model. A Q8_0 is new too. The old Q4_K_M file was removed; it is still in the repo history if you need it. Thanks to the user who reported it.

Files

filewhat
Literotica-Writer-26B-A4B-i1-Q4_K_M.ggufrecommended: merged model, Q4_K_M with imatrix (16.8 GB), fits an 8 GB GPU with the experts in system RAM (see Quantization)
Literotica-Writer-26B-A4B-Q8_0.ggufmerged model, Q8_0 (26.9 GB), for machines with room for it; no measurable quality gain over i1-Q4_K_M
imatrix.ggufthe importance matrix used for i1-Q4_K_M, to make your own quants
lora/the LoRA adapter (PEFT/Unsloth) for the base model

Important: this is a text-completion model, not a chat model

The model was trained on plain text: a short header describing the story, the line STORY:, and then the story itself. It never saw chat turns. So:

  • Do send the header as a raw completion prompt: the model continues after STORY: and stops by itself (EOS) at the end of the story.
  • Don't use a chat endpoint (/v1/chat/completions, the llama-server web chat, LM Studio / Ollama chat, SillyTavern in chat-completion mode). Those wrap your text in Gemma's chat template, which the fine-tune never learned: expect assistant-style answers or weak stories.
  • Don't start llama-server with --jinja or a --chat-template.

Text-completion front-ends work: SillyTavern "Text Completion" with an empty instruct template, KoboldCpp story mode, or anything that hits llama.cpp's /completion.

Prompt format

The layout must match exactly, including the empty line before STORY: and the newline after it:

Erotic fiction. All characters are adults (18+).
Title: The Wager
Category: NonConsent/Reluctance
Tags: reluctance, bet, rivals
Type: complete story
Length: about 3000 words
Premise: A lawyer in her thirties loses a high-stakes bet to her longtime rival and has to honor its terms.

STORY:
fieldnotes
first linealways exactly Erotic fiction. All characters are adults (18+).
Titleanything
Categorya Literotica category, e.g. NonConsent/Reluctance, Incest/Taboo, Mind Control, Exhibitionist & Voyeur, Loving Wives, Fetish, BDSM, Erotic Couplings, Group Sex, Lesbian Sex, Gay Male, Romance, Sci-Fi & Fantasy, Erotic Horror, First Time, Mature, ...
Tagsoptional; up to ~10, comma-separated, lowercase
Typecomplete story for new stories (see "Longer stories")
Lengtha round number of words (500, 1000, ...); the model roughly follows it
Premiseoptional but strongly recommended; one or two sentences

Longer stories

Training also used these Type: values, so you can write a long piece in parts:

  • opening of a longer story (part 1 of 3): a first part that doesn't have to end
  • continuation of a longer story (part 2 of 3) / final part of a longer story (part 3 of 3)
  • one chapter of a longer series / ... of a longer chapter (part i of n)

For continuations, add a Previously: block with the last ~1,500 characters of the part before it, between Premise: and the empty line:

...
Premise: ...
Previously:
"""
<last ~1,500 characters of the previous part>
"""

STORY:

Use with llama.cpp

llama-server -m Literotica-Writer-26B-A4B-i1-Q4_K_M.gguf -ngl 99 --n-cpu-moe 30 -c 16384 -fa on --port 8080

--n-cpu-moe 30 keeps the expert weights in system RAM; lower it until your VRAM is nearly full (every step down is faster). On an 8 GB GPU expect roughly 15–30 tokens/s. Needs a recent llama.cpp build with Gemma 4 support.

jq -n --rawfile p prompt.txt '{prompt: $p, n_predict: 6000, temperature: 0.9, min_p: 0.05,
      top_p: 1.0, top_k: 0, repeat_penalty: 1.05, repeat_last_n: 256}' \
  | curl -s http://127.0.0.1:8080/completion -H 'Content-Type: application/json' -d @- \
  | jq -r .content

Or without a server:

llama-cli -m Literotica-Writer-26B-A4B-i1-Q4_K_M.gguf -ngl 99 --n-cpu-moe 30 -c 16384 -fa on \
  -f prompt.txt -n 6000 --temp 0.9 --min-p 0.05 --top-p 1.0 --top-k 0 \
  --repeat-penalty 1.05 --repeat-last-n 256 -no-cnv

Sampling settings

settingvaluewhy
temperature0.9lower (e.g. 0.75) falls into repetition loops
min_p0.05cuts off nonsense tokens
top_p / top_k1.0 / 0 (off)min_p already does the job
repetition penalty1.05 over the last 256 tokensrequired: without it the model loops
max tokens~1.8 × requested words + 500only a ceiling; the model stops by itself

The repetition penalty matters a lot. On the same prompts, temperature 0.75 with no penalty gave 66–73% repeated word trigrams and 235–244 duplicate paragraphs; temperature 0.9 with penalty 1.05 gave 4–5% and none.

Quantization

i1-Q4_K_M is a Q4_K_M made with an importance matrix (imatrix.gguf, computed in llama.cpp on ~300k words of held-out stories in the training format), so the weights that matter most for this kind of text keep more precision. Same size and speed as a plain Q4_K_M. (Also keeping attention and the shared FFN at Q8_0 on top of that made no measurable difference: 12 vs 13 garbled words in ~120k words each.)

Measured on 6-12 story prompts with the recommended sampling settings (llama.cpp, raw completion), counting garbled words: broken contractions, non-words and stray bytes, each checked by hand:

filesizewords writtengarbled wordsper 10k words
Q4_K_M (old, removed)16.8 GB12,2071411.5
Q5_K_M (not uploaded)19.1 GB11,66232.6
Q6_K (not uploaded)22.6 GB12,92143.1
i1-Q4_K_M16.8 GB120,182131.1
Q8_026.9 GB10,85200
bf16 (not uploaded)50.5 GB10,94221.8

Garbled words at the bf16 level (~1-2 per 10k) are what the model itself does; anything above that comes from quantization. The smaller samples (~11-13k words) are rough: 0 vs 2 garbled words is within noise.

Training data

Stories come from the existing detain/literotica-stories dataset and were selected locally:

  1. Standalone stories of 8k–30k characters (fits the 8k-token context); top-rated stories that are longer are split into parts at paragraph or scene breaks, and numbered chapters get the previous chapter as Previously: context.
  2. Cleaning: HTML, quote normalization, chapter headings, author notes, disclaimers and "to be continued".
  3. Age filter: stories with an age under 18, a school or minor context near sexual language, or childlike framing are dropped, followed by a manual review and blocklist.
  4. Incomplete stories dropped; heuristic quality score (typos, repetition, vocabulary, sentence length, dialogue, paragraphing, how much of the premise the story delivers); deduplication.
  5. Category quotas favor NonConsent/Reluctance, Incest/Taboo, Mind Control, Exhibitionist & Voyeur, Loving Wives, Fetish and BDSM (460–900 stories each); the other 18 categories share ~3,000.

No training data is included in this repo.

Limits

  • Prompt adherence is loose: the model follows the category and the general premise, but plot details, names and length targets are approximate, and long stories can drift.
  • It writes what it was trained on: explicit erotic fiction across Literotica's categories, including dark fantasy themes such as non-consent, mind control and taboo relationships between adults. Everything is fiction.
  • It is not a chat or instruction model; it won't follow instructions outside the header format.
  • Not for minors, and not for use in any product that minors can reach.

Related

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

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

GPU в ailist

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

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

Подбираем GPU…

Ревизия весов
914b862

0 моделей