File size: 905 Bytes
12ec4c7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
850c8fa
12ec4c7
850c8fa
12ec4c7
 
 
 
 
850c8fa
12ec4c7
850c8fa
 
 
 
12ec4c7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
language:
- th
license: apache-2.0
task_categories:
- image-to-text
tags:
- ocr
- thai
- synthetic
size_categories:
- 1K<n<10K
---

# Thai OCR Dataset

Synthetic Thai OCR dataset for fine-tuning vision-language models (e.g., DeepSeek-OCR-2).

## Dataset Summary

- **Total samples**: 4000
- **Subsets**:
  - `text` — General Thai document text (1,000 samples)
  - `table` — Thai table formats: invoices, budgets, schedules, etc. (1,000 samples)
  - `official` — Thai government documents: contracts, legal, police reports, official letters (2,000 samples)

## Format

Parquet with embedded images. Compatible with HF dataset viewer.

Columns: `image`, `text`, `subset`

## Usage

```python
from datasets import load_dataset

ds = load_dataset("mekpro/ocr_th")

# Filter by subset
tables = ds.filter(lambda x: x["subset"] == "table")
official = ds.filter(lambda x: x["subset"] == "official")
```