/ Модель

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

Контекст
131 072 токена
Параметры
4,7 млрд
Размер весов
14,9 ГБ
Лицензия
Своя лицензия
Архитектура
gemma4_text · dense
Базовая модель
gemma-4-E4B-it
Библиотека
transformers
Опубликована
11 ноя 2026

e4b-ko-en-novel-translator-sft3

Генерация текстаТекст → текст3 профессии
377скачиваний за 30 дней0лайковвеса обновлены11 ноя 2026

Описание модели

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

Дообученная модель Gemma 4 E4B для перевода глав корейских веб-новелл в XHTML на английский с учётом глоссария.

E4B Korean→English web-novel translator sft3 — модель на базе Gemma 4 E4B, дообученная sigma6196 для перевода глав корейских веб-новелл из XHTML в английский XHTML. Она принимает главу и глоссарий с именами, терминами и указанием пола персонажей; при переводе старается сохранять HTML-структуру, использовать глоссарий и вести повествование в прошедшем времени. Архитектура — плотная Gemma4ForCausalLM с 4,7 млрд параметров; доступны веса Safetensors и варианты GGUF Q8_0 и Q4_K_M. В метаданных указан контекст 131 072 токена, однако README рекомендует контекст 24 576 токенов и ограничение генерации 12 288 токенов.

Модель обучена на корейских веб-новеллах с XHTML и глоссариями. На тесте из 147 глав по оценкам LLM-судей она сократила число крупных смысловых ошибок относительно базовой модели, но качество уступает переводам DeepSeek v4.1 Flash; человеческая оценка не проводилась. Модель может пропускать отрицания, путать местоимения, говорящих и пол персонажей, а длинная генерация иногда обрывается или зацикливается. Для перевода без глоссария поведение не проверялось. Использование производной модели должно соответствовать условиям Gemma Terms of Use; README также обращает внимание на права на обучающие данные и условия поставщиков моделей-судей.

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

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

Ограничения

Проверена только на корейских веб-новеллах с XHTML и глоссариями; человеческой оценки качества нет. Сохраняются смысловые и гендерные ошибки, а часть длинных глав обрывается или зацикливается; качество заметно уступает упомянутому в README переводу DeepSeek v4.1 Flash.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

E4B Korean→English web-novel translator (sft3)

Translates one Korean web-novel chapter (XHTML) into English XHTML in one request. It keeps the HTML structure in most chapters, uses the glossary you pass in (names, terms and character genders), and is instructed to write narration in the past tense.

Status: private, not reviewed by human translators. Quality was measured with automatic checks and three LLM judges.

Use

Send one user message built from prompt_template.txt. Replace {{GLOSSARY}} with the novel's glossary, one term per line, for example 멜리오다스 = Meliodas or 도로시 = Dorothy (Gender: Female). Replace {{CHAPTER_XHTML}} with the raw chapter XHTML. Use thinking off, temperature 0 and at most 12,288 output tokens (context 24,576). The answer is the translated XHTML inside one ```html block; extract it from there. Behaviour without a glossary was not tested.

vLLM (version 0.31.0 was used for the evaluation):

vllm serve <repo_id> --served-model-name e4b-sft3 --dtype bfloat16 --max-model-len 24576

transformers:

from transformers import AutoTokenizer, AutoModelForCausalLM

repo = "<repo_id>"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype="bfloat16", device_map="auto")
template = open("prompt_template.txt", encoding="utf-8").read()
prompt = template.replace("{{GLOSSARY}}", glossary).replace("{{CHAPTER_XHTML}}", chapter_xhtml)
inputs = tok.apply_chat_template([{"role": "user", "content": prompt}], add_generation_prompt=True,
                                 enable_thinking=False, return_dict=True, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=12288, do_sample=False)

GGUF with llama.cpp: llama-server -m gguf/sft3-Q8_0.gguf -c 24576 -ngl 99. llama.cpp warns that the Gemma 4 chat template is outdated and applies a workaround.

Results

Final test: 147 held-out test chapters from novels not used in training. Three judges (DeepSeek v4.1 Flash, GLM 5.3 Flash and Muse Spark Open) compared the base model's translation with sft3's. They did not know which was which. An error counts when two of the three judges flag the same source paragraph as a major meaning error.

  • Major meaning errors per chapter: 3.83 → 2.07 (−46%).
  • Totals over the 147 chapters: mistranslations 303 → 241, omissions 140 → 5, gender errors 59 → 45, glossary errors 21 → 12, Korean left untranslated 39 → 0.
  • Judges preferred sft3 in 342 votes to 70 (29 ties).
  • Automatic checks on the 148 test chapters: tags identical to the source 38.5% → 83.8%; paragraph count matching 39.2% → 83.8%; Korean left in the body 27.0% → 2.0%; Korean chapter title 96.6% → 0%; repetition loops 9.5% → 3.4%; glossary terms used 93.2% → 96.5%; 2.7% of chapters stopped at the output limit.

Development split (57 chapters, same judges): the DeepSeek v4.1 Flash library translations average 0.65 agreed major meaning errors per chapter, sft3 averages 3.81 (glossary-name and untranslated-title errors not counted). sft3 is well behind DeepSeek v4.1 Flash on meaning accuracy.

Limitations

  • About two agreed major meaning errors per chapter remain. The judges' notes most often mention lost negations, wrong pronouns or speakers, swapped subjects, and gender slips (a male character called "she" through a whole chapter).
  • About 3% of chapters stop at the 12,288-token limit or fall into a repetition loop.
  • Trained and tested only on Korean web novels with XHTML chapters and glossaries.
  • No human evaluation. The judges are LLMs and may share the teachers' blind spots.

Training

  • Base: weights rebuilt from HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive (see Licensing). Configuration and tokenizer come from google/gemma-4-E4B-it.
  • Stage 1 (supervised, 3,003 chapters from 780 novels): whole chapters, with English from the DeepSeek v4.1 Flash translations in the library and each novel's glossary.
  • sft3 (supervised, 5,283 chapters, 49.5M tokens, continued from stage 1): the model's own English drafts, corrected by DeepSeek v4.1 Flash. GLM 5.3 Flash checked each correction, and rejected corrections were reverted.
  • LoRA rank 16 (alpha 16) on the attention and MLP projections of the text layers; learning rate 2e-5; sequences up to 16,384 tokens. Merged into the base for this release.

Licensing and provenance

  • The configuration and tokenizer come from google/gemma-4-E4B-it, released under the Gemma Terms of Use (https://ai.google.dev/gemma/terms). Redistribution and derivatives must follow those terms.
  • The base weights were rebuilt from the GGUF of HauhauCS/Gemma-4-E4B-Uncensored-HauhauCS-Aggressive (revision 45b6a334b4bcd1d7f37179df58b3b1d66a184e5d). That is a third-party fine-tune, not Google's release; its name says "Uncensored".
  • Training data are translations of copyrighted web novels, plus outputs of DeepSeek v4.1 Flash and GLM 5.3 Flash. Check the rights and the providers' terms before any public release.

Files

  • Repository root: merged BF16 weights (4 safetensors shards, about 15 GB) with config, tokenizer, chat template and generation config; prompt_template.txt.
  • gguf/: sft3-Q8_0.gguf (recommended, 7.97 GB), sft3-Q4_K_M.gguf (5.30 GB) and export.json (conversion and parity report). Converted with llama.cpp v0.9.0 (commit cd959bae99ff4bed22bef2604f45241c09bbb8c8).
  • adapter/: the LoRA adapter (PEFT format) for the same base.

Parity on three development chapters (3,800–4,000 prompt tokens, greedy decoding, first 200 output tokens) against the BF16 model: the top-1 token matched in every case. The greedy output stayed identical for 172–200 tokens with the BF16 GGUF, 144–176 with Q8_0 and 87–154 with Q4_K_M.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Gemma4ForCausalLM
Ревизия весов
68e7f85

0 моделей