/ Модель

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

Лицензия
CC BY 4.0
Библиотека
kraken
Опубликована
29 окт 2026

consilia-baldus-venice1575-kraken-rec

Описание изображенийИзображение → текст3 профессии
7скачиваний за 30 дней0лайковвеса обновлены29 окт 2026

Описание модели

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

Модель Kraken распознаёт строки с изображений юридических печатных изданий XVI века, обученная на Consilia Бальда де Убальдиса 1575 года.

Модель распознавания текста Kraken для строк на изображениях венецианских юридических печатных изданий 1570-х годов, обученная в проекте «Embedding the Past» при TU Darmstadt и AdWL|Mainz. Она дообучена на 167 699 строках пяти томов Consilia Бальда де Убальдиса, изданных в Венеции в 1575 году, и рассчитана на римский и курсивный шрифты того периода.

Модель принимает изображения строк с заданными базовыми линиями и полигонами, например из сегментатора Kraken или разметки PAGE XML/ALTO, и выдаёт распознанный текст. В тесте на 71 отложенной странице достигла точности распознавания символов 99,47% и слов 98,09%. Текст следует редакционным правилам издания: в частности, лигатуры раскрываются, некоторые сокращения разворачиваются, а видимые переносы строк обозначаются специальным символом.

Модель предназначена для транскрипции именно этого корпуса и близких печатных материалов; показатели теста не гарантируют такую же точность на других изданиях или шрифтах. Для полного распознавания страниц требуется предварительная сегментация или готовая разметка строк. Лицензия — CC BY 4.0.

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

  • транскрипция строк издания Consilia 1575 года
  • распознавание римского шрифта венецианских юридических книг XVI века
  • распознавание курсивного шрифта ранней печати
  • подготовка транскрипций для цифрового гуманитарного проекта
  • извлечение текста из размеченных строк PAGE XML или ALTO

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

Consilia Print: kraken text recognition model for 16th century legal prints

A kraken recognition model for the roman and italic type of the Venetian legal prints of the 1570s, fine-tuned from McCATMuS on 167,699 lines of Baldus de Ubaldis, Consilia (Venice 1575, five volumes) with the final text of the Consilia edition (https://github.com/dekm-tud/coding-consilia) based on its editorial conventions: long s as s, the ampersand as "et", ligatures resolved, ę kept, abbreviations marked with tildes or special signs expanded silently ("nõ" > "non", "ſnĩa" > "sententia"), abbreviations with a period in citations kept as printed ("ff. de uer. ob. l."), a marginal number as a prefix ("2 "), the structuring symbol in the text as "†". Visible hyphens at the line end as "¬".

Model was trained on kraken's polygon lines and works with layout model mschonhardt/consilia-baldus-venice1575-kraken-seg.

Developed in the project Embedding the Past (LOEWE-Exploration, TU Darmstadt, AdWL|Mainz), funded by HMWK Hessen, PI Prof. Dr. Michael Schonhardt, for the Consilia portal.

Files

filewhat
consilia_rec.mlmodelthe model in kraken's CoreML container (kraken … ocr -m consilia_rec.mlmodel)
consilia_rec.safetensorsthe same weights in kraken 7's safetensors format
training.logthe ketos log (validation accuracy per epoch)
test.logthe ketos test report on the test split (metrics, confusions)

Use

kraken -i page.jpg page.xml -x segment -bl -i consilia_seg.mlmodel ocr -m consilia_rec.mlmodel   # page image -> PAGE XML
kraken -i page.jpg page.xml -x -f page ocr -m consilia_rec.mlmodel                                # existing PageXML layout -> text

The model is a baselines model: it expects lines with a baseline and polygon (kraken's segmenter, PageXML or ALTO from eScriptorium or Transkribus).

Training

  • Base: McCATMuS (McCATMuS_nfd_nofix_V1, a generic model for manuscripts and prints), codec extended by the edition's characters (--resize union), text in NFD.
  • Data: the train pages of the dataset, lines with a non-empty text, a baseline and either a human decision or at least two of the three readings agreeing with the edition text (167,699 lines); 13,611 validation lines from 100 other pages; 9,941 test lines from 71 pages never used in training or selection. Lines compiled with ketos compile -f page (polygon extraction, no legacy polygons).
  • ketos train -f binary --resize union -u NFD -B 32 -r 0.0005 --schedule cosine --cos-max 16 -N 16 --min-epochs 8 -q early --lag 4 --min-delta 0.0005 --augment --pad 16 --precision 16-mixed: batch 32, learning rate 5e-4 with a cosine schedule over 16 epochs, augmentation on, 16 px padding, mixed precision; early stop after four evaluations without improvement. Best epoch: 18 of 23 (epochs counted from 0; the stop came after four epochs without improvement).
  • Hardware and time: one NVIDIA RTX PRO 6000 Blackwell Server Edition (96 GB) at TU Darmstadt, shared with the two layout trainings of the project; 6 to 8 minutes per epoch, 2.8 hours in all, 26 October 2026.
  • Environmental impact, estimated: the card (600 W) ran 2.9 hours for the three trainings together, 1.74 kWh × 0.38 kg CO2e per kWh (German grid average) = about 660 g CO2e, of which about 310 g fall to this model by its share of the run time.

Evaluation

ketos test on the held-out test split (71 pages, 9,941 lines, text in NFD, kraken's own metric):

metricvalue
character accuracy99.47 % (607,691 characters, 3,218 errors: 490 insertions, 1,855 deletions, 873 substitutions)
character error rate0.53 %
word accuracy98.09 % (word error rate 1.91 %)

Validation during training: best character accuracy 99.52 % (epoch 18).

Most frequent errors (test.log): a dropped hyphen sign at the line end (274 times) or one added (91), a dropped space (189), and single dropped letters inside words (n, i, t, a, e, s, o, u, m, r: 80 to 130 each); deletions outnumber insertions by almost four to one. Case errors are negligible (case-insensitive accuracy equals the case-sensitive one). By script: Latin letters 99.61 %, punctuation and digits 99.35 %, combining marks 97.2 % correct.

Licence and citation

Model weights: CC BY 4.0. Schonhardt, Michael: Consilia Print: kraken text recognition model for 16th century legal prints, v2. Embedding the Past (LOEWE-Exploration, TU Darmstadt, AdWL|Mainz), 2026. https://huggingface.co/mschonhardt/consilia-baldus-venice1575-kraken-rec

Related: the dataset mschonhardt/consilia-baldus-venice1575-pagexml; the layout model mschonhardt/consilia-baldus-venice1575-kraken-seg; the v1 model and its line dataset on Zenodo; McCATMuS, DOI 10.5281/zenodo.13788177; the Consilia portal https://dekm-tud.github.io/coding-consilia/ and its repository https://github.com/dekm-tud/coding-consilia.

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

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

GPU в ailist

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

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

В репозитории нет config.json: не понять архитектуру модели.

Ревизия весов
bcd53e1

0 моделей