KhimNguyen commited on
Commit
cfcb2e6
1 Parent(s): 05bb015

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +18 -0
README.md CHANGED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Fine-tune Donut to extract data from chart
2
+
3
+ ## Data
4
+
5
+ The data used to train, validate and test is published by account named TeeA via this link huggingface.co/datasets/TeeA/Vietnamese-Chart-Dataset
6
+
7
+ ## Fine-tuning instruction
8
+
9
+ The model is fine-tuned following the instruction of Niels Rogge - Transformer Tutorial, 2020-09-02 via https://github.com/NielsRogge/Transformers-Tutorials
10
+
11
+ ## Load model
12
+
13
+ The model can be loaded by using DonutProcessor
14
+
15
+ from transformers import DonutProcessor, VisionEncoderDecoderModel
16
+
17
+ processor = DonutProcessor.from_pretrained("KhimNguyen/chart2text")
18
+ model = VisionEncoderDecoderModel.from_pretrained("KhimNguyen/chart2text")