Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -18,54 +18,76 @@ configs:
|
|
| 18 |
data_files:
|
| 19 |
- split: train
|
| 20 |
path: data/train-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
---
|
| 22 |
|
| 23 |
|
| 24 |
---
|
| 25 |
|
| 26 |
-
# Dataset
|
| 27 |
|
| 28 |
-
|
| 29 |
|
| 30 |
-
|
| 31 |
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
-
- **
|
| 37 |
-
- **
|
| 38 |
-
- **Unique Values**: 13
|
| 39 |
|
| 40 |
-
|
| 41 |
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
| `batch37b` | 3,618 | 11.18% |
|
| 48 |
-
| `batch36` | 3,212 | 9.92% |
|
| 49 |
-
| `batch26` | 2,528 | 7.81% |
|
| 50 |
-
| `batch34` | 2,138 | 6.61% |
|
| 51 |
-
| `batch33` | 1,844 | 5.70% |
|
| 52 |
-
| `batch29` | 1,478 | 4.57% |
|
| 53 |
-
| `batch27` | 949 | 2.93% |
|
| 54 |
-
| `batch28` | 585 | 1.81% |
|
| 55 |
-
| `batch30` | 547 | 1.69% |
|
| 56 |
-
| `batch32` | 78 | 0.24% |
|
| 57 |
|
| 58 |
-
|
|
|
|
|
|
|
| 59 |
|
| 60 |
-
|
| 61 |
-
- **Data Type**: `object`
|
| 62 |
-
- **Unique Values**: 2
|
| 63 |
|
| 64 |
-
|
|
|
|
| 65 |
|
| 66 |
-
| Value | Count | Percentage |
|
| 67 |
-
|-------|-------|------------|
|
| 68 |
-
| `finalised` | 32,217 | 99.55% |
|
| 69 |
-
| `accepted` | 147 | 0.45% |
|
| 70 |
|
| 71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
data_files:
|
| 19 |
- split: train
|
| 20 |
path: data/train-*
|
| 21 |
+
license: odc-by
|
| 22 |
+
task_categories:
|
| 23 |
+
- image-to-text
|
| 24 |
+
language:
|
| 25 |
+
- bo
|
| 26 |
+
tags:
|
| 27 |
+
- low-resource
|
| 28 |
+
- drutsa
|
| 29 |
+
- tibetan
|
| 30 |
+
- bdrc
|
| 31 |
+
- buddhism
|
| 32 |
+
size_categories:
|
| 33 |
+
- 10K<n<100K
|
| 34 |
---
|
| 35 |
|
| 36 |
|
| 37 |
---
|
| 38 |
|
| 39 |
+
# Dataset Card for OCR-Drutsa
|
| 40 |
|
| 41 |
+
A line-to-text dataset for Tibetan OCR of the Drutsa script.
|
| 42 |
|
| 43 |
+
## Dataset Details
|
| 44 |
|
| 45 |
+
### Dataset Description
|
| 46 |
+
- **Curated by:** Buddhist Digital Resource Center
|
| 47 |
+
- **Language:** Tibetan
|
| 48 |
+
- **Total Samples:** 32,364 line images with text transcriptions
|
| 49 |
|
| 50 |
+
### Dataset Structure
|
| 51 |
+
- **Features:**
|
| 52 |
+
- `id`: Image file identifier
|
| 53 |
+
- `image`: Image file of text
|
| 54 |
+
- `label`: Text transcription
|
| 55 |
|
| 56 |
+
- **Splits:**
|
| 57 |
+
- **Train:** 32,364 samples
|
|
|
|
| 58 |
|
| 59 |
+
## Uses
|
| 60 |
|
| 61 |
+
### Direct Use
|
| 62 |
+
- Training and evaluation of Tibetan OCR models
|
| 63 |
+
- Drutsa script OCR development
|
| 64 |
+
- Comparative analysis of historical scripts
|
| 65 |
+
- Large-scale OCR model pretraining
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
+
### Out-of-Scope Use
|
| 68 |
+
- Not be suitable for printed Tibetan texts or Uchen script
|
| 69 |
+
- May not suitably represent contemporary digital Tibetan fonts
|
| 70 |
|
| 71 |
+
## Dataset Creation
|
|
|
|
|
|
|
| 72 |
|
| 73 |
+
### Curation Rationale and Process
|
| 74 |
+
This dataset was created from 10 manuscripts to support the development of robust OCR systems for Tibetan literature, including handwritten material.
|
| 75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
+
## Usage
|
| 78 |
+
|
| 79 |
+
```python
|
| 80 |
+
from datasets import load_dataset
|
| 81 |
+
|
| 82 |
+
# Load training split
|
| 83 |
+
dataset = load_dataset("openpecha/OCR-Drutsa", split="train")
|
| 84 |
+
|
| 85 |
+
# Example features
|
| 86 |
+
print(dataset[0])
|
| 87 |
+
# {'id': 'KS_11-061_line_9874_4',
|
| 88 |
+
# 'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=2335x82 at 0x7ED68C896600>,
|
| 89 |
+
# 'label': 'བས་སོ་། །༢པ་ཡང་མི་འཐད་ཏེ་སྣལ་མ་དུ་མ་འདུས་པ་ལས་འབྲས་བུ་སྣམ་པུ་ཡོད་ན་སྣལ་མ་སོ་སོ་ལ་འབྲས་བུ་ཆ་རི་དམིགས་པར་ཐལ་ལོ་། །དེས་ན་སྣལ་'}
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
## Dataset Contact
|
| 93 |
+
BDRC - [email protected]
|