Shresthadev403
commited on
Commit
•
f3f0070
1
Parent(s):
e3a2a00
End of training
Browse files- README.md +14 -13
- config.json +1 -1
- model.safetensors +1 -1
- runs/Feb05_03-08-58_983d148b451b/events.out.tfevents.1707102539.983d148b451b.26.0 +3 -0
- trainer_state.json +21 -19
- training_args.bin +2 -2
README.md
CHANGED
@@ -3,6 +3,8 @@ license: apache-2.0
|
|
3 |
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
model-index:
|
7 |
- name: food-image-classification
|
8 |
results: []
|
@@ -13,15 +15,15 @@ should probably proofread and complete it, then remove this comment. -->
|
|
13 |
|
14 |
# food-image-classification
|
15 |
|
16 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on
|
17 |
It achieves the following results on the evaluation set:
|
18 |
-
- eval_loss: 4.
|
19 |
-
- eval_accuracy: 0.
|
20 |
-
- eval_runtime:
|
21 |
-
- eval_samples_per_second:
|
22 |
-
- eval_steps_per_second: 6.
|
23 |
-
- epoch:
|
24 |
-
- step:
|
25 |
|
26 |
## Model description
|
27 |
|
@@ -49,12 +51,11 @@ The following hyperparameters were used during training:
|
|
49 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
- lr_scheduler_type: linear
|
51 |
- lr_scheduler_warmup_ratio: 0.1
|
52 |
-
- num_epochs:
|
53 |
-
- mixed_precision_training: Native AMP
|
54 |
|
55 |
### Framework versions
|
56 |
|
57 |
-
- Transformers 4.
|
58 |
-
- Pytorch 2.1.
|
59 |
-
- Datasets 2.
|
60 |
- Tokenizers 0.15.1
|
|
|
3 |
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- food101
|
8 |
model-index:
|
9 |
- name: food-image-classification
|
10 |
results: []
|
|
|
15 |
|
16 |
# food-image-classification
|
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 the food101 dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- eval_loss: 4.5759
|
21 |
+
- eval_accuracy: 0.0349
|
22 |
+
- eval_runtime: 157.053
|
23 |
+
- eval_samples_per_second: 96.464
|
24 |
+
- eval_steps_per_second: 6.03
|
25 |
+
- epoch: 1.06
|
26 |
+
- step: 1000
|
27 |
|
28 |
## Model description
|
29 |
|
|
|
51 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
- lr_scheduler_type: linear
|
53 |
- lr_scheduler_warmup_ratio: 0.1
|
54 |
+
- num_epochs: 500
|
|
|
55 |
|
56 |
### Framework versions
|
57 |
|
58 |
+
- Transformers 4.37.0
|
59 |
+
- Pytorch 2.1.2
|
60 |
+
- Datasets 2.1.0
|
61 |
- Tokenizers 0.15.1
|
config.json
CHANGED
@@ -226,5 +226,5 @@
|
|
226 |
"problem_type": "single_label_classification",
|
227 |
"qkv_bias": true,
|
228 |
"torch_dtype": "float32",
|
229 |
-
"transformers_version": "4.
|
230 |
}
|
|
|
226 |
"problem_type": "single_label_classification",
|
227 |
"qkv_bias": true,
|
228 |
"torch_dtype": "float32",
|
229 |
+
"transformers_version": "4.37.0"
|
230 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343528508
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4eabec32f0ba76003916089cd24abcbfceda6bc9f6dbc42c9f42b2fc063a8f2e
|
3 |
size 343528508
|
runs/Feb05_03-08-58_983d148b451b/events.out.tfevents.1707102539.983d148b451b.26.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8637b62b758fd8d7af76bf6901bf4667283d0e4976458e3bb304993167e435a2
|
3 |
+
size 9781
|
trainer_state.json
CHANGED
@@ -1,34 +1,36 @@
|
|
1 |
{
|
2 |
"best_metric": null,
|
3 |
"best_model_checkpoint": null,
|
4 |
-
"epoch":
|
5 |
-
"eval_steps":
|
6 |
-
"global_step":
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
10 |
"log_history": [
|
11 |
{
|
12 |
-
"epoch":
|
13 |
-
"learning_rate": 1.
|
14 |
-
"loss": 4.
|
15 |
-
"step":
|
16 |
},
|
17 |
{
|
18 |
-
"epoch":
|
19 |
-
"eval_accuracy": 0.
|
20 |
-
"eval_loss": 4.
|
21 |
-
"eval_runtime":
|
22 |
-
"eval_samples_per_second":
|
23 |
-
"eval_steps_per_second": 6.
|
24 |
-
"step":
|
25 |
}
|
26 |
],
|
27 |
-
"logging_steps":
|
28 |
-
"max_steps":
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
|
|
|
|
32 |
"trial_name": null,
|
33 |
"trial_params": null
|
34 |
}
|
|
|
1 |
{
|
2 |
"best_metric": null,
|
3 |
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0559662090813093,
|
5 |
+
"eval_steps": 1000,
|
6 |
+
"global_step": 1000,
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
10 |
"log_history": [
|
11 |
{
|
12 |
+
"epoch": 1.06,
|
13 |
+
"learning_rate": 1.0559662090813095e-06,
|
14 |
+
"loss": 4.6112,
|
15 |
+
"step": 1000
|
16 |
},
|
17 |
{
|
18 |
+
"epoch": 1.06,
|
19 |
+
"eval_accuracy": 0.034851485148514855,
|
20 |
+
"eval_loss": 4.575930118560791,
|
21 |
+
"eval_runtime": 157.053,
|
22 |
+
"eval_samples_per_second": 96.464,
|
23 |
+
"eval_steps_per_second": 6.03,
|
24 |
+
"step": 1000
|
25 |
}
|
26 |
],
|
27 |
+
"logging_steps": 1000,
|
28 |
+
"max_steps": 473500,
|
29 |
+
"num_input_tokens_seen": 0,
|
30 |
+
"num_train_epochs": 500,
|
31 |
+
"save_steps": 1000,
|
32 |
+
"total_flos": 4.963267430656819e+18,
|
33 |
+
"train_batch_size": 16,
|
34 |
"trial_name": null,
|
35 |
"trial_params": null
|
36 |
}
|
training_args.bin
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:1ca936ea37d67465f6b7da7602257a39b9b8d2060f5086611932979851932935
|
3 |
+
size 4728
|