samaritan_v1 / README.md
johnlockejrr's picture
Update README.md
43a2175 verified
|
raw
history blame
1.97 kB
---
license: mit
language:
- he
- sam
task_categories:
- image-to-text
pretty_name: Samaritan_v1
dataset_info:
features:
- name: image
dtype: image
- name: text
dtype: string
splits:
- name: train
num_examples: 2500
- name: validation
num_examples: 1500
- name: test
num_examples: 965
dataset_size: 415M
tags:
- atr
- htr
- ocr
- historical
- handwritten
- samaritan
---
# Samaritan v1 - line level
## Table of Contents
- [Samaritan v1 - line level](#samaritan_v1)
- [Table of Contents](#table-of-contents)
- [Dataset Description](#dataset-description)
- [Languages](#languages)
- [Dataset Structure](#dataset-structure)
- [Data Instances](#data-instances)
- [Data Fields](#data-fields)
## Dataset Description
- **Homepage:** [johnlockejrr's personal project](https://huggingface.co/datasets/johnlockejrr/samaritan_v1)
## Dataset Summary
The Samaritanv1 dataset comprises Samaritan Biblical manuscripts line images and text from 14th and early 17th century.
Note that all images are resized to a fixed height of 128 pixels.
### Languages
All the documents in the dataset are written in Hebrew, Samaritan Hebrew and Samaritan Aramaic.
## Dataset Structure
### Data Instances
```
{
'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=4300x128 at 0x1A800E8E190,
'text': 'ื™ื ื‘ื• ื”ื ืฉ ืชืืžื• ืื™ืฉืœืฉื•'
}
```
### Data Fields
- `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].
- `text`: the label transcription of the image. The text was intentionally flipped from RTL to LTR because of PyLaia library limitation to LTR.