End of training
Browse files- README.md +19 -12
- all_results.json +12 -11
- config.json +7 -47
- eval_results.json +6 -6
- model.safetensors +2 -2
- preprocessor_config.json +1 -7
- train_results.json +6 -6
- trainer_state.json +0 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
base_model:
|
4 |
tags:
|
|
|
|
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
7 |
- f1
|
@@ -15,10 +17,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# donut-base-beans
|
17 |
|
18 |
-
This model is a fine-tuned version of [
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
-
|
21 |
-
-
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -43,17 +45,22 @@ The following hyperparameters were used during training:
|
|
43 |
- seed: 1337
|
44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
- lr_scheduler_type: linear
|
46 |
-
- num_epochs:
|
47 |
|
48 |
### Training results
|
49 |
|
50 |
-
| Training Loss | Epoch | Step |
|
51 |
-
|
52 |
-
| 0.
|
53 |
-
| 0.
|
54 |
-
| 0.
|
55 |
-
| 0.
|
56 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
|
59 |
### Framework versions
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
5 |
+
- image-classification
|
6 |
+
- vision
|
7 |
- generated_from_trainer
|
8 |
metrics:
|
9 |
- f1
|
|
|
17 |
|
18 |
# donut-base-beans
|
19 |
|
20 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.0548
|
23 |
+
- F1: 0.3303
|
24 |
|
25 |
## Model description
|
26 |
|
|
|
45 |
- seed: 1337
|
46 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 10.0
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
+
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|
53 |
+
|:-------------:|:-----:|:-----:|:--------:|:---------------:|
|
54 |
+
| 0.0769 | 1.0 | 6733 | 0.4973 | 0.0657 |
|
55 |
+
| 0.0729 | 2.0 | 13466 | 0.4973 | 0.0613 |
|
56 |
+
| 0.0564 | 3.0 | 20199 | 0.4973 | 0.0621 |
|
57 |
+
| 0.0534 | 4.0 | 26932 | 0.4973 | 0.0572 |
|
58 |
+
| 0.0511 | 5.0 | 33665 | 0.4973 | 0.0562 |
|
59 |
+
| 0.0659 | 6.0 | 40398 | 0.4973 | 0.0577 |
|
60 |
+
| 0.0623 | 7.0 | 47131 | 0.4973 | 0.0567 |
|
61 |
+
| 0.0575 | 8.0 | 53864 | 0.4973 | 0.0555 |
|
62 |
+
| 0.048 | 9.0 | 60597 | 0.4973 | 0.0548 |
|
63 |
+
| 0.0389 | 10.0 | 67330 | 0.4973 | 0.0548 |
|
64 |
|
65 |
|
66 |
### Framework versions
|
all_results.json
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
|
|
13 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_accuracy": 0.49727767695099817,
|
4 |
+
"eval_f1": 0.33031292965957215,
|
5 |
+
"eval_loss": 0.05480470508337021,
|
6 |
+
"eval_runtime": 512.1974,
|
7 |
+
"eval_samples_per_second": 74.227,
|
8 |
+
"eval_steps_per_second": 4.641,
|
9 |
+
"total_flos": 1.6694802102985576e+20,
|
10 |
+
"train_loss": 0.0,
|
11 |
+
"train_runtime": 0.0767,
|
12 |
+
"train_samples_per_second": 28073613.463,
|
13 |
+
"train_steps_per_second": 877361.502
|
14 |
}
|
config.json
CHANGED
@@ -1,15 +1,10 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
-
"add_fpn": false,
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
"attention_probs_dropout_prob": 0.0,
|
8 |
-
"
|
9 |
-
"auxiliary_concat_input": false,
|
10 |
-
"auxiliary_loss_weight": 0.4,
|
11 |
-
"auxiliary_num_convs": 1,
|
12 |
-
"drop_path_rate": 0.1,
|
13 |
"finetuning_task": "image-classification",
|
14 |
"hidden_act": "gelu",
|
15 |
"hidden_dropout_prob": 0.0,
|
@@ -24,48 +19,13 @@
|
|
24 |
"Value(dtype='int64', id=None)": "0"
|
25 |
},
|
26 |
"layer_norm_eps": 1e-12,
|
27 |
-
"
|
28 |
-
"model_type": "beit",
|
29 |
"num_attention_heads": 12,
|
30 |
"num_channels": 3,
|
31 |
"num_hidden_layers": 12,
|
32 |
-
"out_features": [
|
33 |
-
"stage12"
|
34 |
-
],
|
35 |
-
"out_indices": [
|
36 |
-
12
|
37 |
-
],
|
38 |
"patch_size": 16,
|
39 |
-
"
|
40 |
-
|
41 |
-
2,
|
42 |
-
3,
|
43 |
-
6
|
44 |
-
],
|
45 |
-
"reshape_hidden_states": true,
|
46 |
-
"semantic_loss_ignore_index": 255,
|
47 |
-
"stage_names": [
|
48 |
-
"stem",
|
49 |
-
"stage1",
|
50 |
-
"stage2",
|
51 |
-
"stage3",
|
52 |
-
"stage4",
|
53 |
-
"stage5",
|
54 |
-
"stage6",
|
55 |
-
"stage7",
|
56 |
-
"stage8",
|
57 |
-
"stage9",
|
58 |
-
"stage10",
|
59 |
-
"stage11",
|
60 |
-
"stage12"
|
61 |
-
],
|
62 |
"torch_dtype": "float32",
|
63 |
-
"transformers_version": "4.43.0.dev0"
|
64 |
-
"use_absolute_position_embeddings": false,
|
65 |
-
"use_auxiliary_head": true,
|
66 |
-
"use_mask_token": false,
|
67 |
-
"use_mean_pooling": true,
|
68 |
-
"use_relative_position_bias": true,
|
69 |
-
"use_shared_relative_position_bias": false,
|
70 |
-
"vocab_size": 8192
|
71 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224-in21k",
|
|
|
3 |
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
|
|
|
|
|
|
|
|
8 |
"finetuning_task": "image-classification",
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.0,
|
|
|
19 |
"Value(dtype='int64', id=None)": "0"
|
20 |
},
|
21 |
"layer_norm_eps": 1e-12,
|
22 |
+
"model_type": "vit",
|
|
|
23 |
"num_attention_heads": 12,
|
24 |
"num_channels": 3,
|
25 |
"num_hidden_layers": 12,
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
"patch_size": 16,
|
27 |
+
"problem_type": "regression",
|
28 |
+
"qkv_bias": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.43.0.dev0"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
}
|
eval_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_f1": 0.
|
4 |
-
"eval_loss": 0.
|
5 |
-
"eval_runtime":
|
6 |
-
"eval_samples_per_second":
|
7 |
-
"eval_steps_per_second":
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"eval_f1": 0.33031292965957215,
|
4 |
+
"eval_loss": 0.05480470508337021,
|
5 |
+
"eval_runtime": 512.1974,
|
6 |
+
"eval_samples_per_second": 74.227,
|
7 |
+
"eval_steps_per_second": 4.641
|
8 |
}
|
model.safetensors
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:2561cfd7419a353fba1d1368529d633d6fb11d901bddcfe413ee3478cec81425
|
3 |
+
size 343220892
|
preprocessor_config.json
CHANGED
@@ -1,11 +1,5 @@
|
|
1 |
{
|
2 |
-
"crop_size": {
|
3 |
-
"height": 224,
|
4 |
-
"width": 224
|
5 |
-
},
|
6 |
-
"do_center_crop": false,
|
7 |
"do_normalize": true,
|
8 |
-
"do_reduce_labels": false,
|
9 |
"do_rescale": true,
|
10 |
"do_resize": true,
|
11 |
"image_mean": [
|
@@ -13,7 +7,7 @@
|
|
13 |
0.5,
|
14 |
0.5
|
15 |
],
|
16 |
-
"image_processor_type": "
|
17 |
"image_std": [
|
18 |
0.5,
|
19 |
0.5,
|
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
2 |
"do_normalize": true,
|
|
|
3 |
"do_rescale": true,
|
4 |
"do_resize": true,
|
5 |
"image_mean": [
|
|
|
7 |
0.5,
|
8 |
0.5
|
9 |
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
"image_std": [
|
12 |
0.5,
|
13 |
0.5,
|
train_results.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"total_flos":
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
-
"train_samples_per_second":
|
7 |
-
"train_steps_per_second":
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 10.0,
|
3 |
+
"total_flos": 1.6694802102985576e+20,
|
4 |
+
"train_loss": 0.0,
|
5 |
+
"train_runtime": 0.0767,
|
6 |
+
"train_samples_per_second": 28073613.463,
|
7 |
+
"train_steps_per_second": 877361.502
|
8 |
}
|
trainer_state.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5304
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7d8a6f533c72550417f1e253380ae12ad72153532482192012f764515f190bbf
|
3 |
size 5304
|