Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -8,57 +8,6 @@ tags:
|
|
| 8 |
- markdown
|
| 9 |
- uv-script
|
| 10 |
- generated
|
| 11 |
-
dataset_info:
|
| 12 |
-
features:
|
| 13 |
-
- name: image_id
|
| 14 |
-
dtype: int64
|
| 15 |
-
- name: image
|
| 16 |
-
dtype: image
|
| 17 |
-
- name: width
|
| 18 |
-
dtype: int32
|
| 19 |
-
- name: height
|
| 20 |
-
dtype: int32
|
| 21 |
-
- name: objects
|
| 22 |
-
list:
|
| 23 |
-
- name: bw_id
|
| 24 |
-
dtype: string
|
| 25 |
-
- name: category_id
|
| 26 |
-
dtype:
|
| 27 |
-
class_label:
|
| 28 |
-
names:
|
| 29 |
-
'0': Photograph
|
| 30 |
-
'1': Illustration
|
| 31 |
-
'2': Map
|
| 32 |
-
'3': Comics/Cartoon
|
| 33 |
-
'4': Editorial Cartoon
|
| 34 |
-
'5': Headline
|
| 35 |
-
'6': Advertisement
|
| 36 |
-
- name: image_id
|
| 37 |
-
dtype: string
|
| 38 |
-
- name: id
|
| 39 |
-
dtype: int64
|
| 40 |
-
- name: area
|
| 41 |
-
dtype: int64
|
| 42 |
-
- name: bbox
|
| 43 |
-
list: float32
|
| 44 |
-
length: 4
|
| 45 |
-
- name: iscrowd
|
| 46 |
-
dtype: bool
|
| 47 |
-
- name: markdown
|
| 48 |
-
dtype: string
|
| 49 |
-
- name: inference_info
|
| 50 |
-
dtype: string
|
| 51 |
-
splits:
|
| 52 |
-
- name: train
|
| 53 |
-
num_bytes: 43451828
|
| 54 |
-
num_examples: 128
|
| 55 |
-
download_size: 40917294
|
| 56 |
-
dataset_size: 43451828
|
| 57 |
-
configs:
|
| 58 |
-
- config_name: default
|
| 59 |
-
data_files:
|
| 60 |
-
- split: train
|
| 61 |
-
path: data/train-*
|
| 62 |
---
|
| 63 |
|
| 64 |
# Document OCR using dots.ocr
|
|
@@ -70,8 +19,8 @@ This dataset contains OCR results from images in [biglam/loc_beyond_words](https
|
|
| 70 |
- **Source Dataset**: [biglam/loc_beyond_words](https://huggingface.co/datasets/biglam/loc_beyond_words)
|
| 71 |
- **Model**: [rednote-hilab/dots.ocr](https://huggingface.co/rednote-hilab/dots.ocr)
|
| 72 |
- **Number of Samples**: 128
|
| 73 |
-
- **Processing Time**:
|
| 74 |
-
- **Processing Date**: 2025-10-07 14:
|
| 75 |
|
| 76 |
### Configuration
|
| 77 |
|
|
@@ -79,7 +28,7 @@ This dataset contains OCR results from images in [biglam/loc_beyond_words](https
|
|
| 79 |
- **Output Column**: `markdown`
|
| 80 |
- **Dataset Split**: `train`
|
| 81 |
- **Batch Size**: 128
|
| 82 |
-
- **Prompt Mode**:
|
| 83 |
- **Max Model Length**: 8,192 tokens
|
| 84 |
- **Max Output Tokens**: 8,192
|
| 85 |
- **GPU Memory Utilization**: 80.0%
|
|
@@ -130,7 +79,7 @@ uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/dots-ocr.py \
|
|
| 130 |
<output-dataset> \
|
| 131 |
--image-column image \
|
| 132 |
--batch-size 128 \
|
| 133 |
-
--prompt-mode
|
| 134 |
--max-model-len 8192 \
|
| 135 |
--max-tokens 8192 \
|
| 136 |
--gpu-memory-utilization 0.8
|
|
|
|
| 8 |
- markdown
|
| 9 |
- uv-script
|
| 10 |
- generated
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
# Document OCR using dots.ocr
|
|
|
|
| 19 |
- **Source Dataset**: [biglam/loc_beyond_words](https://huggingface.co/datasets/biglam/loc_beyond_words)
|
| 20 |
- **Model**: [rednote-hilab/dots.ocr](https://huggingface.co/rednote-hilab/dots.ocr)
|
| 21 |
- **Number of Samples**: 128
|
| 22 |
+
- **Processing Time**: 4.8 min
|
| 23 |
+
- **Processing Date**: 2025-10-07 14:45 UTC
|
| 24 |
|
| 25 |
### Configuration
|
| 26 |
|
|
|
|
| 28 |
- **Output Column**: `markdown`
|
| 29 |
- **Dataset Split**: `train`
|
| 30 |
- **Batch Size**: 128
|
| 31 |
+
- **Prompt Mode**: ocr
|
| 32 |
- **Max Model Length**: 8,192 tokens
|
| 33 |
- **Max Output Tokens**: 8,192
|
| 34 |
- **GPU Memory Utilization**: 80.0%
|
|
|
|
| 79 |
<output-dataset> \
|
| 80 |
--image-column image \
|
| 81 |
--batch-size 128 \
|
| 82 |
+
--prompt-mode ocr \
|
| 83 |
--max-model-len 8192 \
|
| 84 |
--max-tokens 8192 \
|
| 85 |
--gpu-memory-utilization 0.8
|