davelotito
commited on
End of training
Browse files
README.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: naver-clova-ix/donut-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- bleu
|
8 |
+
- wer
|
9 |
+
model-index:
|
10 |
+
- name: donut_experiment_1
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# donut_experiment_1
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [naver-clova-ix/donut-base](https://huggingface.co/naver-clova-ix/donut-base) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.4233
|
22 |
+
- Bleu: 0.0659
|
23 |
+
- Precisions: [0.8058455114822547, 0.7440758293838863, 0.7013698630136986, 0.6590909090909091]
|
24 |
+
- Brevity Penalty: 0.0908
|
25 |
+
- Length Ratio: 0.2942
|
26 |
+
- Translation Length: 479
|
27 |
+
- Reference Length: 1628
|
28 |
+
- Cer: 0.7576
|
29 |
+
- Wer: 0.8295
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 2e-05
|
49 |
+
- train_batch_size: 1
|
50 |
+
- eval_batch_size: 1
|
51 |
+
- seed: 42
|
52 |
+
- gradient_accumulation_steps: 2
|
53 |
+
- total_train_batch_size: 2
|
54 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
55 |
+
- lr_scheduler_type: linear
|
56 |
+
- num_epochs: 4
|
57 |
+
- mixed_precision_training: Native AMP
|
58 |
+
|
59 |
+
### Training results
|
60 |
+
|
61 |
+
| Training Loss | Epoch | Step | Validation Loss | Bleu | Precisions | Brevity Penalty | Length Ratio | Translation Length | Reference Length | Cer | Wer |
|
62 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:--------------------------------------------------------------------------------:|:---------------:|:------------:|:------------------:|:----------------:|:------:|:------:|
|
63 |
+
| 0.8942 | 1.0 | 253 | 0.5716 | 0.0571 | [0.7436974789915967, 0.6610978520286396, 0.6104972375690608, 0.5672131147540984] | 0.0889 | 0.2924 | 476 | 1628 | 0.7669 | 0.8416 |
|
64 |
+
| 0.3794 | 2.0 | 506 | 0.4522 | 0.0594 | [0.770042194092827, 0.697841726618705, 0.6472222222222223, 0.6072607260726073] | 0.0876 | 0.2912 | 474 | 1628 | 0.7642 | 0.8415 |
|
65 |
+
| 0.3017 | 3.0 | 759 | 0.4154 | 0.0642 | [0.8029350104821803, 0.7357142857142858, 0.6887052341597796, 0.6503267973856209] | 0.0895 | 0.2930 | 477 | 1628 | 0.7577 | 0.8320 |
|
66 |
+
| 0.222 | 4.0 | 1012 | 0.4233 | 0.0659 | [0.8058455114822547, 0.7440758293838863, 0.7013698630136986, 0.6590909090909091] | 0.0908 | 0.2942 | 479 | 1628 | 0.7576 | 0.8295 |
|
67 |
+
|
68 |
+
|
69 |
+
### Framework versions
|
70 |
+
|
71 |
+
- Transformers 4.40.2
|
72 |
+
- Pytorch 2.1.0
|
73 |
+
- Datasets 2.18.0
|
74 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"eos_token_id": 2,
|
4 |
+
"forced_eos_token_id": 2,
|
5 |
+
"pad_token_id": 1,
|
6 |
+
"transformers_version": "4.40.2"
|
7 |
+
}
|
runs/May08_19-09-45_ip-172-16-185-56.ec2.internal/events.out.tfevents.1715195385.ip-172-16-185-56.ec2.internal.13114.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:352533f5dfca59a4d3ccc5d7708f719cf11a5c516e1a43c4602684904bdeaba0
|
3 |
+
size 14197
|