Florent Gbelidji commited on
Sync DeepSeek OCR HF job code
Browse files- ds_batch_ocr/stages.py +5 -5
ds_batch_ocr/stages.py
CHANGED
|
@@ -201,15 +201,15 @@ def _dataset_features() -> Features:
|
|
| 201 |
{
|
| 202 |
"sample_id": Value("string"),
|
| 203 |
"dataset_index": Value("int64"),
|
| 204 |
-
"
|
|
|
|
| 205 |
"document_markdown_text": Value("string"),
|
|
|
|
|
|
|
|
|
|
| 206 |
"document_final_markdown_path": Value("string"),
|
| 207 |
"document_final_markdown_text": Value("string"),
|
| 208 |
-
"document_with_boxes_image_path": HfImage(),
|
| 209 |
"raw_response_path": Value("string"),
|
| 210 |
-
"source_image_path": HfImage(),
|
| 211 |
-
"figures": Sequence(HfImage()),
|
| 212 |
-
"figures_metadata": Sequence(Value("string")),
|
| 213 |
}
|
| 214 |
)
|
| 215 |
|
|
|
|
| 201 |
{
|
| 202 |
"sample_id": Value("string"),
|
| 203 |
"dataset_index": Value("int64"),
|
| 204 |
+
"source_image_path": HfImage(),
|
| 205 |
+
"document_with_boxes_image_path": HfImage(),
|
| 206 |
"document_markdown_text": Value("string"),
|
| 207 |
+
"figures": Sequence(HfImage()),
|
| 208 |
+
"figures_metadata": Sequence(Value("string")),
|
| 209 |
+
"document_markdown_path": Value("string"),
|
| 210 |
"document_final_markdown_path": Value("string"),
|
| 211 |
"document_final_markdown_text": Value("string"),
|
|
|
|
| 212 |
"raw_response_path": Value("string"),
|
|
|
|
|
|
|
|
|
|
| 213 |
}
|
| 214 |
)
|
| 215 |
|