konstantis commited on
Commit
5954d80
·
verified ·
1 Parent(s): f33e5df

End of training

Browse files
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: naver-clova-ix/donut-base
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: donut_checkpoints
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # donut_checkpoints
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 None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.7296
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 2e-05
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 10
45
+ - mixed_precision_training: Native AMP
46
+
47
+ ### Training results
48
+
49
+ | Training Loss | Epoch | Step | Validation Loss |
50
+ |:-------------:|:-----:|:----:|:---------------:|
51
+ | 4.0573 | 1.0 | 250 | 1.4718 |
52
+ | 0.6312 | 2.0 | 500 | 0.7169 |
53
+ | 0.2924 | 3.0 | 750 | 0.6494 |
54
+ | 0.1544 | 4.0 | 1000 | 0.6331 |
55
+ | 0.0682 | 5.0 | 1250 | 0.7624 |
56
+ | 0.0562 | 6.0 | 1500 | 0.7330 |
57
+ | 0.027 | 7.0 | 1750 | 0.7246 |
58
+ | 0.0076 | 8.0 | 2000 | 0.6950 |
59
+ | 0.0069 | 9.0 | 2250 | 0.7208 |
60
+ | 0.008 | 10.0 | 2500 | 0.7296 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.52.4
66
+ - Pytorch 2.6.0+cu124
67
+ - Datasets 2.14.4
68
+ - Tokenizers 0.21.1
config.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "VisionEncoderDecoderModel"
4
+ ],
5
+ "decoder": {
6
+ "activation_dropout": 0.0,
7
+ "activation_function": "gelu",
8
+ "add_cross_attention": true,
9
+ "add_final_layer_norm": true,
10
+ "attention_dropout": 0.0,
11
+ "classifier_dropout": 0.0,
12
+ "d_model": 1024,
13
+ "decoder_attention_heads": 16,
14
+ "decoder_ffn_dim": 4096,
15
+ "decoder_layerdrop": 0.0,
16
+ "decoder_layers": 4,
17
+ "dropout": 0.1,
18
+ "encoder_attention_heads": 16,
19
+ "encoder_ffn_dim": 4096,
20
+ "encoder_layerdrop": 0.0,
21
+ "encoder_layers": 12,
22
+ "init_std": 0.02,
23
+ "is_decoder": true,
24
+ "is_encoder_decoder": false,
25
+ "max_length": 512,
26
+ "max_position_embeddings": 1536,
27
+ "model_type": "mbart",
28
+ "num_hidden_layers": 12,
29
+ "scale_embedding": true,
30
+ "torch_dtype": "float32",
31
+ "use_cache": true,
32
+ "vocab_size": 57529
33
+ },
34
+ "decoder_start_token_id": 0,
35
+ "encoder": {
36
+ "attention_probs_dropout_prob": 0.0,
37
+ "depths": [
38
+ 2,
39
+ 2,
40
+ 14,
41
+ 2
42
+ ],
43
+ "drop_path_rate": 0.1,
44
+ "embed_dim": 128,
45
+ "hidden_act": "gelu",
46
+ "hidden_dropout_prob": 0.0,
47
+ "hidden_size": 1024,
48
+ "image_size": [
49
+ 960,
50
+ 720
51
+ ],
52
+ "initializer_range": 0.02,
53
+ "layer_norm_eps": 1e-05,
54
+ "mlp_ratio": 4.0,
55
+ "model_type": "donut-swin",
56
+ "num_channels": 3,
57
+ "num_heads": [
58
+ 4,
59
+ 8,
60
+ 16,
61
+ 32
62
+ ],
63
+ "num_layers": 4,
64
+ "patch_size": 4,
65
+ "path_norm": true,
66
+ "qkv_bias": true,
67
+ "torch_dtype": "float32",
68
+ "use_absolute_embeddings": false,
69
+ "window_size": 10
70
+ },
71
+ "is_encoder_decoder": true,
72
+ "model_type": "vision-encoder-decoder",
73
+ "pad_token_id": 1,
74
+ "tie_word_embeddings": false,
75
+ "torch_dtype": "float32",
76
+ "transformers_version": "4.52.4"
77
+ }
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 2,
5
+ "forced_eos_token_id": 2,
6
+ "pad_token_id": 1,
7
+ "transformers_version": "4.52.4"
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3285cff1052f2c808a3d33bee80336021296a8809a11701871a9879bd80908e
3
+ size 809087128
runs/Jun21_17-28-39_46460c7ba23f/events.out.tfevents.1750527003.46460c7ba23f.453.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84a6eadd26a7bba61a839b48cd0f46a835e4e535a44b9635cf9161126477f960
3
+ size 14586
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c25ddc2f2e6febed9f12b84fa0efa1b31f66d0bdb51ebbe84f400fdbcb808448
3
+ size 5496