/ Модель

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

Контекст
262 144 токена
Размер весов
1,7 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_5 · dense
Базовая модель
OvisOCR2
Библиотека
mlx
Опубликована
15 июл 2026

OvisOCR2-MLX-BF16

Изображение и текст → текст

Конверсия OvisOCR2 в MLX BF16 для распознавания текста и разбора документов на Mac с Apple Silicon.

48скачиваний за 30 дней0лайковвеса обновлены15 июл 2026

Бенчмарки

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

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

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

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

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

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

OvisOCR2-MLX-BF16 — неофициальная конверсия модели ATH-MaaS/OvisOCR2 в формат MLX BF16 для запуска через MLX-VLM и oMLX на компьютерах Mac с Apple Silicon. Это визуально-языковая модель семейства Qwen3.5, предназначенная для распознавания текста на изображениях документов и преобразования документов в текст с разметкой Markdown.

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

Это конверсия весов, а не новое дообучение; она сохраняет архитектуру исходной модели и переводит веса в совместимый с MLX формат BF16. BF16 требует больше памяти и хранилища, чем 4-битная версия. Лицензия — Apache-2.0. Результаты следует проверять перед использованием в юридических, финансовых, медицинских и других ответственных задачах.

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

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

Ограничения

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

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

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

Открыть на Hugging Face

OvisOCR2-MLX-BF16

这是 ATH-MaaS/OvisOCR2 的非官方 MLX BF16 转换版本,面向 Apple Silicon Mac 上的 MLX-VLM 和 oMLX。

This is an unofficial MLX BF16 conversion of ATH-MaaS/OvisOCR2 for document OCR and document parsing on Apple Silicon Macs. It is a format conversion, not a new training run or a fine-tuned checkpoint.

Model summary

ItemValue
Base modelATH-MaaS/OvisOCR2
Model familyQwen3.5 VLM (model_type: qwen3_5)
Main useOCR, document parsing, Markdown extraction
MLX formatBF16
QuantizationNone; floating-point BF16 weights
ProcessorQwen3VLProcessor
Weight sizeApproximately 1.7 GB for model.safetensors
Conversion statusCommunity conversion; not affiliated with the upstream authors

Intended use

Use this checkpoint to extract readable content from document images, including:

  • printed Chinese and English text;
  • headings, paragraphs and lists;
  • tables and basic document layout;
  • Markdown-oriented document conversion.

The output quality depends on image resolution, blur, contrast, handwriting, document layout and the prompt. This repository does not claim a new accuracy benchmark; users should validate it on their own document types.

Installation

The simplest runtime is mlx-vlm on an Apple Silicon Mac:

python3 -m pip install -U mlx-vlm huggingface_hub

For a clean environment, use a virtual environment instead of installing packages into the system Python:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -U pip mlx-vlm huggingface_hub

MLX requires Apple Silicon. CUDA, ROCm and ordinary x86 CPU inference are not the target runtime for this repository.

Download

Replace YOUR_HF_USERNAME with the account or organization that publishes this repository:

hf download YOUR_HF_USERNAME/OvisOCR2-MLX-BF16 \
  --local-dir ./OvisOCR2-MLX-BF16

The repository should contain the extracted MLX model files at its root. Do not put the model inside another nested directory, and do not upload only the .tar archive.

Quick start with MLX-VLM

The official mlx-vlm command is mlx_vlm.generate:

mlx_vlm.generate \
  --model ./OvisOCR2-MLX-BF16 \
  --image /path/to/document.png \
  --prompt "Extract all readable content from this image in Markdown. Preserve the original reading order, headings, paragraphs, lists, and table structure as much as possible. Return Markdown only; do not add explanations." \
  --max-tokens 4096 \
  --temperature 0.0

For OCR, thinking is normally unnecessary. Do not pass --enable-thinking unless you intentionally want to test a thinking-style prompt.

A shorter prompt can also be used:

Extract all readable content from the image in Markdown. Preserve the original text and layout as much as possible. Return Markdown only.

Use with oMLX

oMLX treats this checkpoint as a Qwen3.5 vision-language model. Copy the model into the directory configured for oMLX, then start the server:

mkdir -p ~/models
hf download YOUR_HF_USERNAME/OvisOCR2-MLX-BF16 \
  --local-dir ~/models/OvisOCR2-MLX-BF16

omlx serve --model-dir ~/models

Open http://localhost:8000/admin/chat, select the model and upload a document image. If an oMLX installation does not identify the model automatically, set its model type to VLM in the Admin panel. Use a prompt like the one above and keep thinking disabled for normal OCR.

The first request can be slower because the model and Metal resources have to be loaded. Subsequent requests are the more useful measure of inference speed. Cold-start time also depends on whether oMLX has evicted the model, the current memory pressure, the storage device and the installed oMLX/MLX version.

Conversion information

The conversion was performed from the upstream Hugging Face checkpoint with mlx-vlm:

mlx_vlm.convert \
  --hf-path ATH-MaaS/OvisOCR2 \
  --mlx-path OvisOCR2-MLX-BF16

This conversion preserves the upstream model architecture and tokenizer/processor assets while changing the weight format to MLX-compatible BF16 tensors. Re-running a conversion with a different mlx-vlm version may produce small metadata differences; the generated config.json and processor files should be kept together with the weights.

Repository contents

The model repository contains the MLX weight file and the configuration, tokenizer and processor files required by mlx-vlm/oMLX. Typical files include:

README.md
config.json
model.safetensors
processor_config.json
preprocessor_config.json
tokenizer.json
tokenizer_config.json
chat_template.jinja

The exact auxiliary filenames may vary slightly with the mlx-vlm release. Do not rename or remove files generated by the converter.

Limitations and safety

  • This is an unofficial conversion and is not endorsed by the upstream OvisOCR2 authors.
  • OCR can be incorrect on low-resolution, skewed, blurred, handwritten or unusual documents.
  • Tables and complex multi-column layouts may require prompt tuning or post-processing.
  • BF16 uses more memory and storage than the accompanying 4-bit conversion.
  • Generated text must be checked before it is used for legal, financial, medical or other high-stakes purposes.
  • Speed depends on the Mac model, image token count, output length, memory pressure, cache state and software versions. No universal tokens-per-second guarantee is made.

License and attribution

The upstream model page identifies ATH-MaaS/OvisOCR2 as Apache-2.0. Please review and comply with the upstream license and attribution requirements when redistributing this conversion. This repository is an unofficial format conversion and does not change the upstream license.

Upstream resources:

Release note

This repository contains the BF16 MLX conversion named OvisOCR2-MLX-BF16. It should be used together with the model files in this repository, not with the original Transformers/PyTorch weights directly.

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

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

GPU в ailist

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

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

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

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

0 моделей