/ Модель

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

Лицензия
Своя лицензия
Опубликована
13 сен 2026

arabic-english-layout27-rfdetr-xl

Поиск объектовИзображение → bounding_boxes6 профессий
0скачиваний за 30 дней0лайковвеса обновлены14 сен 2026

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

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

RF-DETR-XL, дообученная для поиска элементов макета арабских и английских документов, включая текстовые блоки, таблицы и изображения.

Arabic + English document layout, RF-DETR-XL (layout27-v2) — модель обнаружения объектов для разбора структуры документов, разработанная автором репозитория на основе чекпойнта RF-DETR-XL, обученного на DocLayNet. Она дообучена на 28 650 страницах: машинно-размеченных арабских и английских страницах и страницах DocLayNet с человеческой разметкой. Репозиторий содержит веса в формате safetensors; модель активирует 27 классов структуры и резервирует ещё семь слотов, отключённых при инференсе.

Модель предназначена для поиска областей документа: текста, заголовков, таблиц, изображений, формул и других элементов макета. На 484 защищённых страницах валидации DocLayNet на английском языке средний mAP по 11 оценённым классам составил 0,6568. Остальные 16 активных классов обучались только на машинной разметке и не оценивались. Арабское качество не проверялось, поэтому применение к арабским документам требует отдельной проверки. На десяти общих с базовой моделью классах результат ниже на 1,4 пункта mAP; классификация подтипов графики, значков и логотипов также имеет слабую подтверждённость. Коммерческое использование ограничено: из-за данных обучения, включающих материалы под CC-BY-NC-4.0, модель заявлена как некоммерческая; веса происходят от RF-DETR+ под условиями PML-1.0.

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

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

Ограничения

Арабская точность не оценивалась; 16 активных классов не имеют количественной валидации, а качество на десяти общих классах ниже базового чекпойнта. Модель предназначена только для некоммерческого использования согласно карточке.

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Arabic + English document layout, RF-DETR-XL (layout27-v2)

RF-DETR-XL fine-tuned from a DocLayNet-trained checkpoint onto a combined corpus of 28,650 training pages: 18,650 machine-labeled Arabic/English pages and 10,000 human-annotated DocLayNet pages.

Selected checkpoint: step 2500, chosen on validation mAP. Training was stopped by hand at step 4000 of a planned 6,000, after validation mAP fell for 1,000 consecutive steps (2500: 0.6568 -> 3000: 0.6487 -> 3500: 0.6480).

Results

Every number here is the same 484 protected DocLayNet validation pages, scored identically. mAP in the metrics block below is the mean over the 11 classes the evaluator actually scored -- not over the 27 active classes, and not over the 10 declared gate classes.

Class setBaselinev1This model (v2)
All 11 scored0.61180.64780.6568
10 excluding Picture0.67300.64820.6586

Both rows are needed, because they say different things:

  • The baseline scores 0.0000 on Picture against 298 supported instances -- it emits no Picture predictions at all. So this model's lead on the 11-class row is largely a capability the baseline never attempted, not a better contest.
  • On the 10 classes both models contest, this model is 1.4 mAP behind the baseline (0.6586 vs 0.6730). That is a regression, and it is the real cost of this release.

A 10-class mean must never be compared against a 11-class mean. An earlier revision of this card did exactly that and overstated the result.

ClassBaselinev1v2
Caption0.80940.78860.7692
Footnote0.61880.56930.5820
Formula0.50560.48800.4850
List-item0.75000.73850.7497
Page-footer0.62160.56800.6186
Page-header0.49320.46670.4905
Picture0.00000.64320.6384
Section-header0.61870.60090.6075
Table0.74630.76060.7443
Text0.83820.82500.8311
Title0.72860.67670.7083

What this model can and cannot tell you

Measured. 11 of the 27 active classes are scored, all on DocLayNet English: Caption, Footnote, Formula, List-item, Page-footer, Page-header, Picture, Section-header, Table, Text, Title.

Trained but unmeasured. The remaining 16 classes -- Document Index, Code, Checkbox-Unselected, Form, Key-Value Region, bar_chart, flow_chart, icon, line_chart, logo, map, pie_chart, qr_code, screenshot, signature, stamp -- exist only in machine-labeled pages. They are trained and are not scored anywhere. Treat any apparent performance on them as unverified.

Which corpus taught what. The machine-labeled corpus supervised only the figure classes; the measured classes were taught by DocLayNet's human annotations alone, because the two corpora disagree about where those classes end. Against v1, which let both corpora supervise everything, this model is +0.0104 on the 10 contested classes -- but it also changed the sampling mix and restarted from the baseline checkpoint, so that difference is not attributable to the supervision change alone.

For context on why this run exists: v1, which let both corpora supervise every class, measured 0.6482 against the baseline's 0.6730 on those same 10 classes -- a 0.0248 regression. Withdrawing custom supervision from the DocLayNet-defined classes recovered about 40% of that gap (v2 is 0.0144 below baseline), leaving a real regression still on the table.

No Arabic evaluation exists. Every protected validation and test page is DocLayNet English. No number in this repository is Arabic accuracy; Arabic behaviour is untested.

Figure subtypes are cell-wide statistical labels. The logo/icon/chart distinctions come from a 250-decision calibration with a cell-wide 70% adoption rule, not per-region review. Two independent judges agreed on only 58% of disputed regions (Cohen's kappa 0.25), and the icon/logo boundary is known-weak.

Schema

34 head slots, 27 active. Seven slots are reserved and masked at inference (13, 17, 19, 20, 21, 27, 30): other is abstention, the rest lack minimum evidence in this corpus.

Licensing

Model weights derive from RF-DETR+ under PML-1.0 (provider terms apply). Training data includes pages under CC-BY-NC-4.0, so this model is non-commercial. DocLayNet is CDLA-Permissive-1.0.

Metrics

{
  "pages": 484,
  "mAP": 0.6567845574595359,
  "mAP50": 0.8378314754632039,
  "mAP75": 0.7194718603612762,
  "AR": 0.7608048910972839
}

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

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

GPU в ailist

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

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

Не удалось определить, чем загружать веса модели (нет library_name и architectures).

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

0 моделей