Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
donut_pytorch
Commits
362f844b
Unverified
Commit
362f844b
authored
Oct 05, 2022
by
Geewook Kim
Committed by
GitHub
Oct 05, 2022
Browse files
Update README.md
parent
e33da0eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
362f844b
...
@@ -35,8 +35,8 @@ Gradio web demos are available! [
(
Document
Parsing) | 0.7 /
<br>
0.7 /
<br>
1.2 | 9
3.7
/
<br>
9
3.5
/
<br>
9
3.5
|
[
donut-base-finetuned-cord-v2
](
https://huggingface.co/naver-clova-ix/donut-base-finetuned-cord-v2/tree/official
)
(
1280
)
/
<br>
[
donut-base-finetuned-cord-v1
](
https://huggingface.co/naver-clova-ix/donut-base-finetuned-cord-v1/tree/official
)
(
1280
)
/
<br>
[
donut-base-finetuned-cord-v1-2560
](
https://huggingface.co/naver-clova-ix/donut-base-finetuned-cord-v1-2560/tree/official
)
|
[
gradio space web demo
](
https://huggingface.co/spaces/naver-clova-ix/donut-base-finetuned-cord-v2
)
,
<br>
[
google colab demo
](
https://colab.research.google.com/drive/1o07hty-3OQTvGnc_7lgQFLvvKQuLjqiw?usp=sharing
)
|
|
[
CORD
](
https://github.com/clovaai/cord
)
(
Document
Parsing) | 0.7 /
<br>
0.7 /
<br>
1.2 | 9
1.3
/
<br>
9
1.1
/
<br>
9
0.9
|
[
donut-base-finetuned-cord-v2
](
https://huggingface.co/naver-clova-ix/donut-base-finetuned-cord-v2/tree/official
)
(
1280
)
/
<br>
[
donut-base-finetuned-cord-v1
](
https://huggingface.co/naver-clova-ix/donut-base-finetuned-cord-v1/tree/official
)
(
1280
)
/
<br>
[
donut-base-finetuned-cord-v1-2560
](
https://huggingface.co/naver-clova-ix/donut-base-finetuned-cord-v1-2560/tree/official
)
|
[
gradio space web demo
](
https://huggingface.co/spaces/naver-clova-ix/donut-base-finetuned-cord-v2
)
,
<br>
[
google colab demo
](
https://colab.research.google.com/drive/1o07hty-3OQTvGnc_7lgQFLvvKQuLjqiw?usp=sharing
)
|
|
[
Train Ticket
](
https://github.com/beacandler/EATEN
)
(
Document
Parsing) | 0.6 | 98.
8
|
[
donut-base-finetuned-zhtrainticket
](
https://huggingface.co/naver-clova-ix/donut-base-finetuned-zhtrainticket/tree/official
)
|
[
google colab demo
](
https://colab.research.google.com/drive/16O-hMvGiXrYZnlXA_tfJ9_q760YcLoOj?usp=sharing
)
|
|
[
Train Ticket
](
https://github.com/beacandler/EATEN
)
(
Document
Parsing) | 0.6 | 98.
7
|
[
donut-base-finetuned-zhtrainticket
](
https://huggingface.co/naver-clova-ix/donut-base-finetuned-zhtrainticket/tree/official
)
|
[
google colab demo
](
https://colab.research.google.com/drive/16O-hMvGiXrYZnlXA_tfJ9_q760YcLoOj?usp=sharing
)
|
|
[
RVL-CDIP
](
https://www.cs.cmu.edu/~aharley/rvl-cdip
)
(
Document
Classification) | 0.75 | 95.3 |
[
donut-base-finetuned-rvlcdip
](
https://huggingface.co/naver-clova-ix/donut-base-finetuned-rvlcdip/tree/official
)
|
[
gradio space web demo
](
https://huggingface.co/spaces/nielsr/donut-rvlcdip
)
,
<br>
[
google colab demo
](
https://colab.research.google.com/drive/1xUDmLqlthx8A8rWKLMSLThZ7oeRJkDuU?usp=sharing
)
|
|
[
RVL-CDIP
](
https://www.cs.cmu.edu/~aharley/rvl-cdip
)
(
Document
Classification) | 0.75 | 95.3 |
[
donut-base-finetuned-rvlcdip
](
https://huggingface.co/naver-clova-ix/donut-base-finetuned-rvlcdip/tree/official
)
|
[
gradio space web demo
](
https://huggingface.co/spaces/nielsr/donut-rvlcdip
)
,
<br>
[
google colab demo
](
https://colab.research.google.com/drive/1xUDmLqlthx8A8rWKLMSLThZ7oeRJkDuU?usp=sharing
)
|
|
[
DocVQA Task1
](
https://rrc.cvc.uab.es/?ch=17
)
(
Document
VQA) | 0.78 | 67.5 |
[
donut-base-finetuned-docvqa
](
https://huggingface.co/naver-clova-ix/donut-base-finetuned-docvqa/tree/official
)
|
[
gradio space web demo
](
https://huggingface.co/spaces/nielsr/donut-docvqa
)
,
<br>
[
google colab demo
](
https://colab.research.google.com/drive/1Z4WG8Wunj3HE0CERjt608ALSgSzRC9ig?usp=sharing
)
|
|
[
DocVQA Task1
](
https://rrc.cvc.uab.es/?ch=17
)
(
Document
VQA) | 0.78 | 67.5 |
[
donut-base-finetuned-docvqa
](
https://huggingface.co/naver-clova-ix/donut-base-finetuned-docvqa/tree/official
)
|
[
gradio space web demo
](
https://huggingface.co/spaces/nielsr/donut-docvqa
)
,
<br>
[
google colab demo
](
https://colab.research.google.com/drive/1Z4WG8Wunj3HE0CERjt608ALSgSzRC9ig?usp=sharing
)
|
...
@@ -191,7 +191,7 @@ With the trained model, test images and ground truth parses, you can get inferen
...
@@ -191,7 +191,7 @@ With the trained model, test images and ground truth parses, you can get inferen
```
bash
```
bash
python test.py
--dataset_name_or_path
naver-clova-ix/cord-v2
--pretrained_model_name_or_path
./result/train_cord/test_experiment
--save_path
./result/output.json
python test.py
--dataset_name_or_path
naver-clova-ix/cord-v2
--pretrained_model_name_or_path
./result/train_cord/test_experiment
--save_path
./result/output.json
100%|█████████████| 100/100
[
00:35<00:00, 2.80it/s]
100%|█████████████| 100/100
[
00:35<00:00, 2.80it/s]
Total number of samples: 100, Tree Edit Distance
(
TED
)
based accuracy score: 0.9
374973163596032
, F1 accuracy score: 0.8406020841373987
Total number of samples: 100, Tree Edit Distance
(
TED
)
based accuracy score: 0.9
129639764131697
, F1 accuracy score: 0.8406020841373987
```
```
Some important arguments:
Some important arguments:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment