shubh1608 commited on
Commit
6bd2bcd
1 Parent(s): e2a2d9b

End of training

Browse files
README.md CHANGED
@@ -1,4 +1,5 @@
1
  ---
 
2
  tags:
3
  - generated_from_trainer
4
  datasets:
@@ -13,7 +14,9 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # donut_pdf_ocr
15
 
16
- This model was trained from scratch on the imagefolder dataset.
 
 
17
 
18
  ## Model description
19
 
@@ -34,7 +37,7 @@ More information needed
34
  The following hyperparameters were used during training:
35
  - learning_rate: 2e-05
36
  - train_batch_size: 2
37
- - eval_batch_size: 8
38
  - seed: 42
39
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
40
  - lr_scheduler_type: linear
@@ -43,6 +46,38 @@ The following hyperparameters were used during training:
43
 
44
  ### Training results
45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
 
47
 
48
  ### Framework versions
 
1
  ---
2
+ license: mit
3
  tags:
4
  - generated_from_trainer
5
  datasets:
 
14
 
15
  # donut_pdf_ocr
16
 
17
+ This model is a fine-tuned version of [naver-clova-ix/donut-base](https://huggingface.co/naver-clova-ix/donut-base) on the imagefolder dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.0821
20
 
21
  ## Model description
22
 
 
37
  The following hyperparameters were used during training:
38
  - learning_rate: 2e-05
39
  - train_batch_size: 2
40
+ - eval_batch_size: 2
41
  - seed: 42
42
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
  - lr_scheduler_type: linear
 
46
 
47
  ### Training results
48
 
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:-----:|:----:|:---------------:|
51
+ | 0.6648 | 1.0 | 47 | 0.2550 |
52
+ | 0.3772 | 2.0 | 94 | 0.0895 |
53
+ | 0.1732 | 3.0 | 141 | 0.0862 |
54
+ | 0.1244 | 4.0 | 188 | 0.0718 |
55
+ | 0.0867 | 5.0 | 235 | 0.0473 |
56
+ | 0.1035 | 6.0 | 282 | 0.0640 |
57
+ | 0.1703 | 7.0 | 329 | 0.0877 |
58
+ | 0.0324 | 8.0 | 376 | 0.0722 |
59
+ | 0.033 | 9.0 | 423 | 0.0701 |
60
+ | 0.0404 | 10.0 | 470 | 0.0627 |
61
+ | 0.0198 | 11.0 | 517 | 0.0770 |
62
+ | 0.007 | 12.0 | 564 | 0.0730 |
63
+ | 0.0207 | 13.0 | 611 | 0.0885 |
64
+ | 0.0528 | 14.0 | 658 | 0.0898 |
65
+ | 0.0189 | 15.0 | 705 | 0.0588 |
66
+ | 0.0977 | 16.0 | 752 | 0.0563 |
67
+ | 0.0542 | 17.0 | 799 | 0.0647 |
68
+ | 0.0114 | 18.0 | 846 | 0.0674 |
69
+ | 0.0056 | 19.0 | 893 | 0.0726 |
70
+ | 0.005 | 20.0 | 940 | 0.0797 |
71
+ | 0.0005 | 21.0 | 987 | 0.0704 |
72
+ | 0.0023 | 22.0 | 1034 | 0.0864 |
73
+ | 0.0105 | 23.0 | 1081 | 0.0830 |
74
+ | 0.0014 | 24.0 | 1128 | 0.0806 |
75
+ | 0.0006 | 25.0 | 1175 | 0.0826 |
76
+ | 0.0012 | 26.0 | 1222 | 0.0790 |
77
+ | 0.0006 | 27.0 | 1269 | 0.0751 |
78
+ | 0.0022 | 28.0 | 1316 | 0.0786 |
79
+ | 0.0075 | 29.0 | 1363 | 0.0816 |
80
+ | 0.0024 | 30.0 | 1410 | 0.0821 |
81
 
82
 
83
  ### Framework versions
runs/Apr21_10-20-11_1945e9cc3f65/events.out.tfevents.1682072420.1945e9cc3f65.310.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d0e404f0713e08c4c43ea803688a005ed9b157b8d97ac449b70c91d25b56c5cc
3
- size 27656
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb02eef699e246acdd5983e263e4ba81eadf6ffb66e439fa7dba8e8dec10e0c7
3
+ size 28010
special_tokens_map.json CHANGED
@@ -1,5 +1,17 @@
1
  {
2
  "additional_special_tokens": [
 
 
 
 
 
 
 
 
 
 
 
 
3
  "<s>",
4
  "</s>"
5
  ],
 
1
  {
2
  "additional_special_tokens": [
3
+ "<s_patient_name>",
4
+ "</s_patient_name>",
5
+ "<s_patient_id>",
6
+ "</s_patient_id>",
7
+ "<s_gender>",
8
+ "</s_gender>",
9
+ "<s_discharge_diagnosis>",
10
+ "</s_discharge_diagnosis>",
11
+ "<s_discharge_date>",
12
+ "</s_discharge_date>",
13
+ "<s_admit_date>",
14
+ "</s_admit_date>",
15
  "<s>",
16
  "</s>"
17
  ],
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff