tarun-menta commited on
Commit
8dc5578
·
verified ·
1 Parent(s): 1f574db

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -0
README.md CHANGED
@@ -17,3 +17,21 @@ configs:
17
  - split: train
18
  path: data/train-*
19
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  - split: train
18
  path: data/train-*
19
  ---
20
+
21
+ # Example Dataset for Surya OCR Finetuning
22
+
23
+ This dataset is an example that lays out the expected format for finetuning Surya OCR.
24
+
25
+ ## Data Requirements
26
+ Image column: The input images (full pages, blocks, or single text lines — mix freely).
27
+ Text column: The transcription corresponding to each image.
28
+ For math content, ensure <math display="inline"></math> or <math display="block"></math> tags are wrapped around the latex
29
+
30
+ ## Surya OCR supports:
31
+ Various aspect ratios
32
+ Different image types and qualities
33
+ Full-page documents
34
+ Cropped blocks of text
35
+ Single-line snippets
36
+
37
+ The base surya model is trained on a wide range of samples from all these categories, and you can combine any of these types in your training dataset for more robust performance, as demonstrated in this example dataset.