Datasets:
Update README.md
#1
by
dhakar
- opened
README.md
CHANGED
|
@@ -37,3 +37,47 @@ configs:
|
|
| 37 |
- split: test
|
| 38 |
path: data/test-*
|
| 39 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
- split: test
|
| 38 |
path: data/test-*
|
| 39 |
---
|
| 40 |
+
|
| 41 |
+
## Dataset Structure
|
| 42 |
+
|
| 43 |
+
- **Features:** `filename`, `label`, `url`, `BDORC_work_id`, `char_len`, `script`, `print_method`
|
| 44 |
+
- **Splits:** `train`, `eval`, `test`
|
| 45 |
+
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
## 📊 Split-wise Metadata
|
| 49 |
+
|
| 50 |
+
| Split | # Samples | Total Chars (`char_len` sum) |
|
| 51 |
+
|--------|----------:|----------------------------:
|
| 52 |
+
| Train | 601,152 | 37,334,253 |
|
| 53 |
+
| Eval | 75,136 | 4,657,320 |
|
| 54 |
+
| Test | 75,168 | 4,666,128 |
|
| 55 |
+
| Total | 751,456| 46,657,701|
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
## 🏷️ Column Value Counts
|
| 60 |
+
|
| 61 |
+
### print_method
|
| 62 |
+
|
| 63 |
+
| Split | PrintMethod_Relief_WoodBlock | PrintMethod_Modern
|
| 64 |
+
|-----------------|--------------------------------:|-----------------:
|
| 65 |
+
| Train | 21,314 | 579,838 |
|
| 66 |
+
| Eval | 2,624 | 72,512 |
|
| 67 |
+
| Test | 2,565 | 72,603 |
|
| 68 |
+
| Total | 724,953| 26,503
|
| 69 |
+
|
| 70 |
+
### script
|
| 71 |
+
|
| 72 |
+
| split | ScriptTibt | ScriptDbuCan | ScriptHani
|
| 73 |
+
|-----------|--------:|-------------------:|----------:
|
| 74 |
+
| Train | 555,594 |39,733|4,188|
|
| 75 |
+
| Eval | 69,420 |4,981|536|
|
| 76 |
+
| Test | 69,343|5,093| 546|
|
| 77 |
+
| Total | 69,420 | 4,9807 | 5,270
|
| 78 |
+
|
| 79 |
+
## 🚀 Usage
|
| 80 |
+
|
| 81 |
+
```python
|
| 82 |
+
from datasets import load_dataset
|
| 83 |
+
ds = load_dataset("openpecha/OCR-Google_Books", split="train")
|