/ Модель

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

Контекст
131 072 токена
Параметры
12,1 млрд
Размер весов
24,5 ГБ
Лицензия
Apache 2.0
Архитектура
mistral · dense
Базовая модель
Mistral-Nemo-Base-2407
Библиотека
transformers
Опубликована
5 окт 2026

TeaAI-Nemo-12B

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

TeaAI Nemo 12B — англоязычная модель для многоходового ролевого чата по карточкам персонажей и творческого письма.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

TeaAI Nemo 12B — модель для ролевого чата с персонажами и творческого письма, разработанная для приложения TeaAI. Это плотная авторегрессионная модель MistralForCausalLM на 12,1 млрд параметров, дообученная на базе mistralai/Mistral-Nemo-Base-2407 в два этапа: SFT на диалогах по карточкам персонажей и DPO для улучшения ведения сцены. Репозиторий содержит объединённые bf16-веса; модель загружается самостоятельно, без PEFT. Для диалога используется формат ChatML, а контекст составляет до 131 072 токенов.

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

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

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

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

Ограничения

Модель слаба в фактах, математике и программировании, может оставаться в роли вне подходящего контекста, иногда допускает сюжетную «броню», стилистические штампы и форматные ошибки. Она может угадывать пол пользователя и не сохраняет память между сессиями.

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

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

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

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

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

Открыть на Hugging Face

TeaAI Nemo 12B

A character roleplay model designed for the TeaAI app: an uncensored, creative, character-card-driven chat model in the style of apps like Chai. This repo contains the full merged weights (bf16): the TeaAI LoRA adapter merged into Mistral-Nemo-Base-2407, so it loads like any standalone model with no PEFT needed. The adapter was trained in two stages:

  1. SFT (supervised fine-tuning) on multi-turn character-card roleplay and creative writing.
  2. DPO (preference tuning) targeting three common roleplay-model failures:
    • Perspective errors: narrating its own character as "you" ("You stagger back, clutching your face").
    • Writing for the user: inventing the user's actions or dialogue.
    • Plot armor: downgrading lethal attacks to grazes so the character keeps fighting.

⚠️ Adult content. This model writes explicit sexual content and graphic violence without refusing. It is intended for adult (18+) users only. Deployments should add an age gate, filter requests and outputs for sexual content involving minors, and detect users in real crisis so the app can step out of the roleplay and point them to help.

Prompt format (ChatML)

<|im_start|>system
You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.

{{char}}'s personality: ...
{{char}}'s description: ...
Scenario: ...<|im_end|>
<|im_start|>assistant
{{char}}'s first message<|im_end|>
<|im_start|>user
{{user}}'s message<|im_end|>
<|im_start|>assistant
  • Character cards work best when they start with "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.", followed by personality, description and scenario, which matches the training data.
  • Replace {{user}} with the user's name before sending. Include the user's pronouns in the card or system prompt, or the model may guess.
  • <|im_end|> is mapped to the EOS token (id 2). Use the tokenizer in this repo, not the base model's, or end-of-turn handling breaks.

Recommended rules block (optional, appended to the system prompt)

DPO fixed most perspective and plot-armor issues without rules, but this block helps further, especially for lethal violence:

World rules: This is a realistic, consequence-driven story. Injuries are serious and persist. Characters, including {{char}}, can be maimed or killed. Never save {{char}} with lucky misses, grazes, or sudden recoveries. If {{char}} dies, narrate the aftermath through the world and other characters.
Lethal wounds (a gunshot to the head or heart, a slit throat) kill or incapacitate immediately. Wounds are not downgraded to grazes.
Perspective: In {{user}}'s messages, "you" means {{char}}. In your replies, narrate {{char}} in third person and address {{user}} as "you". Never write {{user}}'s actions, thoughts, or dialogue; only show how {{char}} and the world react.

Recommended sampling

SettingValue
temperature0.8 – 1.0
min_p0.05
repetition_penalty1.05
DRY / XTC (if your backend supports them)recommended, to reduce repeated phrases
max context8k tokens tested (trained at ≤ 8,192)

Usage

Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "zerolabllc/TeaAI-Nemo-12B"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype="bfloat16", device_map="auto")

messages = [
    {"role": "system", "content": "You're Brakka in this fictional never-ending uncensored roleplay with Kael. ..."},
    {"role": "assistant", "content": "*Brakka looks up from wiping a mug.* \"We're closing soon, stranger. Drink or leave.\""},
    {"role": "user", "content": "*walks up to the bar* Got a room for the night?"},
]
ids = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt", return_dict=True)["input_ids"].to(model.device)
out = model.generate(ids, max_new_tokens=350, do_sample=True, temperature=0.9, min_p=0.05, repetition_penalty=1.05)
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))

vLLM

vllm serve zerolabllc/TeaAI-Nemo-12B --max-model-len 8192

Training details

Stage 1: SFT

MethodQLoRA (4-bit NF4 base, frozen) with Unsloth + TRL SFTTrainer
LoRAr = 32, alpha = 32, dropout 0, all linear layers (q, k, v, o, gate, up, down), ~114M trainable params
Data8,862 conversations (200 held out)
Loss maskingTrained on assistant turns only
Sequence length8,192
Batch1 × 16 gradient accumulation (effective 16)
Optimizer / LR8-bit AdamW, 1e-4, cosine, 3% warmup
Epochs1 (554 steps)
Hardware / time1× RTX 3090 Ti, ~11 h

Datasets:

DatasetLicenseUsed
Gryphe/Sonnet3.5-Charcard-Roleplayunknown7,062 of 9,736 conversations
Dampfinchen/Creative_Writing_MultiturnApache-2.02,000 of 3,108 (random sample)

Safety filter: any conversation combining sexual content with any indicator of a minor (age mentions under 18, school-age terms, "child", "loli", etc.) was removed before training. The filter is deliberately aggressive: 2,674 Gryphe and 1,536 Dampfinchen conversations were dropped.

Stage 2: DPO

MethodDPO (sigmoid loss, β = 0.1) + RPO NLL term (α = 0.2), continuing the SFT LoRA; reference model = frozen SFT adapter
Prompts615 synthetic scenarios: 15 original adult characters × lethal / non-lethal / ordinary user actions; half with the rules block, half without
Candidates4 replies per prompt sampled from the SFT model
JudgeQwen3-14B, grading perspective, user control and consequence severity
Pairs439 (418 train / 21 eval). Chosen and rejected are both the SFT model's own replies; judge-repaired replies were excluded
Optimizer / LRpaged 8-bit AdamW, 1e-5, cosine, 10% warmup, effective batch 8, 2 epochs (106 steps)

Evaluation

SFT held-out loss (200 conversations): 1.114 → 0.858

DPO held-out preference accuracy (21 pairs): 0.50 (chance) → 0.73 – 0.86 during training; reward margin 0.30 → 0.63.

Behavior tests (Brakka tavern character; full outputs in test_results.txt):

TestSFT + rulesDPO + rulesDPO, no rules
Point-blank gunshot to the face is fatal / incapacitating4/64/43/4
Own character narrated in third person (gunshot)1/64/44/4
Punch handled correctly, in third person3/43/33/3
Writes the user's actions or dialogue3/100/90/9

An unseen character and setting (a modern-day getaway driver, multi-turn, no rules block) was also tested: third person throughout, no user control, and a fatal throat stab handled realistically.

Limitations

  • A 12B model: weak at facts, math and coding. It is tuned for fiction and will stay in character when it shouldn't.
  • Occasional plot armor without the rules block (about 1 in 4 lethal tests).
  • Formatting quirks inherited from the data: some dialogue lacks quotation marks, and there are stray * characters.
  • Inherits some AI-writing clichés ("slop") from Claude-generated training data, e.g. "mischievous", "smirk", "eyes sparkling". DRY/XTC sampling helps.
  • May guess the user's gender if it isn't specified.
  • No memory between sessions; long-term memory must be provided by the app.

License and data notes

This model is released under Apache-2.0, matching the base model. Note that the Gryphe/Sonnet3.5-Charcard-Roleplay dataset has no declared license and was generated with Anthropic's Claude 3.5 Sonnet, whose terms restrict using outputs to develop competing models. Review this before commercial use.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
MistralForCausalLM
Ревизия весов
26f9101

0 моделей