/ Модель

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

Базовая модель
pp-ocrv6-medium-rec-vietnamese
Библиотека
paddleocr
Опубликована
5 окт 2026

PP-OCRv6-Vietnamese-Rec

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

Дообученная модель PP-OCRv6 распознаёт вьетнамский текст в обрезанных строках на изображениях.

0скачиваний за 30 дней0лайковвеса обновлены5 окт 2026

Бенчмарки

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

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

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

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

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

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

PP-OCRv6-Vietnamese-Rec — модель ANZ Innovation для распознавания вьетнамских строк текста на изображениях. Это дообучение модели tieubaoca/pp-ocrv6-medium-rec-vietnamese на архитектуре PP-OCRv6 medium recognition, предназначенное для чтения обрезанных фрагментов текста, а не для полного цикла распознавания страниц. По внутренней проверке на 1 900 тестовых фрагментах версия epoch 30 показала CER 2,22%, WER 3,50% и точность полного совпадения строки 90,11%; эти результаты относятся только к частному корпусу разработчика.

Модель рассчитана на текст на вьетнамском языке с диакритическими знаками. Для обработки страниц или полных изображений отдельно требуется детектор текста; распознавание порядка чтения и обработка PDF в измерения не входили. Проверенная область применения ограничена корпусом с документами, счетами, финансовыми документами и таблицами, поэтому обобщение на другие домены не установлено. Модельные веса унаследованы от исходного чекпойнта, лицензия которого в карточке не указана; README не назначает унаследованным весам новую лицензию. Код PaddleOCR распространяется по Apache-2.0.

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

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

Ограничения

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

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

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

Открыть на Hugging Face

PP-OCRv6-Vietnamese-Rec

Vietnamese text-line recognition fine-tuned by ANZ Innovation from tieubaoca/pp-ocrv6-medium-rec-vietnamese, using the PaddleOCR PP-OCRv6 medium recognition architecture.

The default model is epoch 30. On our internal held-out test of 1,900 text crops, it achieves 2.22% CER, 3.50% WER, and 90.11% exact-line accuracy. CER is 82.47% lower relative to the tieubaoca starting checkpoint on this test. These are recognition results on our corpus, not a public benchmark or a measurement of full-page OCR quality.

Comparison on the same held-out test

All values below are percentages. Lower CER/WER is better; higher exact-line and diacritic accuracy is better.

ModelCER ↓WER ↓Exact-line accuracy ↑Diacritic accuracy ↑
Official PP-OCRv6 medium recognition14.8552.3013.0036.59
tieubaoca/pp-ocrv6-medium-rec-vietnamese12.6526.2445.5888.97
ANZ Innovation — epoch 122.463.9388.6898.62
ANZ Innovation — epoch 30 (default)2.223.5090.1198.76

The official baseline uses its original weights and dictionary; the Vietnamese baseline and our checkpoints use the Vietnamese dictionary. The official vocabulary cannot represent at least one reference character in 1,423/1,900 test crops. Consequently, its gap includes vocabulary coverage as well as adaptation. It should not be interpreted as an architecture-only comparison.

Epoch 30 improves CER over epoch 12 by 0.238 percentage points. A paired bootstrap over 136 document/source groups (2,000 resamples) gives a 95% interval of −0.529 to −0.094 percentage points. This interval describes this corpus only.

Validation results

ModelCER ↓WER ↓Exact-line accuracy ↑Diacritic accuracy ↑
Official PP-OCRv6 medium recognition20.0160.9514.9530.08
tieubaoca/pp-ocrv6-medium-rec-vietnamese16.3829.5453.9284.27
ANZ Innovation — epoch 123.845.6188.6997.27
ANZ Innovation — epoch 303.885.7688.2997.12

Validation contains 3,023 crops. Epoch 12 is the checkpoint selected by validation exact-line accuracy; epoch 30 is the final training checkpoint and has better results on the reported test. Both are provided. Test results were measured after training; no further tuning on this test is reported.

Evaluation protocol and limitations

  • Identical fixed ground-truth text crops and NFC-normalized reference strings for all four models; BGR inputs resized with preserved aspect ratio to height 48 and padded to width 1280. No accent stripping or case folding.
  • The existing test/validation sets contained 1,909/3,034 crops. Nine test and eleven validation examples with characters outside the Vietnamese dictionary were excluded before the comparison. The official baseline receives the same remaining examples, with no additional filtering.
  • CER is total character edit distance divided by total reference characters. WER uses whitespace-separated words. Exact-line accuracy requires the entire prediction to match. Diacritic accuracy is the fraction of Vietnamese diacritic-bearing reference characters recovered correctly under edit alignment.
  • Test references contain 59,550 characters, 13,146 words, and 10,269 diacritic-bearing characters. Full aggregate counts and source-level results are in metrics/.
  • Test sources include internal documents, invoices, financial documents, tables, existing OCR datasets, and a small replay subset. Difficult invoices still have 5.02% CER; the 93-crop replay subset has 13.62% CER. Broad multilingual/general-domain robustness has not been established.
  • These measurements exclude detection, reading order, page rendering, and PDF processing. This model recognizes cropped text; use a detector separately for full images/pages.
  • The benchmark data are private and are not distributed. These results cannot be independently reproduced from this repository alone. Evaluate on your own representative data before deployment.

The tables use FP32 dynamic-checkpoint inference. Exported inference artifacts were separately checked on all 1,900 test crops: epoch 30 has 2.2200% CER, 3.5068% WER, 90.1053% exact accuracy (one prediction differs from dynamic inference); epoch 12 has 2.4635% CER, 3.9404% WER, 88.6316% exact accuracy (four predictions differ). See export_verification.json. Dynamic-width graph inputs at widths 320 and 1280 were also verified.

Usage

Install PaddlePaddle for your CPU/CUDA environment following the official installation instructions, then install paddleocr and huggingface_hub. Artifacts were exported and tested with PaddlePaddle 3.3.1.

from huggingface_hub import snapshot_download
from paddleocr import TextRecognition

model_dir = snapshot_download(
    repo_id="ANZ-Innovation/PP-OCRv6-Vietnamese-Rec",
    allow_patterns=["inference.*", "ppocr_keys.txt"],
)
model = TextRecognition(
    model_name="PP-OCRv6_medium_rec",
    model_dir=model_dir,
    device="gpu:0",  # Use "cpu" for CPU inference.
    input_shape=(3, 48, 1280),
)
for result in model.predict(input="cropped_line.png", batch_size=1):
    result.print()

Input should be a cropped text-line image. To use epoch 12, also download epoch12/* and use that subdirectory as model_dir. For full images/pages, use a detector separately. See the PaddleOCR text recognition documentation.

Repository contents

The default inference model is epoch 30; epoch 12 is provided as an alternative. Training code, training configurations, and optimization scripts are not distributed in this repository.

PathContents
inference.json, inference.pdiparams, inference.yml, ppocr_keys.txtEpoch 30 inference graph, parameters, configuration, dictionary
epoch12/Epoch 12 inference artifacts
training_checkpoint/epoch30.pdparams, epoch12.pdparamsFull model weights, including both heads; optimizer state is not included
metrics/Aggregate evaluation results, bootstrap, vocabulary coverage
release_manifest.jsonArtifact SHA-256 hashes

Attribution and licensing

This release derives from PaddleOCR and the tieubaoca Vietnamese checkpoint. PaddleOCR source code is distributed under Apache-2.0. The upstream tieubaoca model card did not declare a model-weight license at release time; this card does not assign a new license to inherited weights. Consult upstream terms for your intended use.

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

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

GPU в ailist

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

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

Модели PaddlePaddle рантайм не загружает.

Ревизия весов
79c0b07

0 моделей