/ Модель

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

Лицензия
MIT
Архитектура
vision-encoder-decoder · dense
Базовая модель
pix2text-mfr-1.5
Библиотека
transformers
Опубликована
17 сен 2026

TypLens

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

TypLens V1.1 распознаёт печатные математические формулы на изображениях и преобразует их в исходный код Typst.

53скачиваний за 30 дней2лайкавеса обновлены25 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

TypLens V1.1 — модель с архитектурой vision-encoder-decoder для преобразования изображения печатной математической формулы в исходный код математической разметки Typst. Её разработчик — dbcccc. Модель содержит 29,2 млн параметров и рассчитана на распознавание одного фрагмента формулы за запрос; полные документы она не обрабатывает. Для запуска в браузере доступны графы ONNX в FP32 и компактном варианте с динамическими INT8-весами; также предоставлены веса safetensors. Лицензия — MIT.

Модель принимает изображение в оттенках серого размером 384×384 после предусмотренной авторами предобработки и выдаёт текст Typst. В проверке на 135 изображениях из набора разработки Typst успешно скомпилировался для всех примеров, а 127 результатов были признаны соответствующими изображениям. Эта оценка не является независимым тестовым результатом, а точность компактной версии отдельно не измерялась.

Модель дообучена на основе breezedeus/pix2text-mfr-1.5 с использованием собственного словаря вывода Typst. Она предназначена для формул, набранных печатным способом; рукописный ввод, мобильная работа и производительность WebGPU не оценивались. Ошибки возможны при распознавании мелких диакритических знаков, похожих символов, индексов и сложных блочных матриц, поэтому результат следует проверять.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

TypLens V1.1

TypLens V1.1 converts an image of a printed mathematical formula directly into Typst math source. Its 29.2-million-parameter model can run locally in a browser using the supplied full-precision or compact ONNX graphs.

Repository name: TypLens. Model version: V1.1. Release tag: v1.1.

Hugging Face model repository · GitHub repository

What changed from V1

  • A newly trained single-channel grayscale model replaces V1's RGB encoder input. Training ran for eight epochs (33,544 updates) on the original 268,346 training pairs, starting from the upstream-derived native-vocabulary initializer rather than continuing the released V1 checkpoint.
  • Training and inference use the same luminance conversion, background polarity normalization, content bounding box, 2% margin and 384×384 bicubic resize.
  • Full FP32 and compact dynamic INT8 ONNX exports come from the final checkpoint. The vocabulary and native Typst output format remain unchanged.

Integration change: V1.1 requires [1, 1, 384, 384] tensors and the custom preprocessing described in INFERENCE.md. Replace the preprocessing and both model graphs together. V1's RGB input pipeline is incompatible.

Files and sizes

FormatFiles in the Hugging Face packWeight bytesDownload size, decimal MB
Native FP32model.safetensors116,870,000116.9
Browser FP32onnx/fp32/encoder.onnx + decoder.onnx117,177,351117.2
Browser compactonnx/int8/encoder.onnx + decoder.onnx33,120,76633.1

The compact ONNX weights are 71.7% smaller than the FP32 ONNX weights. These numbers exclude tokenizer metadata and the application's runtime. Compact means dynamic INT8 linear weights; some operations and the caches remain FP32. The GitHub release provides a separate ZIP for each ONNX variant.

This distribution contains weights, tokenizer/configuration, documentation and license notices. It contains no training code, optimizer state, training images or inference runtime binaries. See release-manifest.json for file hashes and INFERENCE.md for integration.

Recorded evaluation

The final server FP32 checkpoint was reviewed on 135 reused IBEM development images with greedy generation and a maximum of 1,023 new tokens:

MeasureResult
Natural end of generation135/135
Typst compilation135/135
Content accepted by source-image review127/135 (94.1%)
Exact match to one reference source string76/135 (56.3%)
Accepted despite a different reference source string51

Equivalent Typst spellings and nonessential spacing differences were accepted; visible symbols, indices, accents and matrix structure still had to match. The reviewer was an AI assistant, without an independent second annotator. 38 cases were reviewed anew; 97 judgments were inherited only when both the source image hash and complete prediction matched the earlier source review. This reused development set also informed checkpoint selection, so 94.1% is not an independent test accuracy. It is a server FP32 result, not a measured compact-model accuracy. No controlled V1 versus V1.1 accuracy comparison is claimed.

Both ONNX variants completed three real desktop Edge/WASM smoke-test images each. Input tensors matched the training preprocessing and generated tokens matched their CPU ONNX references; on these three images both variants also matched server FP32 outputs. One image retained a known accent error. These checks establish basic execution/parity, not full accuracy or absence of quantization loss. See evaluation-summary.json.

Intended use and limitations

Use one printed formula crop from a PDF, paper or screenshot per request. This model does not convert full documents. Handwriting, mobile inference and WebGPU performance have not been evaluated for this release. Small accents, similar symbols, missing indices and complex block matrices remain failure cases. Inspect the generated formula before use. Applications can show partial or validation-failed output with a warning so that it remains editable.

Provenance and license

The model derives from Pix2Text-MFR-1.5 (pinned revision 1cef9f0bdcd6a4c63df7de1311fb0894593340cc), with a native Typst vocabulary and a one-channel image projection. It has 29,206,656 parameters and uses 1,199 tokens. Source checkpoint SHA-256: d42cfd2da242a11ecdb1fe8727ee01e6896a116cd46f74357c4fdce90eebe788.

The release retains MIT for project contributions, with the Pix2Text and Microsoft MIT notices. Training data came from UniMER and IBEM. Dataset attribution and component-level provenance limits are retained in NOTICE.md. The model license does not relicense those datasets. Keep LICENSE, NOTICE.md and licenses/ when redistributing the weights.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
VisionEncoderDecoderModel
Ревизия весов
f982163

0 моделей