Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,4 +10,44 @@ tags:
|
|
| 10 |
- document
|
| 11 |
size_categories:
|
| 12 |
- 1K<n<10K
|
| 13 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
- document
|
| 11 |
size_categories:
|
| 12 |
- 1K<n<10K
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# **OpenDoc-Pdf-Preview**
|
| 16 |
+
|
| 17 |
+
**OpenDoc-Pdf-Preview** is a compact visual preview dataset containing 6,000 high-resolution document images extracted from PDFs. This dataset is designed for **Image-to-Text** tasks such as document OCR pretraining, layout understanding, and multimodal document analysis.
|
| 18 |
+
|
| 19 |
+
## Dataset Summary
|
| 20 |
+
|
| 21 |
+
* **Modality:** Image-to-Text
|
| 22 |
+
* **Content Type:** PDF-based document previews
|
| 23 |
+
* **Number of Samples:** 6,000
|
| 24 |
+
* **Language:** English
|
| 25 |
+
* **Format:** Parquet
|
| 26 |
+
* **Split:** `train` only
|
| 27 |
+
* **Size:** 606 MB
|
| 28 |
+
* **License:** [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)
|
| 29 |
+
|
| 30 |
+
Each entry consists of:
|
| 31 |
+
|
| 32 |
+
* A **preview image** of a PDF page
|
| 33 |
+
* A placeholder column named `pdf` (currently appears empty or reserved for future metadata)
|
| 34 |
+
|
| 35 |
+
## Use Cases
|
| 36 |
+
|
| 37 |
+
* Pretraining OCR or Document Layout models
|
| 38 |
+
* PDF snapshot-based search indexing
|
| 39 |
+
* Few-shot document vision evaluation
|
| 40 |
+
* Visual prompt tuning for vision-language models (VLMs)
|
| 41 |
+
|
| 42 |
+
## How to Use
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
from datasets import load_dataset
|
| 46 |
+
|
| 47 |
+
dataset = load_dataset("prithivMLmods/OpenDoc-Pdf-Preview", split="train")
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Notes
|
| 51 |
+
|
| 52 |
+
* The column `pdf` may be extended in future versions with associated metadata or textual content.
|
| 53 |
+
* Each sample preview is rendered from the original PDF file, representing various real-world layouts and formats.
|