File size: 2,018 Bytes
dcbf850
 
 
 
 
 
 
 
 
cd7cecf
dcbf850
 
cd7cecf
dcbf850
cd7cecf
 
dcbf850
 
 
 
 
 
 
b259f4e
 
 
 
 
 
 
 
dcbf850
01e5421
b259f4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
01e5421
 
 
 
 
 
 
 
 
 
b259f4e
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
---
dataset_info:
  features:
  - name: image
    dtype: image
  - name: markdown
    dtype: string
  splits:
  - name: train
    num_bytes: 2708743071.071875
    num_examples: 13694
  - name: test
    num_bytes: 299648958.76012516
    num_examples: 1522
  download_size: 2941596774
  dataset_size: 3008392029.8320003
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: test
    path: data/test-*
license: gpl-3.0
task_categories:
- image-to-text
language:
- ar
pretty_name: Arabic Img2MD
size_categories:
- 10K<n<100K
---

# Arabic Img2MD

## Dataset Summary

The `arabic-img2md` dataset consists of **15,000 examples** of PDF pages paired with their Markdown counterparts. The dataset is split into:
- **Train:** 13,700 examples
- **Test:** 1,520 examples

This dataset was created as part of the open-source research project **Arabic Nougat** to enable OCR and Markdown extraction from Arabic documents. It contains mostly **Arabic text** but also includes examples with **English text**.

## Usage

The dataset was used to train two models:
- `arabic-base-nougat`
- `arabic-large-nougat`

These models are designed for **OCR** tasks and converting PDF content to Markdown in the Arabic language context.

## Research Context

The dataset supports the findings of the research paper:
**[Arabic-Nougat: Fine-Tuning Vision Transformers for Arabic OCR and Markdown Extraction](https://huggingface.co/papers/2411.17835)**.

## Licensing

This dataset is released under the **GPL-3.0 License**, ensuring its open-source availability.

## Citation

If you use this dataset, please cite the corresponding research paper:
```bibtex
@misc{rashad2024arabicnougatfinetuningvisiontransformers,
      title={Arabic-Nougat: Fine-Tuning Vision Transformers for Arabic OCR and Markdown Extraction}, 
      author={Mohamed Rashad},
      year={2024},
      eprint={2411.17835},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2411.17835}, 
}
```