/ Модель

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

Контекст
16 384 токена
Параметры
232 млн
Лицензия
openmdw-1.1
Архитектура
nemotron_parse · dense
Базовая модель
Nemotron-3.5-Parse
Библиотека
transformers
Опубликована
27 окт 2026

Bina-0.4-Koochik

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

Bina 0.4 Koochik — модель OCR для извлечения персидского текста, таблиц и разметки с изображений документов.

309скачиваний за 30 дней6лайковвеса обновлены25 ноя 2026

Бенчмарки

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

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

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

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

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

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

Bina 0.4 Koochik — модель оптического распознавания символов для документов на персидском (фарси), разработанная Reza2kn на основе NVIDIA Nemotron-3.5-Parse. Это плотная autoregressive image-to-text модель с визуальным backbone C-RADIOv4-SO400M и текстовым декодером. В метаданных указано 231,5 млн параметров, а в README — 630 800 496; размер модели в источниках расходится, поэтому точное число параметров определить нельзя. Нативная длина контекста — 16 384 токена.

Модель предназначена для транскрибации текста на изображениях страниц и фрагментов документов. Отдельные промпты поддерживают английский текст, математические выражения и Markdown, включая таблицы. Для Python есть runner с маршрутами обработки макета и таблиц; входные PDF нужно предварительно преобразовать в изображения. В браузерном варианте поддерживаются PNG, JPG и WebP, а вывод выполняется локально на устройстве.

README приводит результаты на фиксированном наборе из 193 изображений: для pipeline table-v3 указаны similarity 86,38%, CER 25,14% и WER 34,58%. Авторы отмечают, что этот набор использовался при разработке и не является независимым тестом, а эти результаты не гарантируют качество на отдельном изображении. Весам присвоена лицензия OpenMDW 1.1.

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

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

Ограничения

Показатели приведены для фиксированного набора, использованного при разработке, и не являются независимой оценкой или гарантией качества на новых изображениях. Для Python-runner PDF нужно предварительно растеризовать; обработка таблиц требует дополнительных CPU-этапов и генерации по ячейкам.

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

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

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

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

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

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

Открыть на Hugging Face

Bina 0.4 Koochik

Try Bina in your browser

Use the public Bina 0.4 Koochik Space or its standalone app. The Persian interface follows persianvlm.com/ocr. Inference runs on the visitor's device using the pinned checkpoint 18,404 WebGPU INT4 runtime; images and text are never uploaded. The first run downloads about 770 MB, then four sessions stay resident for subsequent images. PNG, JPG and WebP are supported; PDF is not. Current desktop Chrome/Edge with WebGPU is recommended. The published qualification scores remain scoped to the frozen 64 set, not a per-input guarantee.

Bina 0.4 Koochik is a 630,800,496-parameter image-to-text OCR model derived from NVIDIA Nemotron-3.5-Parse, with a C-RADIOv4-SO400M vision backbone and an autoregressive text decoder. It is intended for Persian/Farsi document transcription, with English, math/Markdown and table routes supported by its task prompts.

This repository contains the original uncompressed FP32 weights from checkpoint 18,404, saved during the ongoing Bina 0.4 training run. It is a pinned release snapshot; later training checkpoints are not silently substituted. Main training, optimizer, sampler and training configuration were not changed to prepare this release. No optimizer, RNG, sampler state or evaluation images are included.

Use the tested inference runner

Download the complete repository, then use Python 3.11 with requirements.txt:

hf download Reza2kn/Bina-0.4-Koochik --local-dir Bina-0.4-Koochik
cd Bina-0.4-Koochik
pip install -r requirements.txt
python setup_table_runtime.py --with-layout
python run_ocr.py --image examples/demo.png --output result.json

The runner uses CUDA with BF16 when available and CPU with FP32 otherwise. --device cpu forces CPU. --task markup selects the Markdown/math prompt; default is plain OCR. Inputs are page/region images; rasterize PDFs before passing their pages to this runner. This is a custom Transformers model, so use AutoModel/AutoProcessor with trust_remote_code=True, as the supplied runner does, rather than assuming a generic pipeline or a hosted inference provider is available.

The legacy --policy layout-v2 applies a pixel-only layout policy: shaded-sidebar partitioning and large blank-row splits, all original pixels included exactly once. Each region uses greedy decoding, repetition penalty 1.1, a 2,048-token per-attempt limit, natural EOS, and at most one source-policy resolution retry. There is no repeated-passage stopping guard, no-repeat constraint or duplicate-text removal. All raw region attempts/tokens are retained in the JSON output. --policy original preserves whole-page inference for diagnosis; the source model can replay text on complex whole pages.

The included demo image is newly authored synthetic text, not a training/calibration or protected evaluation example. The tested CPU FP32 runner transcribed both demo lines exactly and reached EOS without a cap or repetition. This smoke test is an installation/runtime check, not a corpus OCR accuracy result.

Public table-pipeline update (2026-11-24)

The tested CUDA reference stack is PyTorch 2.11.0 / torchvision 0.26.0 / Transformers 5.14.1 (the measured CUDA build was cu130). The main requirements now pin that tested stack.

The Python reference runner now defaults to --policy table-v3 for plain OCR. A pinned CPU Surya layout model identifies table regions, and a separate pinned CPU table model proposes cells. A table is accepted only with at least two rows/two columns and at least 98% visible-foreground coverage; otherwise the exact native layout-v2 route is retained. Koochik itself reads every accepted cell using the same BF16/greedy/retry decoding policy. Output uses physical left-to-right Markdown columns by default (--table-column-order rtl is available). Markup-task inference retains its native layout-v2 route. No weights were retrained or replaced.

Frozen original193 pipelineSimilarityCERWER
Previous layout-v286.11%27.41%36.56%
New table-v386.38%25.14%34.58%

All 193/193 calls succeeded, with no empty or capped selected outputs. Only two model-detected table crops changed; all other 191 predictions were byte-identical to the previous run. Table-v3 may make multiple cell-level generation calls per image, each with the existing 2048-token attempt limit. The extra geometry stages and cell calls change the pipeline's computational budget; this is a pipeline improvement rather than a weight-only comparison. The benchmark was used during development and is not an untouched held-out test set.

python setup_table_runtime.py --with-layout
python run_ocr.py --image page.png --output result.json --policy table-v3
python benchmark_submitted10.py --device cuda --out submitted10-results

Helper environments require Python 3.10-3.12 because of their pinned NumPy dependency. The VLM can use its existing interpreter: for example, from a Python 3.13 VLM environment run python setup_table_runtime.py --python python3.10 --with-layout. Helpers run as separate CPU processes, isolating Surya 0.17/Transformers 4 table parsing and Surya 0.22/Transformers 5 layout from the VLM. Setup shares a matching installed Torch stack or installs pinned CPU Torch into the helper environment. The model files are pinned and verified/downloaded from their publishers. Their original licenses remain applicable; the Bina model weights retain OpenMDW 1.1.

benchmark_submitted10.py verifies the same 193 original PNG hashes, performs image-only inference without IDs/categories as hints, and accesses the original reference text only after all predictions complete. It uses the archived original normalizer with unclipped corpus CER/WER. See validation/submitted10-table-v3.json and validation/submitted10-table-v3-predictions.jsonl for the measured receipt/predictions. --policy layout-v2 reproduces the previous runner; --policy original retains whole-image inference. These new Python-runner measurements do not extend the existing browser/CoreML/ONNX/Tract qualification claims.

Quantized versions and parity

Each published derivative has its own runtime files, model card and base_model_relation: quantized metadata pointing to this original model. Results below are measured on checkpoint 18,404 with matched corrected source decoding.

DerivativeFrozen64 character parity
CoreML INT4coreml: 98.9028%
ONNX INT4 (auto CUDA / CPU)onnx: 98.9028%; onnx-cuda: 98.9028%
Browser WebGPU INT4webgpu: 98.8603%
Tract INT4 (auto Metal / CPU)tract: 98.8745%; tract-metal: 98.9170%

The native ONNX runner now automatically selects validated CUDA or CPU, and the Tract runner selects validated Metal or CPU on compatible macOS ARM64. GPU startup or inference failures in automatic mode restart the entire current region on CPU with fresh state. Explicit GPU modes raise instead. ONNX CoreML EP failed capability checks for these graphs, so ONNX on macOS currently uses CPU; use Tract Metal or native CoreML for Apple GPU inference. See each derivative card for installation, supported platforms and recovery evidence.

Ternary adaptation and unsupported runtime routes are not implied to pass the 98% gate merely because another format passes.

The engineering target is at least 98% pooled NFC character agreement to the matched uncompressed reference, with original whole-page agreement reported separately. Source agreement includes the source model's OCR errors; it is not human-annotated OCR accuracy or a per-input guarantee. CUDA BF16 and CPU FP32 are different arithmetic profiles and can produce different autoregressive outputs. Small decorative text, logos, calligraphy, low-quality scans and long complex layouts remain limitations. Any experimental ternary variant must be judged by its own quality/runtime evidence; the name alone does not imply native BitNet support or a speed benefit.

Provenance and license

  • Source checkpoint repository: Reza2kn/Bina-0.4-Nemotron-Checkpoints-20261025.
  • Immutable revision: a2a0251293ba92a120caa2dbb4ef8eac7eb12fd8.
  • Checkpoint step: 18,404.
  • Publisher manifest SHA256: 70997dadcd7ca5348e575536a50fb07989c78c42b614a800163c62002abc52b6.
  • Canonical original weights SHA256: cb62fc750923f21e4c6a03131d2a4f392d5046e109a154665dc491f43a74a564 (2,523,266,632 bytes).
  • Inference architecture/code and tokenizer are preserved from that checkpoint. Full provenance is in provenance.json.

The model inherits OpenMDW 1.1 from the source model/checkpoint repository. LICENSE preserves the upstream terms and tokenizer notices; NVIDIA source headers remain intact. The newly supplied runner/layout helpers do not alter the original model weights. A model release does not certify phone/ANE, every GPU/OS, serverless hosting or any untested runtime.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
NemotronParseForConditionalGeneration
Ревизия весов
2d106d5

0 моделей