/ Модель

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

Лицензия
CC BY-NC-SA 4.0
Архитектура
jmangatranslator-fast · dense
Базовая модель
modernbert-ja-310m
Опубликована
7 окт 2026

JMangaTranslator-Fast

ПереводТекст → текст3 профессии

Компактная модель для быстрого перевода японских реплик из пузырей манги на упрощённый китайский.

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

Бенчмарки

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

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

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

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

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

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

JMangaTranslator-Fast v1 — модель, разработанная автором muscgab для перевода японских реплик из речевых пузырей манги на упрощённый китайский. Это encoder–decoder модель размером 368 млн параметров, дообученная на базе sbintuitions/modernbert-ja-310m и оптимизированная для низкой задержки при переводе коротких фрагментов по одному пузырю. Поддерживаются запуск на NVIDIA GPU, Apple silicon и CPU; в репозитории представлены форматы Core ML, ONNX и safetensors.

На тесте из 3817 пузырей Manga109-s модель показала высокое качество относительно сравниваемых систем, включая входы с ошибками OCR. Она рассчитана именно на короткие реплики манги и не использует контекст соседних пузырей. Для длинных абзацев качество и остановка генерации ухудшаются; ошибки распознавания текста снижают качество, а машинные обучающие переводы не обеспечивают человеческого уровня в идиомах, культурных отсылках и игре слов. Лицензия CC BY-NC-SA 4.0.

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

  • перевод японских реплик в пузырях манги на упрощённый китайский
  • локализация коротких диалогов японской манги
  • поточный перевод распознанного OCR текста из манги
  • перевод отдельных японских фраз без контекста соседних реплик

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

JMangaTranslator-Fast v1

English | 中文

JMangaTranslator-Fast translates Japanese manga speech bubbles into Simplified Chinese, one bubble at a time. It is a 368M-parameter encoder–decoder model built for low latency: 8.5 ms per bubble on an RTX 3060 and 20.2 ms on an Apple M1 Pro. It runs on NVIDIA GPUs, Apple silicon and plain CPUs.

Architecture, training, evaluation and backend details are in the technical report.

Quality

COMET-22 on 3,817 Manga109-s bubbles. The set keeps every bubble on which an OCR model made a mistake, so it is harder than average. "Ground truth" is the annotated text; "manga-ocr" is the same bubbles as read by manga-ocr. Reference translations were produced by Claude.

SystemParametersGround truthmanga-ocr
JMangaTranslator-Fast v1368M0.88790.8315
GalTransl-v4-4B4B0.86170.8022
NanoSakura-2.2-0.2B0.2B0.84560.7827
Sakura-1.5B-Qwen2.5-v1.01.5B0.83920.7787
Hy-MT2-1.8B-JP-Manga-Finetune-zh-Hans-v11.8B0.83490.7850
Hy-MT2-1.8B1.8B0.82990.7818
opus-mt-ja-zh77M0.68490.6532
M2M100-418M418M0.65820.6278
NLLB-200-distilled-600M600M0.61220.5904

v1 is ahead of every other system on both inputs, and every paired 95% bootstrap interval excludes zero. Outside manga bubbles a larger model can still be better: on Murasaki light-novel paragraphs, translated sentence by sentence, v1 scores 0.8314 and GalTransl-v4-4B 0.8504.

Speed

Median (p50) latency per bubble at batch size 1, from tokenization to the decoded string:

HardwareBackendp50
RTX 4090CUDA Graphs, fp164.7 ms
RTX 3060 12 GBCUDA Graphs, fp168.5 ms
Tesla P4CUDA Graphs, fp1630.0 ms
Apple M1 ProMLX, fp16, GPU20.2 ms
Apple M1 ProCore ML, fp16, Neural Engine32.4 ms
Apple M1 ProONNX Runtime, fp32, CPU, 6 threads52.1 ms
AMD EPYC 9654ONNX Runtime, fp32, CPU, 16 threads51.8 ms

For comparison, GalTransl-v4-4B (llama.cpp, Q6_K) takes 147.6 ms per bubble on the same RTX 3060.

Usage

To try it without installing anything, open the notebook in Colab or Kaggle (load once, then translate):

Open in Colab Open in Kaggle

The full release (weights, exported models and code) is on Hugging Face and ModelScope. GitHub holds the code only.

hf download muscgab/JMangaTranslator-Fast --local-dir JMangaTranslator-Fast
# or: modelscope download --model muscgab/JMangaTranslator-Fast --local_dir JMangaTranslator-Fast
cd JMangaTranslator-Fast

Install the requirements for your hardware, then translate:

HardwareRequirementsBackend
NVIDIA GPUrequirements-torch.txtcuda-graphs
Apple siliconrequirements-mlx.txtmlx
Apple Neural Engine (macOS 15+)requirements-coreml.txtcoreml
Any CPUrequirements-onnx.txtonnx
pip install -r requirements-onnx.txt
python translate.py "堪忍袋の緒が切れた!"
python translate.py < bubbles.txt > translations.txt
from jmt_fast import load
tr = load("path/to/JMangaTranslator-Fast")
print(tr.translate("堪忍袋の緒が切れた!"))   # 忍无可忍了!

Give one bubble per line, with line breaks inside a bubble removed. By default the backend is chosen from what is installed: cuda-graphs on an NVIDIA GPU, mlx on Apple silicon with MLX, otherwise onnx. The Neural Engine needs --backend coreml (in Python, load(..., backend="coreml")).

Limitations

  • Long text. The model was trained on bubble-length input. Split paragraphs into sentences first; given whole paragraphs, it fails to stop normally on 64 of 100.
  • No context. Each bubble is translated on its own, so names, pronouns and tone may differ between bubbles.
  • OCR errors. Recognition errors cost more quality (0.8879 → 0.8315 with manga-ocr) than v1's lead over GalTransl.
  • Machine-made training targets. No human translations were used in training; idioms, cultural references and wordplay remain well below human quality.

Acknowledgments

  • OpenSakura. This model depends heavily on OpenSakura data. The encoder's domain-adaptive pretraining used OpenSakura-DS-260220-LN-ja-zh-PT-Adam, the light-novel part of translation training used OpenSakura-DS-260220-LN-ja-zh-ALIGNED-Eve, and the decoder's Chinese tokenizer and embeddings come from an earlier model trained on OpenSakura data.
  • Deep encoder, shallow decoder. The architecture follows the central idea of Kasai et al., Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translation (ICLR 2021): a deep encoder paired with a very shallow autoregressive decoder keeps translation quality while making batch-size-1 decoding fast. This model uses a 25-layer encoder and a 2-layer decoder.
  • SB Intuitions for ModernBERT-ja-310m, which initializes the encoder.
  • manga-ocr, whose error statistics shaped the noise generator and whose output forms one of the evaluation conditions.
  • Manga109-s and Murasaki, used for evaluation.

License

  • Model weights and exported models: CC BY-NC-SA 4.0 (LICENSE-weights.md). Attribution is required, commercial use is not permitted, and adapted models must be shared under the same license.
  • Code: MIT (LICENSE).

Training used OpenSakura data (license "other", intended for research and model development) and the author's private manga text. Manga109-s and Murasaki were used for evaluation only. No weights or outputs of the other systems in the comparison are included.

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

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

GPU в ailist

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

Нельзя запустить

MLX-модели работают только на Apple Silicon.

Ревизия весов
151ceba

0 моделей