/ Модель

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

Контекст
131 072 токена
Размер весов
59,6 ГБ
Лицензия
AGPL 3.0
Архитектура
muse_glimmer · dense
Базовая модель
Muse-Glimmer-30B
Библиотека
transformers
Опубликована
23 окт 2026

Wasabi-30B

Изображение и текст → текст6 профессий

Wasabi-30B распознаёт изображения страниц японских документов и преобразует их содержимое в структурированный Markdown.

118скачиваний за 30 дней1лайквеса обновлены27 ноя 2026

Бенчмарки

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

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

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

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

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

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

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

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

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

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

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

  • Delores-Lin/MDPBench

    score · выше — лучше

    Результат

    89,1

    ru 92,3it 95,1ko 95
    Hugging Face Leaderboards

    Публичная таблицаревизия не подтверждена

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

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

Wasabi-30B — мультимодальная модель компании sionic-ai для преобразования изображений страниц японских документов в Markdown. Она дообучена на базе Muse-Glimmer-30B: LoRA-адаптер для распознавания японских документов объединён с BF16-весами. Модель принимает изображения и выдаёт текст с сохранением порядка чтения; таблицы оформляет как HTML, формулы — как LaTeX, а фуригану — в виде ruby-разметки.

Модель предназначена для распознавания и транскрибирования японских документов, включая цифровые и сфотографированные страницы. В карточке сообщается, что на бенчмарке MDPBench она заняла первое место среди 43 моделей по общему результату. Для запуска требуется около 60 ГБ видеопамяти; веса BF16 занимают около 56 ГБ. Лицензия — AGPL-3.0.

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

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

Ограничения

Дообучение проводилось только на японских документах, поэтому качество для других языков не подтверждено. Для запуска требуется около 60 ГБ видеопамяти.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

Wasabi-30B

English | 日本語

Wasabi-30B transcribes images of Japanese document pages into Markdown:

  • full text in reading order;
  • tables as HTML <table>;
  • math as LaTeX, $...$ inline and $$...$$ for display;
  • ruby (furigana) kept inline as <ruby>base<rt>reading</rt></ruby>.

News

  • 2026-11-26: #1 on MDPBench! Wasabi-30B took first place overall on the official MDPBench leaderboard, out of 43 models, with 89.1 on the public set and 91.7 on the private set. It is also first in Japanese, English, Korean and Thai. See Benchmark for the full results.
  • Official quantized versions are coming soon! We understand that Wasabi-30B is heavy. The BF16 weights alone are about 56 GB, and running it takes around 60 GB of GPU memory. To make it easier to run on smaller GPUs, we're preparing official GGUF builds for llama.cpp, plus FP8 and INT4 builds for vLLM. We'll share the links here as soon as they're ready.

Benchmark

Results on the official MDPBench leaderboard as of 2026-11-26, where Wasabi-30B ranks first overall among 43 models. MDPBench has a public set of 2,720 digital-born and photographed pages in 17 languages, and a private set scored by the benchmark maintainers.

MDPBenchScoreRank (of 43)
Overall, public set89.11
Overall, private set91.71
Japanese81.21
English93.31
Korean95.01
Thai87.41
Photographed88.21
Digital-born91.62
Latin scripts91.01
Non-Latin scripts86.82

Wasabi-30B is first in 11 of the 17 languages. These scores come from our MDPBench submission, which adds inference steps not included in the inference/ reader.

Model details

  • Fine-tuned from Muse-Glimmer-30B (revision 97c77dff50b2797bcc558fa2d909761dbc575c59).
  • A LoRA adapter trained for Japanese document transcription, merged into the BF16 weights.

Inference

The inference/ package reads a folder of page images (.jpg, .jpeg, .png) and writes one .md file per page.

pip install -e "./inference[dewarp]"

It needs Python 3.10+ and does not run on Windows. The reader dewarps every page locally with UVDoc on CPU, so torch and OpenCV are needed in every mode, including endpoint mode.

To serve the model locally, build vLLM from commit 6adad08767583f52eb4d2122111af0bf638ed5e6 (version 0.26.1rc1.dev769), which has muse_glimmer support; the released vLLM 0.26.0 cannot serve this model. The source build needs a CUDA toolchain:

pip install "vllm @ git+https://github.com/vllm-project/vllm.git@6adad08767583f52eb4d2122111af0bf638ed5e6" "transformers==5.15.0"

Then apply the processor fix with the Python of that vLLM environment. Without it, this vLLM commit rejects the max_image_tokens setting and the server does not start. Every vLLM server for Wasabi-30B needs it, including ones you start yourself; --revert undoes it.

python inference/patch_vllm_max_image_tokens.py --apply

Tested with Python 3.12, vLLM 0.26.1rc1.dev769 (commit 6adad087), transformers 5.15.0, torch 2.13.0, opencv-python-headless 5.0.0.93, numpy 2.3.5 and Pillow 13.0.0.

Local vLLM. The package starts and stops two servers from the same Wasabi-30B weights, one for the orientation check and one for reading; no other checkpoint is needed. It uses FlashInfer for vision attention, so if your setup cannot use FlashInfer, serve the model yourself and use endpoint mode.

python inference/wasabi_read.py pages/ out/ --engine vllm --model-dir /models/Wasabi-30B --tensor-parallel-size 1

Endpoint mode. To use OpenAI-compatible servers you already run, start both with Wasabi-30B and --reasoning-parser muse_glimmer: the reader with --mm-processor-kwargs '{"max_image_tokens": 8192}' and the orientation check with --mm-processor-kwargs '{"max_image_tokens": 4096}'. The machine running the reader then needs no vLLM. Pass a revision label for each server with --endpoint-revision and --orient-endpoint-revision; to resume into an existing output folder, use the same servers and labels.

python inference/wasabi_read.py pages/ out/ --engine endpoint --endpoint-url http://gpu-host:8000 --endpoint-revision wasabi-30b-v1.0 --orient-endpoint-url http://gpu-host:8001 --orient-endpoint-revision wasabi-30b-v1.0

--plan prints the processing steps and exits without loading a model. The API key, the UVDoc cache location and offline UVDoc use are described under Configuration.

What the reader does

For each page:

  1. Orientation check: Wasabi-30B checks whether the page is upright and rotates it if needed.
  2. Dewarping with UVDoc on CPU. The UVDoc code and weights are downloaded at first use.
  3. A whole-page read at 8,192 image tokens with greedy decoding.
  4. If the output is unusable (for example, it loops), retries at temperatures 0.1, 0.3, 0.5 and 0.8.
  5. Each page is written as <stem>.md. Rerunning the same command resumes and skips finished pages. Pages with no usable output are listed in out/.wasabi-read/run-report.json.

Direct model use

To call the model without the reader, use the vLLM build and processor fix above and send the page image as is (no orientation check, dewarping, upscaling or retries).

pip install openai
vllm serve /models/Wasabi-30B --served-model-name wasabi --max-model-len 36864 \
    --mm-processor-kwargs '{"max_image_tokens": 8192}' --reasoning-parser muse_glimmer

Then send one page through the OpenAI-compatible API with the recommended decoding (greedy, repetition penalty 1.10, seed 42, up to 24,576 new tokens, low reasoning strength):

import base64
from openai import OpenAI

client = OpenAI(base_url="http://localhost:8000/v1", api_key="none")
png = base64.b64encode(open("page.png", "rb").read()).decode()
prompt = open("inference/wasabi_read/prompts/draft.txt", encoding="utf-8").read()
r = client.chat.completions.create(
    model="wasabi",
    messages=[{"role": "user", "content": [
        {"type": "image_url", "image_url": {"url": "data:image/png;base64," + png}},
        {"type": "text", "text": prompt}]}],
    temperature=0.0,
    seed=42,
    max_tokens=24576,
    extra_body={"repetition_penalty": 1.10,
                "repetition_detection": {"max_pattern_size": 512, "min_pattern_size": 4, "min_count": 16},
                "chat_template_kwargs": {"reasoning_strength": "low", "current_date": "2026-10-16"}},
)
print(r.choices[0].message.content)

Like the reader, the example pins current_date so the prompt does not change with the day you run it, and repetition_detection stops a looping answer early. generation_config.json keeps the base model's sampling defaults, so pass temperature=0 as above for greedy decoding.

Files in this repository

pathwhat it is
model-00001-of-00002.safetensors, model-00002-of-00002.safetensors, model.safetensors.index.jsonmerged BF16 weights
config.json, generation_config.json, processor_config.jsonmodel and processor configuration
tokenizer.json, tokenizer_config.json, chat_template.jinjatokenizer and chat template
inference/the page reader package (wasabi_read, AGPL-3.0) and its two prompts
prompt.txtthe transcription prompt, the same file as inference/wasabi_read/prompts/draft.txt
.eval_results/mdpbench.yamlthe MDPBench results in Hugging Face's eval-results format
LICENSE, NOTICE, notices/license texts: this model (AGPL-3.0), the base model (Apache-2.0) and its usage policy
README.md, README_ja.mdthis model card, in English and Japanese
SHA256SUMSchecksums of every file

Limitations

  • Wasabi-30B was fine-tuned for Japanese documents only; the other MDPBench languages were not part of the fine-tuning.

License

  • This model and the reader package: GNU Affero General Public License v3.0 (LICENSE).
  • Base model Muse-Glimmer-30B: Apache License 2.0 (notices/Muse-Glimmer-30B-LICENSE.txt), together with its publisher's usage policy (notices/Muse-Glimmer-30B-USAGE_POLICY.md).
  • UVDoc code (commit 4c9b82b5): MIT License, Copyright (c) 2023 Tanguy MAGNE. The reader downloads the UVDoc code and its pretrained weights at first use and does not redistribute them. The weights have no separate license statement and stay under the terms of their original publisher.

Copyright 2026 Sionic AI Inc.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
MuseGlimmerForConditionalGeneration
Ревизия весов
6ab8f24

0 моделей