thai_doc_parsing v1 batch b1
Browse files- README.md +47 -38
- checksums.sha256 +7 -7
- dataset_card.md +47 -38
- documents-test-000000.tar +1 -1
- documents-train-000000.tar +1 -1
- documents-train-000001.tar +1 -1
- documents-validation-000000.tar +1 -1
- release.json +2 -2
README.md
CHANGED
|
@@ -10,49 +10,67 @@ configs:
|
|
| 10 |
- config_name: pages
|
| 11 |
data_files:
|
| 12 |
- split: test
|
| 13 |
-
path:
|
|
|
|
| 14 |
- split: train
|
| 15 |
-
path:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
- split: validation
|
| 17 |
-
path:
|
|
|
|
| 18 |
- config_name: documents
|
| 19 |
data_files:
|
| 20 |
- split: test
|
| 21 |
-
path:
|
|
|
|
| 22 |
- split: train
|
| 23 |
-
path:
|
|
|
|
|
|
|
| 24 |
- split: validation
|
| 25 |
-
path:
|
|
|
|
| 26 |
---
|
| 27 |
|
| 28 |
# Thai document parsing corpus (thai_doc_parsing v1)
|
| 29 |
|
| 30 |
-
Structured Thai documents for vision-language continued pretraining: page images, one
|
| 31 |
-
|
| 32 |
-
LaTeX,
|
| 33 |
-
/ Typst / HTML views.
|
| 34 |
|
| 35 |
-
##
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
-
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
|
|
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
|
|
|
| 50 |
|
| 51 |
## Token counts
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
|
| 57 |
| Text view | Files | Text tokens |
|
| 58 |
| --- | --- | --- |
|
|
@@ -67,17 +85,8 @@ contributes a document's semantic text tokens.
|
|
| 67 |
| **Visual (page images, 15,240 pages)** | **57,168,915** |
|
| 68 |
| **Combined for one training pass** | **70,943,826** |
|
| 69 |
|
| 70 |
-
## Release
|
| 71 |
-
|
| 72 |
-
* Documents: 1,819
|
| 73 |
-
* Pages: 15,240
|
| 74 |
-
* Shards: 11 (12.3 GB)
|
| 75 |
-
* Splits: {}
|
| 76 |
-
* Parser revisions: ["Qwen/Qwen3-VL-2B-Instruct@main#prompt:a93e0c2205d2", "pypdfium2-unavailable"]
|
| 77 |
-
* Rights basis: only documents whose item-level decision permits redistribution are packaged; see `rights.parquet` and `attribution.jsonl`
|
| 78 |
-
* Config hash `6c43ba7d42a75b8a`, code commit `a8c5570e6f2699d1fb8546df27018ff4abe9a994`, built 2026-10-04T21:10:27+00:00
|
| 79 |
|
| 80 |
## Provenance and takedown
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
|
|
|
| 10 |
- config_name: pages
|
| 11 |
data_files:
|
| 12 |
- split: test
|
| 13 |
+
path:
|
| 14 |
+
- "pages-test-000000.tar"
|
| 15 |
- split: train
|
| 16 |
+
path:
|
| 17 |
+
- "pages-train-000000.tar"
|
| 18 |
+
- "pages-train-000001.tar"
|
| 19 |
+
- "pages-train-000002.tar"
|
| 20 |
+
- "pages-train-000003.tar"
|
| 21 |
+
- "pages-train-000004.tar"
|
| 22 |
- split: validation
|
| 23 |
+
path:
|
| 24 |
+
- "pages-validation-000000.tar"
|
| 25 |
- config_name: documents
|
| 26 |
data_files:
|
| 27 |
- split: test
|
| 28 |
+
path:
|
| 29 |
+
- "documents-test-000000.tar"
|
| 30 |
- split: train
|
| 31 |
+
path:
|
| 32 |
+
- "documents-train-000000.tar"
|
| 33 |
+
- "documents-train-000001.tar"
|
| 34 |
- split: validation
|
| 35 |
+
path:
|
| 36 |
+
- "documents-validation-000000.tar"
|
| 37 |
---
|
| 38 |
|
| 39 |
# Thai document parsing corpus (thai_doc_parsing v1)
|
| 40 |
|
| 41 |
+
Structured Thai documents for vision-language continued pretraining: page images, one canonical
|
| 42 |
+
annotation (`thai-doc-ir/1`), and deterministic Markdown / LaTeX / Typst / HTML views.
|
|
|
|
|
|
|
| 43 |
|
| 44 |
+
## Sources
|
| 45 |
+
Government publications and forms from the data.go.th catalog and allowlisted agency hosts,
|
| 46 |
+
plus the sources recorded in `sources.parquet`. Every document keeps its source URL, landing
|
| 47 |
+
page snapshot hash, retrieval time, and the licence recorded with it.
|
| 48 |
|
| 49 |
+
## Rights basis
|
| 50 |
+
Only documents whose item-level decision permits redistribution are packaged. Each row of
|
| 51 |
+
`rights.parquet` carries `training_allowed`, `redistribution_allowed`, the licence, the evidence
|
| 52 |
+
URL, the terms-snapshot hash, and the reviewer.
|
| 53 |
+
Laned counts in this release: {"green": 4939, "amber": 1028}.
|
| 54 |
+
Material with unresolved rights stays in local quarantine and is not uploaded.
|
| 55 |
|
| 56 |
+
## Exclusions
|
| 57 |
+
Documents with personal data (national identifiers, contact details, signatures, filled forms),
|
| 58 |
+
unknown licences, non-commercial-only licences, or failing quality gates are excluded; the counts
|
| 59 |
+
and reasons are in `release.json`.
|
| 60 |
|
| 61 |
+
## Intended use and limitations
|
| 62 |
+
Continued pretraining and evaluation of Thai document understanding. Known limitations: the
|
| 63 |
+
first tranche is government-publication heavy
|
| 64 |
+
({"government": 8920, "academic": 100, "legal": 1} by family),
|
| 65 |
+
historical scans are represented only where triage routed them to the OCR/VLM lanes, and
|
| 66 |
+
complex tables and equations are serialized with declared transformations rather than a
|
| 67 |
+
guaranteed lossless reconstruction.
|
| 68 |
|
| 69 |
## Token counts
|
| 70 |
+
Measured with the pinned tokenizer and image processor (`Qwen/Qwen3-VL-2B-Instruct@main`), never estimated from
|
| 71 |
+
a pages-to-tokens multiplier. The four serializations are four views of one annotation: they are
|
| 72 |
+
listed separately and **not** summed, and only the selected view contributes a document's semantic
|
| 73 |
+
text tokens.
|
| 74 |
|
| 75 |
| Text view | Files | Text tokens |
|
| 76 |
| --- | --- | --- |
|
|
|
|
| 85 |
| **Visual (page images, 15,240 pages)** | **57,168,915** |
|
| 86 |
| **Combined for one training pass** | **70,943,826** |
|
| 87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
| 89 |
## Provenance and takedown
|
| 90 |
+
Code commit `c37ba18d3217d44cd73a02d8dca8a366bd6e9778`, config hash `6c43ba7d42a75b8a`, IR version `thai-doc-ir/1`.
|
| 91 |
+
Takedown or correction requests: open an issue on the dataset repository; every shard maps to
|
| 92 |
+
document ids through `release.json`, so an affected document can be located across all artifacts.
|
checksums.sha256
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
-
|
| 2 |
5692f55340cc30debe37b480cddb27d2512c67856973f23cdae243d8171e7e03 attribution.jsonl
|
| 3 |
0bdddb137d894c14ab48840725fb362bb8c64e5987a4e7744ef624b7ba046718 canonical.parquet
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
463d8f415a5842fee25bbd9937c76c8f18223690eac437b5a101e496b0054321 documents.parquet
|
| 10 |
9512071d14fb0768cbaca27e0e2f6f159a3fdb5a086c511221842fc0639e4506 duplicate_families.parquet
|
| 11 |
faffdb0edfa472a29479a215609ff0053962ba73024da4296d68533cc220a3ac pages-test-000000.tar
|
|
@@ -17,5 +17,5 @@ be6009b60b6e211cdd219dccdc297eef06a2f8a0d2fb853f55ec78aebf439f40 pages-train-00
|
|
| 17 |
e1da6b406774cb6db66d62baf9594637a3a6d010073c20105ae1e772a6380777 pages-validation-000000.tar
|
| 18 |
de755e54e21d8e402e9bc4079aa6fe3e943947e9bbf0dd1676d8fc4ad30f8744 pages.parquet
|
| 19 |
3c9229a9af4f453f10cdac463026ea8a1b9d32961042766d48d590dcf2430350 privacy.parquet
|
| 20 |
-
|
| 21 |
38b30a5d3f55f916884109a4a6e6b40e90af93b550ec57badbdabe083c666ed3 rights.parquet
|
|
|
|
| 1 |
+
9a5c406867eaa5685a8503370fd6ec3a1e4c6c82b378c7935d009acf255ac520 README.md
|
| 2 |
5692f55340cc30debe37b480cddb27d2512c67856973f23cdae243d8171e7e03 attribution.jsonl
|
| 3 |
0bdddb137d894c14ab48840725fb362bb8c64e5987a4e7744ef624b7ba046718 canonical.parquet
|
| 4 |
+
9a5c406867eaa5685a8503370fd6ec3a1e4c6c82b378c7935d009acf255ac520 dataset_card.md
|
| 5 |
+
e770e6831e16b28ffea832cc0b2d5c8eabbe8d274eb75fb00f1442c100127204 documents-test-000000.tar
|
| 6 |
+
e6fe509180d61b57ab16d2019d4aaf368f4abf66d2b3e302831a258852988685 documents-train-000000.tar
|
| 7 |
+
9e4c08277ad246983688f4b73110b2d9f464398154923ed085f7335442164563 documents-train-000001.tar
|
| 8 |
+
af1b91acf0e4953a93a118010b7e32d87a2b59bd7cccb4faefab6fee1671ef66 documents-validation-000000.tar
|
| 9 |
463d8f415a5842fee25bbd9937c76c8f18223690eac437b5a101e496b0054321 documents.parquet
|
| 10 |
9512071d14fb0768cbaca27e0e2f6f159a3fdb5a086c511221842fc0639e4506 duplicate_families.parquet
|
| 11 |
faffdb0edfa472a29479a215609ff0053962ba73024da4296d68533cc220a3ac pages-test-000000.tar
|
|
|
|
| 17 |
e1da6b406774cb6db66d62baf9594637a3a6d010073c20105ae1e772a6380777 pages-validation-000000.tar
|
| 18 |
de755e54e21d8e402e9bc4079aa6fe3e943947e9bbf0dd1676d8fc4ad30f8744 pages.parquet
|
| 19 |
3c9229a9af4f453f10cdac463026ea8a1b9d32961042766d48d590dcf2430350 privacy.parquet
|
| 20 |
+
592afb475616235b55d446eb2a76490e7bf10289ded82a3ef36325ad35557576 release.json
|
| 21 |
38b30a5d3f55f916884109a4a6e6b40e90af93b550ec57badbdabe083c666ed3 rights.parquet
|
dataset_card.md
CHANGED
|
@@ -10,49 +10,67 @@ configs:
|
|
| 10 |
- config_name: pages
|
| 11 |
data_files:
|
| 12 |
- split: test
|
| 13 |
-
path:
|
|
|
|
| 14 |
- split: train
|
| 15 |
-
path:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
- split: validation
|
| 17 |
-
path:
|
|
|
|
| 18 |
- config_name: documents
|
| 19 |
data_files:
|
| 20 |
- split: test
|
| 21 |
-
path:
|
|
|
|
| 22 |
- split: train
|
| 23 |
-
path:
|
|
|
|
|
|
|
| 24 |
- split: validation
|
| 25 |
-
path:
|
|
|
|
| 26 |
---
|
| 27 |
|
| 28 |
# Thai document parsing corpus (thai_doc_parsing v1)
|
| 29 |
|
| 30 |
-
Structured Thai documents for vision-language continued pretraining: page images, one
|
| 31 |
-
|
| 32 |
-
LaTeX,
|
| 33 |
-
/ Typst / HTML views.
|
| 34 |
|
| 35 |
-
##
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
-
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
|
|
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
|
|
|
| 50 |
|
| 51 |
## Token counts
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
|
| 57 |
| Text view | Files | Text tokens |
|
| 58 |
| --- | --- | --- |
|
|
@@ -67,17 +85,8 @@ contributes a document's semantic text tokens.
|
|
| 67 |
| **Visual (page images, 15,240 pages)** | **57,168,915** |
|
| 68 |
| **Combined for one training pass** | **70,943,826** |
|
| 69 |
|
| 70 |
-
## Release
|
| 71 |
-
|
| 72 |
-
* Documents: 1,819
|
| 73 |
-
* Pages: 15,240
|
| 74 |
-
* Shards: 11 (12.3 GB)
|
| 75 |
-
* Splits: {}
|
| 76 |
-
* Parser revisions: ["Qwen/Qwen3-VL-2B-Instruct@main#prompt:a93e0c2205d2", "pypdfium2-unavailable"]
|
| 77 |
-
* Rights basis: only documents whose item-level decision permits redistribution are packaged; see `rights.parquet` and `attribution.jsonl`
|
| 78 |
-
* Config hash `6c43ba7d42a75b8a`, code commit `a8c5570e6f2699d1fb8546df27018ff4abe9a994`, built 2026-10-04T21:10:27+00:00
|
| 79 |
|
| 80 |
## Provenance and takedown
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
|
|
|
| 10 |
- config_name: pages
|
| 11 |
data_files:
|
| 12 |
- split: test
|
| 13 |
+
path:
|
| 14 |
+
- "pages-test-000000.tar"
|
| 15 |
- split: train
|
| 16 |
+
path:
|
| 17 |
+
- "pages-train-000000.tar"
|
| 18 |
+
- "pages-train-000001.tar"
|
| 19 |
+
- "pages-train-000002.tar"
|
| 20 |
+
- "pages-train-000003.tar"
|
| 21 |
+
- "pages-train-000004.tar"
|
| 22 |
- split: validation
|
| 23 |
+
path:
|
| 24 |
+
- "pages-validation-000000.tar"
|
| 25 |
- config_name: documents
|
| 26 |
data_files:
|
| 27 |
- split: test
|
| 28 |
+
path:
|
| 29 |
+
- "documents-test-000000.tar"
|
| 30 |
- split: train
|
| 31 |
+
path:
|
| 32 |
+
- "documents-train-000000.tar"
|
| 33 |
+
- "documents-train-000001.tar"
|
| 34 |
- split: validation
|
| 35 |
+
path:
|
| 36 |
+
- "documents-validation-000000.tar"
|
| 37 |
---
|
| 38 |
|
| 39 |
# Thai document parsing corpus (thai_doc_parsing v1)
|
| 40 |
|
| 41 |
+
Structured Thai documents for vision-language continued pretraining: page images, one canonical
|
| 42 |
+
annotation (`thai-doc-ir/1`), and deterministic Markdown / LaTeX / Typst / HTML views.
|
|
|
|
|
|
|
| 43 |
|
| 44 |
+
## Sources
|
| 45 |
+
Government publications and forms from the data.go.th catalog and allowlisted agency hosts,
|
| 46 |
+
plus the sources recorded in `sources.parquet`. Every document keeps its source URL, landing
|
| 47 |
+
page snapshot hash, retrieval time, and the licence recorded with it.
|
| 48 |
|
| 49 |
+
## Rights basis
|
| 50 |
+
Only documents whose item-level decision permits redistribution are packaged. Each row of
|
| 51 |
+
`rights.parquet` carries `training_allowed`, `redistribution_allowed`, the licence, the evidence
|
| 52 |
+
URL, the terms-snapshot hash, and the reviewer.
|
| 53 |
+
Laned counts in this release: {"green": 4939, "amber": 1028}.
|
| 54 |
+
Material with unresolved rights stays in local quarantine and is not uploaded.
|
| 55 |
|
| 56 |
+
## Exclusions
|
| 57 |
+
Documents with personal data (national identifiers, contact details, signatures, filled forms),
|
| 58 |
+
unknown licences, non-commercial-only licences, or failing quality gates are excluded; the counts
|
| 59 |
+
and reasons are in `release.json`.
|
| 60 |
|
| 61 |
+
## Intended use and limitations
|
| 62 |
+
Continued pretraining and evaluation of Thai document understanding. Known limitations: the
|
| 63 |
+
first tranche is government-publication heavy
|
| 64 |
+
({"government": 8920, "academic": 100, "legal": 1} by family),
|
| 65 |
+
historical scans are represented only where triage routed them to the OCR/VLM lanes, and
|
| 66 |
+
complex tables and equations are serialized with declared transformations rather than a
|
| 67 |
+
guaranteed lossless reconstruction.
|
| 68 |
|
| 69 |
## Token counts
|
| 70 |
+
Measured with the pinned tokenizer and image processor (`Qwen/Qwen3-VL-2B-Instruct@main`), never estimated from
|
| 71 |
+
a pages-to-tokens multiplier. The four serializations are four views of one annotation: they are
|
| 72 |
+
listed separately and **not** summed, and only the selected view contributes a document's semantic
|
| 73 |
+
text tokens.
|
| 74 |
|
| 75 |
| Text view | Files | Text tokens |
|
| 76 |
| --- | --- | --- |
|
|
|
|
| 85 |
| **Visual (page images, 15,240 pages)** | **57,168,915** |
|
| 86 |
| **Combined for one training pass** | **70,943,826** |
|
| 87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
|
| 89 |
## Provenance and takedown
|
| 90 |
+
Code commit `c37ba18d3217d44cd73a02d8dca8a366bd6e9778`, config hash `6c43ba7d42a75b8a`, IR version `thai-doc-ir/1`.
|
| 91 |
+
Takedown or correction requests: open an issue on the dataset repository; every shard maps to
|
| 92 |
+
document ids through `release.json`, so an affected document can be located across all artifacts.
|
documents-test-000000.tar
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 179507200
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e770e6831e16b28ffea832cc0b2d5c8eabbe8d274eb75fb00f1442c100127204
|
| 3 |
size 179507200
|
documents-train-000000.tar
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2006589440
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6fe509180d61b57ab16d2019d4aaf368f4abf66d2b3e302831a258852988685
|
| 3 |
size 2006589440
|
documents-train-000001.tar
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 517120000
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e4c08277ad246983688f4b73110b2d9f464398154923ed085f7335442164563
|
| 3 |
size 517120000
|
documents-validation-000000.tar
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 123095040
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af1b91acf0e4953a93a118010b7e32d87a2b59bd7cccb4faefab6fee1671ef66
|
| 3 |
size 123095040
|
release.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"batch_id": "b1",
|
| 3 |
-
"built_at": "2026-10-
|
| 4 |
"bytes": 12300729235,
|
| 5 |
-
"code_commit": "
|
| 6 |
"config_hash": "6c43ba7d42a75b8a",
|
| 7 |
"dataset": "thai_doc_parsing",
|
| 8 |
"document_coverage": {
|
|
|
|
| 1 |
{
|
| 2 |
"batch_id": "b1",
|
| 3 |
+
"built_at": "2026-10-05T05:09:13+00:00",
|
| 4 |
"bytes": 12300729235,
|
| 5 |
+
"code_commit": "c37ba18d3217d44cd73a02d8dca8a366bd6e9778",
|
| 6 |
"config_hash": "6c43ba7d42a75b8a",
|
| 7 |
"dataset": "thai_doc_parsing",
|
| 8 |
"document_coverage": {
|