Datasets:
doc stringclasses 1
value | doc_sha256 stringclasses 1
value | category stringclasses 1
value | source_url stringclasses 1
value | page int64 1 13 | pages int64 13 13 | px listlengths 2 2 | attempts listlengths 1 1 | raw stringlengths 173 3.16k | finish_reason stringclasses 1
value | tokens_in int64 1.81k 1.81k | tokens_out int64 74 1.19k | elapsed_ms int64 3.66k 14.1k | chars int64 173 3.16k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 1 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>title[35, 21, 929, 111]<FORK>СТРАТЕГИЧЕСКАЯ ЦЕЛЬ - МИНИМИЗАЦИЯ КОНФЛИКТНОСТИ ЗАЯВИТЕЛЕЙ С НАЛОГОВЫМИ ОРГАНАМИ\n<BLOCK>title[141, 165, 220, 207]<FORK>ЗАДАЧИ\n<BLOCK>image[129, 243, 223, 395]<FORK>\n<BLOCK>text[284, 281, 909, 387]<FORK>☐ Совершенствование сервисности во взаимодействии с нал... | <PAGE><BLOCK>title[35, 21, 929, 111]<FORK>СТРАТЕГИЧЕСКАЯ ЦЕЛЬ - МИНИМИЗАЦИЯ КОНФЛИКТНОСТИ ЗАЯВИТЕЛЕЙ С НАЛОГОВЫМИ ОРГАНАМИ
<BLOCK>title[141, 165, 220, 207]<FORK>ЗАДАЧИ
<BLOCK>image[129, 243, 223, 395]<FORK>
<BLOCK>text[284, 281, 909, 387]<FORK>☐ Совершенствование сервисности во взаимодействии с налогоплательщиками
<BLO... | stop | 1,809 | 272 | 5,294 | 682 |
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 2 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>title[68, 75, 676, 181]<FORK>РЕАЛИЗАЦИЯ ПЛАНИРУЕМЫХ МЕРОПРИЯТИЙ ДЛЯ РАЗВИТИЯ СЕРВИСНОСТИ\n<BLOCK>image[843, 0, 980, 255]<FORK>\n<BLOCK>table[59, 279, 984, 926]<FORK><table><tr><td>Мероприятия</td><td>Законодательство</td><td>Сроки</td><td>ПО</td></tr><tr><td>Направление жалоб по ТКС (Авто... | <PAGE><BLOCK>title[68, 75, 676, 181]<FORK>РЕАЛИЗАЦИЯ ПЛАНИРУЕМЫХ МЕРОПРИЯТИЙ ДЛЯ РАЗВИТИЯ СЕРВИСНОСТИ
<BLOCK>image[843, 0, 980, 255]<FORK>
<BLOCK>table[59, 279, 984, 926]<FORK><table><tr><td>Мероприятия</td><td>Законодательство</td><td>Сроки</td><td>ПО</td></tr><tr><td>Направление жалоб по ТКС (Автоматизация)</td><td>Н... | stop | 1,809 | 330 | 5,835 | 966 |
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 3 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>title[33, 37, 764, 127]<FORK>РЕАЛИЗАЦИЯ ПЛАНИРУЕМЫХ МЕРОПРИЯТИЙ ПО СНИЖЕНИЮ ТРАНЗАКЦИОННЫХ ИЗДЕРЖЕК\n<BLOCK>table[30, 177, 959, 797]<FORK><table><tr><td>Мероприятия</td><td>Законодательство</td><td>Сроки</td><td>ПО</td></tr><tr><td>Лингвистический анализ поступающих жалоб с целью автомати... | <PAGE><BLOCK>title[33, 37, 764, 127]<FORK>РЕАЛИЗАЦИЯ ПЛАНИРУЕМЫХ МЕРОПРИЯТИЙ ПО СНИЖЕНИЮ ТРАНЗАКЦИОННЫХ ИЗДЕРЖЕК
<BLOCK>table[30, 177, 959, 797]<FORK><table><tr><td>Мероприятия</td><td>Законодательство</td><td>Сроки</td><td>ПО</td></tr><tr><td>Лингвистический анализ поступающих жалоб с целью автоматической подготовки п... | stop | 1,809 | 354 | 6,087 | 1,124 |
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 4 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>title[27, 23, 528, 67]<FORK>ПОСТРОЕНИЕ СИСТЕМЫ ОБРАТНОЙ СВЯЗИ\n<BLOCK>image[185, 83, 786, 1000]<FORK>\n<BLOCK>footer[978, 943, 987, 965]<FORK>4<|end▁of▁sentence|>",
"finish_reason": "stop",
"tokens_in": 1809,
"tokens_out": 74,
"elapsed_ms": 3660,
"budget": 8192,
"a... | <PAGE><BLOCK>title[27, 23, 528, 67]<FORK>ПОСТРОЕНИЕ СИСТЕМЫ ОБРАТНОЙ СВЯЗИ
<BLOCK>image[185, 83, 786, 1000]<FORK>
<BLOCK>footer[978, 943, 987, 965]<FORK>4<|end▁of▁sentence|> | stop | 1,809 | 74 | 3,660 | 173 |
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 5 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>title[38, 27, 550, 69]<FORK>АРХИТЕКТУРА ДСУ В НАСТОЯЩИЙ МОМЕНТ\n<BLOCK>image[27, 149, 967, 941]<FORK>\n<BLOCK>footer[969, 938, 979, 961]<FORK>5<|end▁of▁sentence|>",
"finish_reason": "stop",
"tokens_in": 1809,
"tokens_out": 75,
"elapsed_ms": 3695,
"budget": 8192,
"a... | <PAGE><BLOCK>title[38, 27, 550, 69]<FORK>АРХИТЕКТУРА ДСУ В НАСТОЯЩИЙ МОМЕНТ
<BLOCK>image[27, 149, 967, 941]<FORK>
<BLOCK>footer[969, 938, 979, 961]<FORK>5<|end▁of▁sentence|> | stop | 1,809 | 75 | 3,695 | 173 |
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 6 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>title[29, 21, 667, 65]<FORK>СРЕДНЕСРОЧНАЯ ПЕРСПЕКТИВА (ДО РЕАЛИЗАЦИИ ПО)\n<BLOCK>image[25, 99, 982, 955]<FORK>\n<BLOCK>footer[971, 949, 981, 973]<FORK>6<|end▁of▁sentence|>",
"finish_reason": "stop",
"tokens_in": 1809,
"tokens_out": 80,
"elapsed_ms": 3806,
"budget": 819... | <PAGE><BLOCK>title[29, 21, 667, 65]<FORK>СРЕДНЕСРОЧНАЯ ПЕРСПЕКТИВА (ДО РЕАЛИЗАЦИИ ПО)
<BLOCK>image[25, 99, 982, 955]<FORK>
<BLOCK>footer[971, 949, 981, 973]<FORK>6<|end▁of▁sentence|> | stop | 1,809 | 80 | 3,806 | 182 |
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 7 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>title[26, 25, 954, 111]<FORK>ВЫХОДНАЯ ФОРМА «НАЛОГОВЫЕ СПОРЫ» КАК ТЕХНИЧЕСКОЕ РЕШЕНИЕ ПОСТРОЕНИЯ ОБРАТНОЙ СВЯЗИ ПО РАБОТЕ С ПРОБЛЕМАТИКОЙ (ДО РАЗРАБОТКИ ПО)\n<BLOCK>image[10, 151, 335, 615]<FORK>\n<BLOCK>image[10, 615, 335, 947]<FORK>\n<BLOCK>title[523, 151, 814, 252]<FORK>ФОРМА ВВОДА ПРЕ... | <PAGE><BLOCK>title[26, 25, 954, 111]<FORK>ВЫХОДНАЯ ФОРМА «НАЛОГОВЫЕ СПОРЫ» КАК ТЕХНИЧЕСКОЕ РЕШЕНИЕ ПОСТРОЕНИЯ ОБРАТНОЙ СВЯЗИ ПО РАБОТЕ С ПРОБЛЕМАТИКОЙ (ДО РАЗРАБОТКИ ПО)
<BLOCK>image[10, 151, 335, 615]<FORK>
<BLOCK>image[10, 615, 335, 947]<FORK>
<BLOCK>title[523, 151, 814, 252]<FORK>ФОРМА ВВОДА ПРЕДУСМАТРИВАЕТ ЛОГИЧЕСК... | stop | 1,809 | 1,193 | 14,106 | 3,158 |
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 8 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>title[28, 21, 805, 63]<FORK>ПЕРСПЕКТИВНАЯ АРХИТЕКТУРА ДСУ - СИСТЕМА ОБРАТНОЙ СВЯЗИ\n<BLOCK>image[33, 77, 984, 1000]<FORK>\n<BLOCK>footer[971, 953, 981, 977]<FORK>8<|end▁of▁sentence|>",
"finish_reason": "stop",
"tokens_in": 1809,
"tokens_out": 90,
"elapsed_ms": 3883,
"b... | <PAGE><BLOCK>title[28, 21, 805, 63]<FORK>ПЕРСПЕКТИВНАЯ АРХИТЕКТУРА ДСУ - СИСТЕМА ОБРАТНОЙ СВЯЗИ
<BLOCK>image[33, 77, 984, 1000]<FORK>
<BLOCK>footer[971, 953, 981, 977]<FORK>8<|end▁of▁sentence|> | stop | 1,809 | 90 | 3,883 | 193 |
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 9 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>header[22, 30, 440, 69]<FORK>АРХИТЕКТУРА ДСУ В ПЕРСПЕКТИВЕ\n<BLOCK>header[8, 353, 32, 647]<FORK>АИС НАЙОТ-3\n<BLOCK>image[51, 123, 885, 891]<FORK>\n<BLOCK>footer[969, 935, 979, 958]<FORK>9<|end▁of▁sentence|>",
"finish_reason": "stop",
"tokens_in": 1809,
"tokens_out": 97,
"... | <PAGE><BLOCK>header[22, 30, 440, 69]<FORK>АРХИТЕКТУРА ДСУ В ПЕРСПЕКТИВЕ
<BLOCK>header[8, 353, 32, 647]<FORK>АИС НАЙОТ-3
<BLOCK>image[51, 123, 885, 891]<FORK>
<BLOCK>footer[969, 935, 979, 958]<FORK>9<|end▁of▁sentence|> | stop | 1,809 | 97 | 3,808 | 217 |
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 10 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>title[33, 37, 622, 81]<FORK>ЭТАПЫ ПОСТРОЕНИЯ СИСТЕМЫ ОБРАТНОЙ СВЯЗИ\n<BLOCK>table[43, 167, 896, 933]<FORK><table><tr><td>Мероприятия</td><td>Сроки реализации</td></tr><tr><td>Доработка, тестирование информационного ресурса «Налоговые споры» и внесение изменений в приказ ФНС России от 23.0... | <PAGE><BLOCK>title[33, 37, 622, 81]<FORK>ЭТАПЫ ПОСТРОЕНИЯ СИСТЕМЫ ОБРАТНОЙ СВЯЗИ
<BLOCK>table[43, 167, 896, 933]<FORK><table><tr><td>Мероприятия</td><td>Сроки реализации</td></tr><tr><td>Доработка, тестирование информационного ресурса «Налоговые споры» и внесение изменений в приказ ФНС России от 23.01.2018 № ММВ-7-9/36... | stop | 1,809 | 399 | 6,406 | 1,223 |
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 11 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>header[58, 49, 430, 89]<FORK>ДОЛГОСРОЧНАЯ ПЕРСПЕКТИВА\n<BLOCK>image[785, 19, 984, 227]<FORK>\n<BLOCK>title[55, 171, 133, 211]<FORK>ЗАДАЧА\n<BLOCK>text[25, 247, 985, 429]<FORK>Интеграция данных по досудебному урегулированию споров с контрольно-аналитической подсистемой «Управление рисками»... | <PAGE><BLOCK>header[58, 49, 430, 89]<FORK>ДОЛГОСРОЧНАЯ ПЕРСПЕКТИВА
<BLOCK>image[785, 19, 984, 227]<FORK>
<BLOCK>title[55, 171, 133, 211]<FORK>ЗАДАЧА
<BLOCK>text[25, 247, 985, 429]<FORK>Интеграция данных по досудебному урегулированию споров с контрольно-аналитической подсистемой «Управление рисками», «Рабочее место руко... | stop | 1,809 | 278 | 5,380 | 715 |
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 12 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>title[33, 37, 664, 83]<FORK>ЭТАПЫ РЕАЛИЗАЦИИ ДОЛГОСРОЧНОЙ ПЕРСПЕКТИВЫ\n<BLOCK>table[36, 353, 888, 664]<FORK><table><tr><td>Мероприятия</td><td>Сроки реализации</td></tr><tr><td>Разработка архитектуры интеграции баз данных (проектирование)</td><td>2021 год</td></tr><tr><td>Развитие IT-инфр... | <PAGE><BLOCK>title[33, 37, 664, 83]<FORK>ЭТАПЫ РЕАЛИЗАЦИИ ДОЛГОСРОЧНОЙ ПЕРСПЕКТИВЫ
<BLOCK>table[36, 353, 888, 664]<FORK><table><tr><td>Мероприятия</td><td>Сроки реализации</td></tr><tr><td>Разработка архитектуры интеграции баз данных (проектирование)</td><td>2021 год</td></tr><tr><td>Развитие IT-инфраструктуры прикладн... | stop | 1,809 | 178 | 4,429 | 523 |
regulations__data-nalog-ru__dosudeb_dev-a723d5b3.pdf | a723d5b316ad719f030787fa40d8b2002116abdd2111f21a003d380c863b8621 | regulations | https://data.nalog.ru/html/sites/www.new.nalog.ru/docs\dosudebnoe/dosudeb_dev.pdf | 13 | 13 | [
2000,
1125
] | [
{
"raw": "<PAGE><BLOCK>header[20, 25, 799, 115]<FORK>ПОКАЗАТЕЛИ ОЦЕНКИ ЭФФЕКТИВНОСТИ ДЕЯТЕЛЬНОСТИ РАБОТЫ\nПО ДОСУДЕБНОМУ УРЕГУЛИРОВАНИЮ СПОРОВ (КРІ)\n<BLOCK>title[101, 199, 876, 251]<FORK>Снижение количества рассмотренных жалоб по налоговым спорам\n<BLOCK>image[6, 333, 961, 781]<FORK>\n<BLOCK>text[56, 833, 144,... | <PAGE><BLOCK>header[20, 25, 799, 115]<FORK>ПОКАЗАТЕЛИ ОЦЕНКИ ЭФФЕКТИВНОСТИ ДЕЯТЕЛЬНОСТИ РАБОТЫ
ПО ДОСУДЕБНОМУ УРЕГУЛИРОВАНИЮ СПОРОВ (КРІ)
<BLOCK>title[101, 199, 876, 251]<FORK>Снижение количества рассмотренных жалоб по налоговым спорам
<BLOCK>image[6, 333, 961, 781]<FORK>
<BLOCK>text[56, 833, 144, 869]<FORK>01.01.2018
... | stop | 1,809 | 308 | 5,564 | 674 |
Doc2Seek distill OCR: raw page reads
The raw output of Baidu Unlimited-OCR 2 (GGUF, Q4_K_M) over the PDFs in
p4ulbr4dl3y/doc2seek-distill-corpus.
Nothing here is parsed, cleaned or chunked. One JSON line is one page, exactly as the decoder emitted it, plus why it stopped and what it cost. Parsing, chunking and any normalization happen offline against the same codec the service uses, so the markup stays recoverable: re-reading a page must never mean a second GPU pass.
Layout
runs/<run-id>/
├── run.json # everything the bytes depend on
└── pages/<category>__<host>__<slug>.jsonl
run.json pins the build: text and projector GGUF with their sha256, llama-server version,
prompt family, page marker and prompt, dpi, rasterization cap, token budget and ceiling, the
no-repeat-ngram guard, context size and the harness version. A second quant, a different prompt
or a wider loop guard is a new run directory, never an edit of an existing one — otherwise two
answers cannot be compared.
run.json also carries fallback_side, a flag the harness accepts and no longer reads: the
raster is now sized from the page's own geometry (pdfinfo -> min(dpi, max_side * 72 / longest_pt)), so the value is a vestige of the earlier guess-and-retry renderer, kept only
because a run manifest must not be rewritten after the fact. It was 1600 and it was not used.
One record:
{
"doc": "finance__www-cbr-ru__svst01122015-4197fd9e.pdf",
"doc_sha256": "…",
"category": "finance",
"source_url": "https://www.cbr.ru/…pdf",
"page": 4,
"pages": 9,
"px": [1654, 2338],
"raw": "<PAGE><BLOCK>title<LEVEL1>[293, 303, 722, 320]<FORK>…",
"finish_reason": "stop",
"tokens_in": 909,
"tokens_out": 845,
"elapsed_ms": 21400,
"chars": 2368,
"attempts": [{"attempt": 1, "budget": 8192, "finish_reason": "stop", "elapsed_ms": 21400}]
}
attempts is the page's retry ladder, kept in full: a page that stopped at the token budget is
answered again on a smaller image and then at a larger budget, and a reader that only keeps the
winner loses the evidence that the decoder ran away.
Reproducing the run
harness/ holds the whole control plane, so the run can be repeated rather than
described:
| file | role |
|---|---|
ocr_pages.py |
renders one page at a time, calls the server, writes one JSONL line per page |
boot.py |
entry point for a fresh runtime: fetches the harness over HTTPS and runs it |
resume.sh |
rebuilds /content from the Hub (models, PDFs, binaries), always re-downloads the harness and prints its sha256 |
watchdog.sh |
keeps a runtime alive: pidfile liveness, three-state job list, account rotation with a 30 min cooldown |
progress.sh |
one screen of "how far along is it", computed from the uploaded JSONL lines |
finish.sh |
after FULL_DONE: dedupe, download, chunk, audit |
build.sh |
compiles the patched llama.cpp on the VM (the alternative to the prebuilt tarball) |
Two decisions in there are worth reading before changing anything: liveness is a
pidfile, never a process name (a probe that greps for ocr_pages.py matches the
colabx bridge that is running the probe), and an unreadable job list means do
nothing (a second harness appending to the same files is worse than an idle minute).
The two corpora involved are different things and are easy to confuse: this repo holds
the reading of 100 public Russian documents (2569 pages) used to build the chunk corpus,
while uocr2-ru-imatrix-calib holds the 92 calibration pages that shaped the quant.
The markup
Unlimited-OCR 2 answers in its own vocabulary:
<PAGE><BLOCK>category<LEVELn>[x1, y1, x2, y2]<FORK>content
<PAGE> opens the page, <LEVELn> states a heading's depth, <FORK> separates the geometry
from the content, and tables arrive as <table><tr><td> markup rather than as text lines. All of
those markers are structure, never content.
Reading it back
import json
from ml_service.backends.grounding import parse_blocks # doc2seek, apps/ml
for line in open("runs/<run-id>/pages/<doc>.jsonl"):
record = json.loads(line)
blocks = parse_blocks(record["raw"], tuple(record["px"]))
Provenance and licensing
Documents: see the corpus card — public publications, rights with their publishers, official state documents not subject to copyright under Art. 1259(6) of the Russian Civil Code. This dataset holds only the model's reading of them.
Model: baidu/Unlimited-OCR-2 (MIT), quantized to Q4_K_M with a Russian-document imatrix
(p4ulbr4dl3y/unlimited-ocr-2-ru-gguf),
served by a patched llama.cpp — both patches are in that repo under llama.cpp-patch/.
- Downloads last month
- 1,399