Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,55 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
---
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
task_categories:
|
| 7 |
+
- document-understanding
|
| 8 |
+
- text-generation
|
| 9 |
+
language:
|
| 10 |
+
- en
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
README.md
|
| 14 |
+
train.jsonl
|
| 15 |
+
val.jsonl
|
| 16 |
+
test.jsonl
|
| 17 |
+
{"instruction":"Extract payment amount and due date from the document","input":"Invoice #1029. Total payable amount is $5,000 due by January 30, 2025.","output":"{\"amount\":\"$5,000\",\"due_date\":\"2025-01-30\"}"}
|
| 18 |
+
{"instruction":"Identify potential risks in the contract","input":"Payment shall be made within 90 days. No penalty clause is specified.","output":"{\"risk\":\"Delayed payment risk\"}"}
|
| 19 |
+
|
| 20 |
+
{"instruction":"Extract key entities from the agreement","input":"The client agrees to pay USD 12,000 upon project completion.","output":"{\"amount\":\"$12,000\"}"}
|
| 21 |
+
|
| 22 |
+
{"instruction":"Classify the document section","input":"Termination clause: Either party may terminate with 30 days notice.","output":"{\"section\":\"Termination\"}"}
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
# DocuMind ERNIE 4.5 Document Reasoning Dataset
|
| 27 |
+
|
| 28 |
+
Instruction-style dataset for fine-tuning ERNIE 4.5 on OCR-based document
|
| 29 |
+
understanding and reasoning tasks.
|
| 30 |
+
|
| 31 |
+
## Data Source
|
| 32 |
+
Documents are processed using PaddleOCR-VL to extract text and layout.
|
| 33 |
+
Data is anonymized and partially synthetic.
|
| 34 |
+
|
| 35 |
+
## Schema
|
| 36 |
+
Each record:
|
| 37 |
+
{
|
| 38 |
+
"instruction": "...",
|
| 39 |
+
"input": "<OCR extracted document text>",
|
| 40 |
+
"output": "<structured JSON>"
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
## Tasks
|
| 44 |
+
- Entity extraction
|
| 45 |
+
- Risk identification
|
| 46 |
+
- Section classification
|
| 47 |
+
- Contract reasoning
|
| 48 |
+
|
| 49 |
+
## Splits
|
| 50 |
+
- train.jsonl
|
| 51 |
+
- val.jsonl
|
| 52 |
+
- test.jsonl
|
| 53 |
+
|
| 54 |
+
## License
|
| 55 |
+
Apache-2.0
|