Amanaccessassist
commited on
Commit
•
8746290
1
Parent(s):
1dc8edf
End of training
Browse files- README.md +80 -0
- all_results.json +13 -0
- config.json +44 -0
- eval_results.json +8 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/Mar14_05-27-08_d0d63f61dcf5/events.out.tfevents.1710394030.d0d63f61dcf5.34.0 +3 -0
- runs/Mar14_05-27-08_d0d63f61dcf5/events.out.tfevents.1710395211.d0d63f61dcf5.34.1 +3 -0
- train_results.json +8 -0
- trainer_state.json +518 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/vit-base-patch16-224-in21k
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: finetuned-mango-types
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# finetuned-mango-types
|
17 |
+
|
18 |
+
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.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.5751
|
21 |
+
- Accuracy: 0.9292
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 2e-05
|
41 |
+
- train_batch_size: 64
|
42 |
+
- eval_batch_size: 64
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 20
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
53 |
+
| 1.9926 | 1.0 | 22 | 1.9526 | 0.3833 |
|
54 |
+
| 1.7976 | 2.0 | 44 | 1.7500 | 0.6083 |
|
55 |
+
| 1.5678 | 3.0 | 66 | 1.5025 | 0.7583 |
|
56 |
+
| 1.3907 | 4.0 | 88 | 1.2804 | 0.9 |
|
57 |
+
| 1.0873 | 5.0 | 110 | 1.1005 | 0.9042 |
|
58 |
+
| 0.9511 | 6.0 | 132 | 1.0130 | 0.8875 |
|
59 |
+
| 0.8476 | 7.0 | 154 | 0.9424 | 0.8833 |
|
60 |
+
| 0.7511 | 8.0 | 176 | 0.8325 | 0.9042 |
|
61 |
+
| 0.6985 | 9.0 | 198 | 0.7894 | 0.9083 |
|
62 |
+
| 0.6515 | 10.0 | 220 | 0.8052 | 0.8792 |
|
63 |
+
| 0.5775 | 11.0 | 242 | 0.7600 | 0.8792 |
|
64 |
+
| 0.5458 | 12.0 | 264 | 0.6684 | 0.925 |
|
65 |
+
| 0.5331 | 13.0 | 286 | 0.7148 | 0.8917 |
|
66 |
+
| 0.4823 | 14.0 | 308 | 0.6849 | 0.9125 |
|
67 |
+
| 0.4579 | 15.0 | 330 | 0.6414 | 0.9167 |
|
68 |
+
| 0.4435 | 16.0 | 352 | 0.6557 | 0.8833 |
|
69 |
+
| 0.4411 | 17.0 | 374 | 0.5968 | 0.9083 |
|
70 |
+
| 0.453 | 18.0 | 396 | 0.5751 | 0.9292 |
|
71 |
+
| 0.445 | 19.0 | 418 | 0.6035 | 0.9083 |
|
72 |
+
| 0.4357 | 20.0 | 440 | 0.6010 | 0.9083 |
|
73 |
+
|
74 |
+
|
75 |
+
### Framework versions
|
76 |
+
|
77 |
+
- Transformers 4.38.1
|
78 |
+
- Pytorch 2.1.2
|
79 |
+
- Datasets 2.1.0
|
80 |
+
- Tokenizers 0.15.2
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 20.0,
|
3 |
+
"eval_accuracy": 0.9291666666666667,
|
4 |
+
"eval_loss": 0.5750909447669983,
|
5 |
+
"eval_runtime": 3.1695,
|
6 |
+
"eval_samples_per_second": 75.721,
|
7 |
+
"eval_steps_per_second": 1.262,
|
8 |
+
"total_flos": 2.1078954658234368e+18,
|
9 |
+
"train_loss": 0.8308919093825601,
|
10 |
+
"train_runtime": 956.1106,
|
11 |
+
"train_samples_per_second": 28.449,
|
12 |
+
"train_steps_per_second": 0.46
|
13 |
+
}
|
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "Anwar Ratool",
|
13 |
+
"1": "Chaunsa (Black)",
|
14 |
+
"2": "Chaunsa (Summer Bahisht)",
|
15 |
+
"3": "Chaunsa (White)",
|
16 |
+
"4": "Dosehri",
|
17 |
+
"5": "Fajri",
|
18 |
+
"6": "Langra",
|
19 |
+
"7": "Sindhri"
|
20 |
+
},
|
21 |
+
"image_size": 224,
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 3072,
|
24 |
+
"label2id": {
|
25 |
+
"Anwar Ratool": 0,
|
26 |
+
"Chaunsa (Black)": 1,
|
27 |
+
"Chaunsa (Summer Bahisht)": 2,
|
28 |
+
"Chaunsa (White)": 3,
|
29 |
+
"Dosehri": 4,
|
30 |
+
"Fajri": 5,
|
31 |
+
"Langra": 6,
|
32 |
+
"Sindhri": 7
|
33 |
+
},
|
34 |
+
"layer_norm_eps": 1e-12,
|
35 |
+
"model_type": "vit",
|
36 |
+
"num_attention_heads": 12,
|
37 |
+
"num_channels": 3,
|
38 |
+
"num_hidden_layers": 12,
|
39 |
+
"patch_size": 16,
|
40 |
+
"problem_type": "single_label_classification",
|
41 |
+
"qkv_bias": true,
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.38.1"
|
44 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 20.0,
|
3 |
+
"eval_accuracy": 0.9291666666666667,
|
4 |
+
"eval_loss": 0.5750909447669983,
|
5 |
+
"eval_runtime": 3.1695,
|
6 |
+
"eval_samples_per_second": 75.721,
|
7 |
+
"eval_steps_per_second": 1.262
|
8 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b0520d4583711008615362b2e06a6a6222b0613eea6dd169166f4790509fd13f
|
3 |
+
size 343242432
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTFeatureExtractor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
runs/Mar14_05-27-08_d0d63f61dcf5/events.out.tfevents.1710394030.d0d63f61dcf5.34.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cd413b4696c6c32617f6451fe9ac155d73608e83cea4c5b3e1e84c81c2c38b0
|
3 |
+
size 20901
|
runs/Mar14_05-27-08_d0d63f61dcf5/events.out.tfevents.1710395211.d0d63f61dcf5.34.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b421efa28664de9667c9c6c538c8497d924b7b406bda95addaceaf18a152c545
|
3 |
+
size 411
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 20.0,
|
3 |
+
"total_flos": 2.1078954658234368e+18,
|
4 |
+
"train_loss": 0.8308919093825601,
|
5 |
+
"train_runtime": 956.1106,
|
6 |
+
"train_samples_per_second": 28.449,
|
7 |
+
"train_steps_per_second": 0.46
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,518 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.5750909447669983,
|
3 |
+
"best_model_checkpoint": "finetuned-mango-types/checkpoint-396",
|
4 |
+
"epoch": 20.0,
|
5 |
+
"eval_steps": 100,
|
6 |
+
"global_step": 440,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.45,
|
13 |
+
"grad_norm": 60231.65234375,
|
14 |
+
"learning_rate": 1.9545454545454546e-05,
|
15 |
+
"loss": 2.0767,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.91,
|
20 |
+
"grad_norm": 64952.8828125,
|
21 |
+
"learning_rate": 1.9090909090909094e-05,
|
22 |
+
"loss": 1.9926,
|
23 |
+
"step": 20
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 1.0,
|
27 |
+
"eval_accuracy": 0.38333333333333336,
|
28 |
+
"eval_loss": 1.9525998830795288,
|
29 |
+
"eval_runtime": 3.0528,
|
30 |
+
"eval_samples_per_second": 78.616,
|
31 |
+
"eval_steps_per_second": 1.31,
|
32 |
+
"step": 22
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 1.36,
|
36 |
+
"grad_norm": 80774.6875,
|
37 |
+
"learning_rate": 1.8636363636363638e-05,
|
38 |
+
"loss": 1.8898,
|
39 |
+
"step": 30
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 1.82,
|
43 |
+
"grad_norm": 85769.2890625,
|
44 |
+
"learning_rate": 1.8181818181818182e-05,
|
45 |
+
"loss": 1.7976,
|
46 |
+
"step": 40
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 2.0,
|
50 |
+
"eval_accuracy": 0.6083333333333333,
|
51 |
+
"eval_loss": 1.7500048875808716,
|
52 |
+
"eval_runtime": 3.0095,
|
53 |
+
"eval_samples_per_second": 79.749,
|
54 |
+
"eval_steps_per_second": 1.329,
|
55 |
+
"step": 44
|
56 |
+
},
|
57 |
+
{
|
58 |
+
"epoch": 2.27,
|
59 |
+
"grad_norm": 89406.2109375,
|
60 |
+
"learning_rate": 1.772727272727273e-05,
|
61 |
+
"loss": 1.684,
|
62 |
+
"step": 50
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 2.73,
|
66 |
+
"grad_norm": 100806.59375,
|
67 |
+
"learning_rate": 1.7272727272727274e-05,
|
68 |
+
"loss": 1.5678,
|
69 |
+
"step": 60
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 3.0,
|
73 |
+
"eval_accuracy": 0.7583333333333333,
|
74 |
+
"eval_loss": 1.502477765083313,
|
75 |
+
"eval_runtime": 3.0462,
|
76 |
+
"eval_samples_per_second": 78.787,
|
77 |
+
"eval_steps_per_second": 1.313,
|
78 |
+
"step": 66
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"epoch": 3.18,
|
82 |
+
"grad_norm": 100292.0,
|
83 |
+
"learning_rate": 1.681818181818182e-05,
|
84 |
+
"loss": 1.4796,
|
85 |
+
"step": 70
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 3.64,
|
89 |
+
"grad_norm": 116212.53125,
|
90 |
+
"learning_rate": 1.6363636363636366e-05,
|
91 |
+
"loss": 1.3907,
|
92 |
+
"step": 80
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 4.0,
|
96 |
+
"eval_accuracy": 0.9,
|
97 |
+
"eval_loss": 1.280394196510315,
|
98 |
+
"eval_runtime": 3.0736,
|
99 |
+
"eval_samples_per_second": 78.084,
|
100 |
+
"eval_steps_per_second": 1.301,
|
101 |
+
"step": 88
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 4.09,
|
105 |
+
"grad_norm": 110518.28125,
|
106 |
+
"learning_rate": 1.590909090909091e-05,
|
107 |
+
"loss": 1.245,
|
108 |
+
"step": 90
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 4.55,
|
112 |
+
"grad_norm": 108781.6015625,
|
113 |
+
"learning_rate": 1.5454545454545454e-05,
|
114 |
+
"loss": 1.1536,
|
115 |
+
"step": 100
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 5.0,
|
119 |
+
"grad_norm": 215031.46875,
|
120 |
+
"learning_rate": 1.5000000000000002e-05,
|
121 |
+
"loss": 1.0873,
|
122 |
+
"step": 110
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 5.0,
|
126 |
+
"eval_accuracy": 0.9041666666666667,
|
127 |
+
"eval_loss": 1.1004973649978638,
|
128 |
+
"eval_runtime": 3.2979,
|
129 |
+
"eval_samples_per_second": 72.773,
|
130 |
+
"eval_steps_per_second": 1.213,
|
131 |
+
"step": 110
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 5.45,
|
135 |
+
"grad_norm": 134639.890625,
|
136 |
+
"learning_rate": 1.4545454545454546e-05,
|
137 |
+
"loss": 1.0071,
|
138 |
+
"step": 120
|
139 |
+
},
|
140 |
+
{
|
141 |
+
"epoch": 5.91,
|
142 |
+
"grad_norm": 167596.140625,
|
143 |
+
"learning_rate": 1.4090909090909092e-05,
|
144 |
+
"loss": 0.9511,
|
145 |
+
"step": 130
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"epoch": 6.0,
|
149 |
+
"eval_accuracy": 0.8875,
|
150 |
+
"eval_loss": 1.0129581689834595,
|
151 |
+
"eval_runtime": 3.0931,
|
152 |
+
"eval_samples_per_second": 77.592,
|
153 |
+
"eval_steps_per_second": 1.293,
|
154 |
+
"step": 132
|
155 |
+
},
|
156 |
+
{
|
157 |
+
"epoch": 6.36,
|
158 |
+
"grad_norm": 161001.609375,
|
159 |
+
"learning_rate": 1.3636363636363637e-05,
|
160 |
+
"loss": 0.9019,
|
161 |
+
"step": 140
|
162 |
+
},
|
163 |
+
{
|
164 |
+
"epoch": 6.82,
|
165 |
+
"grad_norm": 152811.796875,
|
166 |
+
"learning_rate": 1.3181818181818183e-05,
|
167 |
+
"loss": 0.8476,
|
168 |
+
"step": 150
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"epoch": 7.0,
|
172 |
+
"eval_accuracy": 0.8833333333333333,
|
173 |
+
"eval_loss": 0.9424096941947937,
|
174 |
+
"eval_runtime": 3.1124,
|
175 |
+
"eval_samples_per_second": 77.112,
|
176 |
+
"eval_steps_per_second": 1.285,
|
177 |
+
"step": 154
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 7.27,
|
181 |
+
"grad_norm": 165279.65625,
|
182 |
+
"learning_rate": 1.2727272727272728e-05,
|
183 |
+
"loss": 0.7811,
|
184 |
+
"step": 160
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 7.73,
|
188 |
+
"grad_norm": 132651.1875,
|
189 |
+
"learning_rate": 1.2272727272727274e-05,
|
190 |
+
"loss": 0.7511,
|
191 |
+
"step": 170
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 8.0,
|
195 |
+
"eval_accuracy": 0.9041666666666667,
|
196 |
+
"eval_loss": 0.8324654698371887,
|
197 |
+
"eval_runtime": 3.1226,
|
198 |
+
"eval_samples_per_second": 76.86,
|
199 |
+
"eval_steps_per_second": 1.281,
|
200 |
+
"step": 176
|
201 |
+
},
|
202 |
+
{
|
203 |
+
"epoch": 8.18,
|
204 |
+
"grad_norm": 133902.6875,
|
205 |
+
"learning_rate": 1.181818181818182e-05,
|
206 |
+
"loss": 0.7406,
|
207 |
+
"step": 180
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 8.64,
|
211 |
+
"grad_norm": 122836.96875,
|
212 |
+
"learning_rate": 1.1363636363636366e-05,
|
213 |
+
"loss": 0.6985,
|
214 |
+
"step": 190
|
215 |
+
},
|
216 |
+
{
|
217 |
+
"epoch": 9.0,
|
218 |
+
"eval_accuracy": 0.9083333333333333,
|
219 |
+
"eval_loss": 0.7894275784492493,
|
220 |
+
"eval_runtime": 3.163,
|
221 |
+
"eval_samples_per_second": 75.877,
|
222 |
+
"eval_steps_per_second": 1.265,
|
223 |
+
"step": 198
|
224 |
+
},
|
225 |
+
{
|
226 |
+
"epoch": 9.09,
|
227 |
+
"grad_norm": 134674.1875,
|
228 |
+
"learning_rate": 1.0909090909090909e-05,
|
229 |
+
"loss": 0.6442,
|
230 |
+
"step": 200
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 9.55,
|
234 |
+
"grad_norm": 170883.515625,
|
235 |
+
"learning_rate": 1.0454545454545455e-05,
|
236 |
+
"loss": 0.6472,
|
237 |
+
"step": 210
|
238 |
+
},
|
239 |
+
{
|
240 |
+
"epoch": 10.0,
|
241 |
+
"grad_norm": 244726.8125,
|
242 |
+
"learning_rate": 1e-05,
|
243 |
+
"loss": 0.6515,
|
244 |
+
"step": 220
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"epoch": 10.0,
|
248 |
+
"eval_accuracy": 0.8791666666666667,
|
249 |
+
"eval_loss": 0.8052219748497009,
|
250 |
+
"eval_runtime": 3.1419,
|
251 |
+
"eval_samples_per_second": 76.386,
|
252 |
+
"eval_steps_per_second": 1.273,
|
253 |
+
"step": 220
|
254 |
+
},
|
255 |
+
{
|
256 |
+
"epoch": 10.45,
|
257 |
+
"grad_norm": 184393.625,
|
258 |
+
"learning_rate": 9.545454545454547e-06,
|
259 |
+
"loss": 0.6142,
|
260 |
+
"step": 230
|
261 |
+
},
|
262 |
+
{
|
263 |
+
"epoch": 10.91,
|
264 |
+
"grad_norm": 132595.8125,
|
265 |
+
"learning_rate": 9.090909090909091e-06,
|
266 |
+
"loss": 0.5775,
|
267 |
+
"step": 240
|
268 |
+
},
|
269 |
+
{
|
270 |
+
"epoch": 11.0,
|
271 |
+
"eval_accuracy": 0.8791666666666667,
|
272 |
+
"eval_loss": 0.7600470781326294,
|
273 |
+
"eval_runtime": 3.2066,
|
274 |
+
"eval_samples_per_second": 74.845,
|
275 |
+
"eval_steps_per_second": 1.247,
|
276 |
+
"step": 242
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"epoch": 11.36,
|
280 |
+
"grad_norm": 131146.15625,
|
281 |
+
"learning_rate": 8.636363636363637e-06,
|
282 |
+
"loss": 0.5393,
|
283 |
+
"step": 250
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"epoch": 11.82,
|
287 |
+
"grad_norm": 191549.59375,
|
288 |
+
"learning_rate": 8.181818181818183e-06,
|
289 |
+
"loss": 0.5458,
|
290 |
+
"step": 260
|
291 |
+
},
|
292 |
+
{
|
293 |
+
"epoch": 12.0,
|
294 |
+
"eval_accuracy": 0.925,
|
295 |
+
"eval_loss": 0.6684209108352661,
|
296 |
+
"eval_runtime": 3.1291,
|
297 |
+
"eval_samples_per_second": 76.699,
|
298 |
+
"eval_steps_per_second": 1.278,
|
299 |
+
"step": 264
|
300 |
+
},
|
301 |
+
{
|
302 |
+
"epoch": 12.27,
|
303 |
+
"grad_norm": 97074.78125,
|
304 |
+
"learning_rate": 7.727272727272727e-06,
|
305 |
+
"loss": 0.5246,
|
306 |
+
"step": 270
|
307 |
+
},
|
308 |
+
{
|
309 |
+
"epoch": 12.73,
|
310 |
+
"grad_norm": 125002.2109375,
|
311 |
+
"learning_rate": 7.272727272727273e-06,
|
312 |
+
"loss": 0.5331,
|
313 |
+
"step": 280
|
314 |
+
},
|
315 |
+
{
|
316 |
+
"epoch": 13.0,
|
317 |
+
"eval_accuracy": 0.8916666666666667,
|
318 |
+
"eval_loss": 0.7147873044013977,
|
319 |
+
"eval_runtime": 3.1553,
|
320 |
+
"eval_samples_per_second": 76.061,
|
321 |
+
"eval_steps_per_second": 1.268,
|
322 |
+
"step": 286
|
323 |
+
},
|
324 |
+
{
|
325 |
+
"epoch": 13.18,
|
326 |
+
"grad_norm": 191931.578125,
|
327 |
+
"learning_rate": 6.818181818181818e-06,
|
328 |
+
"loss": 0.4916,
|
329 |
+
"step": 290
|
330 |
+
},
|
331 |
+
{
|
332 |
+
"epoch": 13.64,
|
333 |
+
"grad_norm": 200110.078125,
|
334 |
+
"learning_rate": 6.363636363636364e-06,
|
335 |
+
"loss": 0.4823,
|
336 |
+
"step": 300
|
337 |
+
},
|
338 |
+
{
|
339 |
+
"epoch": 14.0,
|
340 |
+
"eval_accuracy": 0.9125,
|
341 |
+
"eval_loss": 0.6849376559257507,
|
342 |
+
"eval_runtime": 3.143,
|
343 |
+
"eval_samples_per_second": 76.361,
|
344 |
+
"eval_steps_per_second": 1.273,
|
345 |
+
"step": 308
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 14.09,
|
349 |
+
"grad_norm": 147656.59375,
|
350 |
+
"learning_rate": 5.90909090909091e-06,
|
351 |
+
"loss": 0.4584,
|
352 |
+
"step": 310
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 14.55,
|
356 |
+
"grad_norm": 149433.0625,
|
357 |
+
"learning_rate": 5.4545454545454545e-06,
|
358 |
+
"loss": 0.4763,
|
359 |
+
"step": 320
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 15.0,
|
363 |
+
"grad_norm": 169986.890625,
|
364 |
+
"learning_rate": 5e-06,
|
365 |
+
"loss": 0.4579,
|
366 |
+
"step": 330
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"epoch": 15.0,
|
370 |
+
"eval_accuracy": 0.9166666666666666,
|
371 |
+
"eval_loss": 0.6413583755493164,
|
372 |
+
"eval_runtime": 3.1496,
|
373 |
+
"eval_samples_per_second": 76.2,
|
374 |
+
"eval_steps_per_second": 1.27,
|
375 |
+
"step": 330
|
376 |
+
},
|
377 |
+
{
|
378 |
+
"epoch": 15.45,
|
379 |
+
"grad_norm": 128090.9921875,
|
380 |
+
"learning_rate": 4.5454545454545455e-06,
|
381 |
+
"loss": 0.4544,
|
382 |
+
"step": 340
|
383 |
+
},
|
384 |
+
{
|
385 |
+
"epoch": 15.91,
|
386 |
+
"grad_norm": 114307.015625,
|
387 |
+
"learning_rate": 4.0909090909090915e-06,
|
388 |
+
"loss": 0.4435,
|
389 |
+
"step": 350
|
390 |
+
},
|
391 |
+
{
|
392 |
+
"epoch": 16.0,
|
393 |
+
"eval_accuracy": 0.8833333333333333,
|
394 |
+
"eval_loss": 0.6557222008705139,
|
395 |
+
"eval_runtime": 3.3456,
|
396 |
+
"eval_samples_per_second": 71.737,
|
397 |
+
"eval_steps_per_second": 1.196,
|
398 |
+
"step": 352
|
399 |
+
},
|
400 |
+
{
|
401 |
+
"epoch": 16.36,
|
402 |
+
"grad_norm": 153500.765625,
|
403 |
+
"learning_rate": 3.6363636363636366e-06,
|
404 |
+
"loss": 0.4625,
|
405 |
+
"step": 360
|
406 |
+
},
|
407 |
+
{
|
408 |
+
"epoch": 16.82,
|
409 |
+
"grad_norm": 231700.671875,
|
410 |
+
"learning_rate": 3.181818181818182e-06,
|
411 |
+
"loss": 0.4411,
|
412 |
+
"step": 370
|
413 |
+
},
|
414 |
+
{
|
415 |
+
"epoch": 17.0,
|
416 |
+
"eval_accuracy": 0.9083333333333333,
|
417 |
+
"eval_loss": 0.5968121886253357,
|
418 |
+
"eval_runtime": 3.1534,
|
419 |
+
"eval_samples_per_second": 76.108,
|
420 |
+
"eval_steps_per_second": 1.268,
|
421 |
+
"step": 374
|
422 |
+
},
|
423 |
+
{
|
424 |
+
"epoch": 17.27,
|
425 |
+
"grad_norm": 209887.0625,
|
426 |
+
"learning_rate": 2.7272727272727272e-06,
|
427 |
+
"loss": 0.4593,
|
428 |
+
"step": 380
|
429 |
+
},
|
430 |
+
{
|
431 |
+
"epoch": 17.73,
|
432 |
+
"grad_norm": 160558.59375,
|
433 |
+
"learning_rate": 2.2727272727272728e-06,
|
434 |
+
"loss": 0.453,
|
435 |
+
"step": 390
|
436 |
+
},
|
437 |
+
{
|
438 |
+
"epoch": 18.0,
|
439 |
+
"eval_accuracy": 0.9291666666666667,
|
440 |
+
"eval_loss": 0.5750909447669983,
|
441 |
+
"eval_runtime": 3.2046,
|
442 |
+
"eval_samples_per_second": 74.892,
|
443 |
+
"eval_steps_per_second": 1.248,
|
444 |
+
"step": 396
|
445 |
+
},
|
446 |
+
{
|
447 |
+
"epoch": 18.18,
|
448 |
+
"grad_norm": 147230.578125,
|
449 |
+
"learning_rate": 1.8181818181818183e-06,
|
450 |
+
"loss": 0.4292,
|
451 |
+
"step": 400
|
452 |
+
},
|
453 |
+
{
|
454 |
+
"epoch": 18.64,
|
455 |
+
"grad_norm": 208387.1875,
|
456 |
+
"learning_rate": 1.3636363636363636e-06,
|
457 |
+
"loss": 0.445,
|
458 |
+
"step": 410
|
459 |
+
},
|
460 |
+
{
|
461 |
+
"epoch": 19.0,
|
462 |
+
"eval_accuracy": 0.9083333333333333,
|
463 |
+
"eval_loss": 0.6034529209136963,
|
464 |
+
"eval_runtime": 3.1393,
|
465 |
+
"eval_samples_per_second": 76.45,
|
466 |
+
"eval_steps_per_second": 1.274,
|
467 |
+
"step": 418
|
468 |
+
},
|
469 |
+
{
|
470 |
+
"epoch": 19.09,
|
471 |
+
"grad_norm": 142534.578125,
|
472 |
+
"learning_rate": 9.090909090909091e-07,
|
473 |
+
"loss": 0.4364,
|
474 |
+
"step": 420
|
475 |
+
},
|
476 |
+
{
|
477 |
+
"epoch": 19.55,
|
478 |
+
"grad_norm": 190416.796875,
|
479 |
+
"learning_rate": 4.5454545454545457e-07,
|
480 |
+
"loss": 0.4115,
|
481 |
+
"step": 430
|
482 |
+
},
|
483 |
+
{
|
484 |
+
"epoch": 20.0,
|
485 |
+
"grad_norm": 414293.15625,
|
486 |
+
"learning_rate": 0.0,
|
487 |
+
"loss": 0.4357,
|
488 |
+
"step": 440
|
489 |
+
},
|
490 |
+
{
|
491 |
+
"epoch": 20.0,
|
492 |
+
"eval_accuracy": 0.9083333333333333,
|
493 |
+
"eval_loss": 0.6010429263114929,
|
494 |
+
"eval_runtime": 3.1505,
|
495 |
+
"eval_samples_per_second": 76.178,
|
496 |
+
"eval_steps_per_second": 1.27,
|
497 |
+
"step": 440
|
498 |
+
},
|
499 |
+
{
|
500 |
+
"epoch": 20.0,
|
501 |
+
"step": 440,
|
502 |
+
"total_flos": 2.1078954658234368e+18,
|
503 |
+
"train_loss": 0.8308919093825601,
|
504 |
+
"train_runtime": 956.1106,
|
505 |
+
"train_samples_per_second": 28.449,
|
506 |
+
"train_steps_per_second": 0.46
|
507 |
+
}
|
508 |
+
],
|
509 |
+
"logging_steps": 10,
|
510 |
+
"max_steps": 440,
|
511 |
+
"num_input_tokens_seen": 0,
|
512 |
+
"num_train_epochs": 20,
|
513 |
+
"save_steps": 100,
|
514 |
+
"total_flos": 2.1078954658234368e+18,
|
515 |
+
"train_batch_size": 64,
|
516 |
+
"trial_name": null,
|
517 |
+
"trial_params": null
|
518 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c98fb6598c655ca9cfefd9b4e1d701306aacf843bb827d1b5a746acf92a6adf
|
3 |
+
size 4920
|