Datasets:
johnlockejrr
commited on
Commit
•
c75d1ec
1
Parent(s):
238a453
Add README.md file and parquet data files
Browse files- README.md +69 -0
- data/test.parquet +3 -0
- data/train.parquet +3 -0
- data/validation.parquet +3 -0
README.md
CHANGED
@@ -1,3 +1,72 @@
|
|
1 |
---
|
2 |
license: mit
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
+
language:
|
4 |
+
- he
|
5 |
+
- sam
|
6 |
+
task_categories:
|
7 |
+
- image-to-text
|
8 |
+
pretty_name: Samaritan_v1
|
9 |
+
dataset_info:
|
10 |
+
features:
|
11 |
+
- name: image
|
12 |
+
dtype: image
|
13 |
+
- name: text
|
14 |
+
dtype: string
|
15 |
+
splits:
|
16 |
+
- name: train
|
17 |
+
num_examples: 2500
|
18 |
+
- name: validation
|
19 |
+
num_examples: 1500
|
20 |
+
- name: test
|
21 |
+
num_examples: 965
|
22 |
+
dataset_size: 415M
|
23 |
+
tags:
|
24 |
+
- atr
|
25 |
+
- htr
|
26 |
+
- ocr
|
27 |
+
- historical
|
28 |
+
- handwritten
|
29 |
+
- samaritan
|
30 |
---
|
31 |
+
|
32 |
+
# Samaritan v1 - line level
|
33 |
+
|
34 |
+
## Table of Contents
|
35 |
+
- [Samaritan v1 - line level](#samaritan_v1)
|
36 |
+
- [Table of Contents](#table-of-contents)
|
37 |
+
- [Dataset Description](#dataset-description)
|
38 |
+
- [Languages](#languages)
|
39 |
+
- [Dataset Structure](#dataset-structure)
|
40 |
+
- [Data Instances](#data-instances)
|
41 |
+
- [Data Fields](#data-fields)
|
42 |
+
|
43 |
+
## Dataset Description
|
44 |
+
|
45 |
+
- **Homepage:** [johnlockejrr's personal project](https://huggingface.co/datasets/johnlockejrr/samaritan_v1)
|
46 |
+
|
47 |
+
## Dataset Summary
|
48 |
+
|
49 |
+
The Samaritanv1 dataset comprises Samaritan Biblical manuscripts line images and text from 14th and early 17th century.
|
50 |
+
|
51 |
+
Note that all images are resized to a fixed height of 128 pixels.
|
52 |
+
|
53 |
+
### Languages
|
54 |
+
|
55 |
+
All the documents in the dataset are written in Hebrew, Samaritan Hebrew and Samaritan Aramaic.
|
56 |
+
|
57 |
+
## Dataset Structure
|
58 |
+
|
59 |
+
### Data Instances
|
60 |
+
|
61 |
+
```
|
62 |
+
{
|
63 |
+
'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=4300x128 at 0x1A800E8E190,
|
64 |
+
'text': 'ינבו הנש תאמו םישלשו'
|
65 |
+
}
|
66 |
+
```
|
67 |
+
|
68 |
+
### Data Fields
|
69 |
+
|
70 |
+
|
71 |
+
- `image`: a PIL.Image.Image object containing the image. Note that when accessing the image column (using dataset[0]["image"]), the image file is automatically decoded. Decoding of a large number of image files might take a significant amount of time. Thus it is important to first query the sample index before the "image" column, i.e. dataset[0]["image"] should always be preferred over dataset["image"][0].
|
72 |
+
- `text`: the label transcription of the image. The text was intentinally flipped from RTL to LTR because of PyLaia library limitation to LTR.
|
data/test.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e3bab8c0738cade578f35c0d75786ae3d6c42d2dcf3f4f6c01e0219146818a68
|
3 |
+
size 36886655
|
data/train.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e207e04d240edb00dac7e675cc9a0e0f2e9086a312ceb6ef65fcf981064c59d
|
3 |
+
size 97327324
|
data/validation.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:615770c280a5c5926cb2e581d97ecd7708149c47c59aabec70db9e15882a5e3f
|
3 |
+
size 57614473
|