File size: 1,296 Bytes
446cb7b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Chandra OCR Output - davanstrien/ufo-ocr-chandra

This dataset was created by processing images from [davanstrien/ufo](https://huggingface.co/datasets/davanstrien/ufo)
using the [Chandra OCR model](https://huggingface.co/datalab-to/chandra).

## Model Information
- **Model**: Chandra (9B parameters, Qwen3VL-based)
- **Accuracy**: 83.1% on document benchmarks
- **Strengths**: Tables, old scans, long text documents
- **OCR Mode**: ocr_layout

## Processing Configuration
- **Temperature**: 0.0 (initial), 0.3 (retry)
- **Top-p**: 0.1 (initial), 0.95 (retry)
- **Max Output Tokens**: 12384
- **Batch Size**: 28
- **Bounding Box Scale**: 1024

## Output Columns
- `chandra_markdown`: Markdown text extracted from images
- `inference_info`: Metadata about the generation parameters

## Generation Script
This dataset was generated using the UV script from:
https://huggingface.co/datasets/uv-scripts/ocr

To reproduce:
```bash
uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/chandra.py \
    davanstrien/ufo --output-dataset davanstrien/ufo-ocr-chandra --ocr-mode ocr_layout
```

## Citation
If you use this dataset, please cite the Chandra model:
```
@article{chandra2024,
  title={Chandra: High-Accuracy OCR for Document Processing},
  author={DataLab Team},
  year={2024}
}
```