Add inference results
Browse files
README.md
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
dataset_info:
|
| 3 |
+
config_name: default
|
| 4 |
+
features:
|
| 5 |
+
- name: image
|
| 6 |
+
dtype:
|
| 7 |
+
image:
|
| 8 |
+
decode: false
|
| 9 |
+
- name: text
|
| 10 |
+
dtype: string
|
| 11 |
+
- name: line_id
|
| 12 |
+
dtype: string
|
| 13 |
+
- name: line_reading_order
|
| 14 |
+
dtype: int64
|
| 15 |
+
- name: line_coords
|
| 16 |
+
dtype:
|
| 17 |
+
sequence:
|
| 18 |
+
sequence: int64
|
| 19 |
+
- name: line_baseline
|
| 20 |
+
dtype:
|
| 21 |
+
sequence:
|
| 22 |
+
sequence: int64
|
| 23 |
+
- name: line_augmentation
|
| 24 |
+
dtype: string
|
| 25 |
+
- name: region_id
|
| 26 |
+
dtype: string
|
| 27 |
+
- name: region_reading_order
|
| 28 |
+
dtype: int64
|
| 29 |
+
- name: region_type
|
| 30 |
+
dtype: string
|
| 31 |
+
- name: region_coords
|
| 32 |
+
dtype:
|
| 33 |
+
sequence:
|
| 34 |
+
sequence: int64
|
| 35 |
+
- name: filename
|
| 36 |
+
dtype: string
|
| 37 |
+
- name: project_name
|
| 38 |
+
dtype: string
|
| 39 |
+
- name: inference_20260702_103450_555442_model_fgho_trocr-hanseXVI-kurrent
|
| 40 |
+
dtype: string
|
| 41 |
+
splits:
|
| 42 |
+
- name: train
|
| 43 |
+
num_examples: 825
|
| 44 |
+
num_bytes: 123234367
|
| 45 |
+
download_size: 123234367
|
| 46 |
+
dataset_size: 123234367
|
| 47 |
+
configs:
|
| 48 |
+
- config_name: default
|
| 49 |
+
data_files:
|
| 50 |
+
- split: train
|
| 51 |
+
path: data/train/**/*.parquet
|
| 52 |
+
tags:
|
| 53 |
+
- image-to-text
|
| 54 |
+
- htr
|
| 55 |
+
- trocr
|
| 56 |
+
- inference
|
| 57 |
+
- pagexml
|
| 58 |
+
license: mit
|
| 59 |
+
---
|
| 60 |
+
|
| 61 |
+
# Dataset Card for test-bie-preprocessing-lines
|
| 62 |
+
|
| 63 |
+
This dataset is derived from [jwidmer/test-bie-preprocessing-lines](https://huggingface.co/datasets/jwidmer/test-bie-preprocessing-lines) and has been enriched with inference results.
|
| 64 |
+
|
| 65 |
+
## Dataset Summary
|
| 66 |
+
|
| 67 |
+
This dataset contains 825 samples across 1 split(s).
|
| 68 |
+
|
| 69 |
+
### Projects Included
|
| 70 |
+
|
| 71 |
+
1507-05-13_Hanserezess,_Lübeck_Ascensio_Domini_1507_(SAHST_Rep__2,_I_040-6)
|
| 72 |
+
|
| 73 |
+
## Duplicate Line Information
|
| 74 |
+
|
| 75 |
+
Duplicate line statistics are calculated from the dataset key columns `filename`, `region_id`, and `line_id`, plus `project_name` when project metadata is available.
|
| 76 |
+
|
| 77 |
+
Only original rows are counted here.
|
| 78 |
+
|
| 79 |
+
- Duplicate rows: 0
|
| 80 |
+
- Duplicate groups: 0
|
| 81 |
+
- Duplicate excess rows: 0
|
| 82 |
+
|
| 83 |
+
### Duplicate Lines by Split
|
| 84 |
+
|
| 85 |
+
- **train**: 0 duplicate rows, 0 duplicate groups, 0 duplicate excess rows
|
| 86 |
+
|
| 87 |
+
## Dataset Structure
|
| 88 |
+
|
| 89 |
+
### Data Splits
|
| 90 |
+
|
| 91 |
+
- **train**: 825 samples
|
| 92 |
+
|
| 93 |
+
### Dataset Size
|
| 94 |
+
|
| 95 |
+
- Approximate total size: 117.53 MB
|
| 96 |
+
- Total samples: 825
|
| 97 |
+
|
| 98 |
+
### Features
|
| 99 |
+
|
| 100 |
+
- **image**: `Image(mode=None, decode=False)`
|
| 101 |
+
- **text**: `Value('string')`
|
| 102 |
+
- **line_id**: `Value('string')`
|
| 103 |
+
- **line_reading_order**: `Value('int64')`
|
| 104 |
+
- **line_coords**: `List(List(Value('int64')))`
|
| 105 |
+
- **line_baseline**: `List(List(Value('int64')))`
|
| 106 |
+
- **line_augmentation**: `Value('string')`
|
| 107 |
+
- **region_id**: `Value('string')`
|
| 108 |
+
- **region_reading_order**: `Value('int64')`
|
| 109 |
+
- **region_type**: `Value('string')`
|
| 110 |
+
- **region_coords**: `List(List(Value('int64')))`
|
| 111 |
+
- **filename**: `Value('string')`
|
| 112 |
+
- **project_name**: `Value('string')`
|
| 113 |
+
- **inference_20260702_103450_555442_model_fgho_trocr-hanseXVI-kurrent**: `Value('string')`
|
| 114 |
+
|
| 115 |
+
## Data Organization
|
| 116 |
+
|
| 117 |
+
Data is organized as parquet shards by split and project:
|
| 118 |
+
|
| 119 |
+
```
|
| 120 |
+
data/
|
| 121 |
+
├── <split>/
|
| 122 |
+
│ └── <project_name>/
|
| 123 |
+
│ └── <timestamp>-<shard>.parquet
|
| 124 |
+
```
|
| 125 |
+
|
| 126 |
+
The HuggingFace Hub automatically merges all parquet files when loading the dataset.
|
| 127 |
+
|
| 128 |
+
## Usage
|
| 129 |
+
|
| 130 |
+
```python
|
| 131 |
+
from datasets import load_dataset
|
| 132 |
+
|
| 133 |
+
# Load entire dataset
|
| 134 |
+
dataset = load_dataset("jwidmer/test-bie-preprocessing-lines")
|
| 135 |
+
|
| 136 |
+
# Load specific split
|
| 137 |
+
dataset_split = load_dataset("jwidmer/test-bie-preprocessing-lines", split="train")
|
| 138 |
+
```
|
data/train/1507-05-13_Hanserezess,_Lübeck_Ascensio_Domini_1507_(SAHST_Rep__2,_I_040-6)/20260630_133028-0000.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eaa5cf8dade321574b735571ddb06a3ec48c54804a1f59b529f0d48fe7ee1174
|
| 3 |
+
size 123234367
|