Shresthadev403
commited on
Commit
•
363b356
1
Parent(s):
681740d
End of training
Browse files- README.md +8 -10
- config.json +1 -1
- model.safetensors +1 -1
- runs/Feb06_02-52-53_2bd6d982b8e8/events.out.tfevents.1707187974.2bd6d982b8e8.26.0 +3 -0
- trainer_state.json +18 -3
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,6 +1,4 @@
|
|
1 |
---
|
2 |
-
license: apache-2.0
|
3 |
-
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
datasets:
|
@@ -15,15 +13,15 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# food-image-classification
|
17 |
|
18 |
-
This model
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- eval_loss: 0.
|
21 |
-
- eval_accuracy: 0.
|
22 |
-
- eval_runtime:
|
23 |
-
- eval_samples_per_second: 97.
|
24 |
-
- eval_steps_per_second: 6.
|
25 |
-
- epoch:
|
26 |
-
- step:
|
27 |
|
28 |
## Model description
|
29 |
|
|
|
1 |
---
|
|
|
|
|
2 |
tags:
|
3 |
- generated_from_trainer
|
4 |
datasets:
|
|
|
13 |
|
14 |
# food-image-classification
|
15 |
|
16 |
+
This model was trained from scratch on the food101 dataset.
|
17 |
It achieves the following results on the evaluation set:
|
18 |
+
- eval_loss: 0.3659
|
19 |
+
- eval_accuracy: 0.9097
|
20 |
+
- eval_runtime: 156.004
|
21 |
+
- eval_samples_per_second: 97.113
|
22 |
+
- eval_steps_per_second: 6.07
|
23 |
+
- epoch: 28.51
|
24 |
+
- step: 27000
|
25 |
|
26 |
## Model description
|
27 |
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/kaggle/working/food-image-classification",
|
3 |
"architectures": [
|
4 |
"ViTForImageClassification"
|
5 |
],
|
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:251fcbf6e7605b4ee58c3924bf67fb6ddb84419dbc30e38359f01a6f83b1ab59
|
3 |
size 343528508
|
runs/Feb06_02-52-53_2bd6d982b8e8/events.out.tfevents.1707187974.2bd6d982b8e8.26.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:150aa5e7070fa5179f81592f3ddf2a592cf124e80f29cc113aa3bff1acc19233
|
3 |
+
size 9892
|
trainer_state.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
"best_metric": 0.8201980198019801,
|
3 |
"best_model_checkpoint": "food-image-classification/checkpoint-22000",
|
4 |
-
"epoch":
|
5 |
"eval_steps": 1000,
|
6 |
-
"global_step":
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
@@ -397,6 +397,21 @@
|
|
397 |
"eval_samples_per_second": 97.316,
|
398 |
"eval_steps_per_second": 6.083,
|
399 |
"step": 26000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
400 |
}
|
401 |
],
|
402 |
"logging_steps": 1000,
|
@@ -404,7 +419,7 @@
|
|
404 |
"num_input_tokens_seen": 0,
|
405 |
"num_train_epochs": 500,
|
406 |
"save_steps": 1000,
|
407 |
-
"total_flos": 1.
|
408 |
"train_batch_size": 16,
|
409 |
"trial_name": null,
|
410 |
"trial_params": null
|
|
|
1 |
{
|
2 |
"best_metric": 0.8201980198019801,
|
3 |
"best_model_checkpoint": "food-image-classification/checkpoint-22000",
|
4 |
+
"epoch": 28.511087645195353,
|
5 |
"eval_steps": 1000,
|
6 |
+
"global_step": 27000,
|
7 |
"is_hyper_param_search": false,
|
8 |
"is_local_process_zero": true,
|
9 |
"is_world_process_zero": true,
|
|
|
397 |
"eval_samples_per_second": 97.316,
|
398 |
"eval_steps_per_second": 6.083,
|
399 |
"step": 26000
|
400 |
+
},
|
401 |
+
{
|
402 |
+
"epoch": 28.51,
|
403 |
+
"learning_rate": 1.0559662090813095e-06,
|
404 |
+
"loss": 0.3793,
|
405 |
+
"step": 27000
|
406 |
+
},
|
407 |
+
{
|
408 |
+
"epoch": 28.51,
|
409 |
+
"eval_accuracy": 0.9097029702970297,
|
410 |
+
"eval_loss": 0.3658629059791565,
|
411 |
+
"eval_runtime": 156.004,
|
412 |
+
"eval_samples_per_second": 97.113,
|
413 |
+
"eval_steps_per_second": 6.07,
|
414 |
+
"step": 27000
|
415 |
}
|
416 |
],
|
417 |
"logging_steps": 1000,
|
|
|
419 |
"num_input_tokens_seen": 0,
|
420 |
"num_train_epochs": 500,
|
421 |
"save_steps": 1000,
|
422 |
+
"total_flos": 1.3400760014174454e+20,
|
423 |
"train_batch_size": 16,
|
424 |
"trial_name": null,
|
425 |
"trial_params": null
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4728
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f8a37ebc9f8a7db96991654c4a507b38bb7567e2e95c295342026b885c6c5696
|
3 |
size 4728
|