🍻 cheers
Browse files- README.md +21 -2
- all_results.json +13 -0
- eval_results.json +8 -0
- runs/Jan02_11-14-03_fb4f47128231/events.out.tfevents.1735816934.fb4f47128231.572.5 +3 -0
- train_results.json +8 -0
- trainer_state.json +49 -0
README.md
CHANGED
@@ -3,12 +3,28 @@ library_name: transformers
|
|
3 |
license: apache-2.0
|
4 |
base_model: google/vit-base-patch16-224-in21k
|
5 |
tags:
|
|
|
6 |
- generated_from_trainer
|
7 |
datasets:
|
8 |
- imagefolder
|
|
|
|
|
9 |
model-index:
|
10 |
- name: run_name
|
11 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
---
|
13 |
|
14 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -16,7 +32,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# run_name
|
18 |
|
19 |
-
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
|
|
|
|
|
|
|
20 |
|
21 |
## Model description
|
22 |
|
|
|
3 |
license: apache-2.0
|
4 |
base_model: google/vit-base-patch16-224-in21k
|
5 |
tags:
|
6 |
+
- image-classification
|
7 |
- generated_from_trainer
|
8 |
datasets:
|
9 |
- imagefolder
|
10 |
+
metrics:
|
11 |
+
- accuracy
|
12 |
model-index:
|
13 |
- name: run_name
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Image Classification
|
17 |
+
type: image-classification
|
18 |
+
dataset:
|
19 |
+
name: indian_food_images
|
20 |
+
type: imagefolder
|
21 |
+
config: default
|
22 |
+
split: train
|
23 |
+
args: default
|
24 |
+
metrics:
|
25 |
+
- name: Accuracy
|
26 |
+
type: accuracy
|
27 |
+
value: 0.2
|
28 |
---
|
29 |
|
30 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
32 |
|
33 |
# run_name
|
34 |
|
35 |
+
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 indian_food_images dataset.
|
36 |
+
It achieves the following results on the evaluation set:
|
37 |
+
- Loss: 1.8473
|
38 |
+
- Accuracy: 0.2
|
39 |
|
40 |
## Model description
|
41 |
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_accuracy": 0.2,
|
4 |
+
"eval_loss": 1.847313642501831,
|
5 |
+
"eval_runtime": 9.2237,
|
6 |
+
"eval_samples_per_second": 0.542,
|
7 |
+
"eval_steps_per_second": 0.108,
|
8 |
+
"total_flos": 5812107581952000.0,
|
9 |
+
"train_loss": 1.651039759318034,
|
10 |
+
"train_runtime": 188.4907,
|
11 |
+
"train_samples_per_second": 0.398,
|
12 |
+
"train_steps_per_second": 0.064
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_accuracy": 0.2,
|
4 |
+
"eval_loss": 1.847313642501831,
|
5 |
+
"eval_runtime": 9.2237,
|
6 |
+
"eval_samples_per_second": 0.542,
|
7 |
+
"eval_steps_per_second": 0.108
|
8 |
+
}
|
runs/Jan02_11-14-03_fb4f47128231/events.out.tfevents.1735816934.fb4f47128231.572.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3755b74a4593cbcba2319c5f6d8daac52eb35c1212c3b4d749cf23f84123fedf
|
3 |
+
size 405
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"total_flos": 5812107581952000.0,
|
4 |
+
"train_loss": 1.651039759318034,
|
5 |
+
"train_runtime": 188.4907,
|
6 |
+
"train_samples_per_second": 0.398,
|
7 |
+
"train_steps_per_second": 0.064
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 100,
|
6 |
+
"global_step": 12,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 2.5,
|
13 |
+
"grad_norm": 2.4797427654266357,
|
14 |
+
"learning_rate": 8.333333333333334e-06,
|
15 |
+
"loss": 1.6763,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 3.0,
|
20 |
+
"step": 12,
|
21 |
+
"total_flos": 5812107581952000.0,
|
22 |
+
"train_loss": 1.651039759318034,
|
23 |
+
"train_runtime": 188.4907,
|
24 |
+
"train_samples_per_second": 0.398,
|
25 |
+
"train_steps_per_second": 0.064
|
26 |
+
}
|
27 |
+
],
|
28 |
+
"logging_steps": 10,
|
29 |
+
"max_steps": 12,
|
30 |
+
"num_input_tokens_seen": 0,
|
31 |
+
"num_train_epochs": 3,
|
32 |
+
"save_steps": 100,
|
33 |
+
"stateful_callbacks": {
|
34 |
+
"TrainerControl": {
|
35 |
+
"args": {
|
36 |
+
"should_epoch_stop": false,
|
37 |
+
"should_evaluate": false,
|
38 |
+
"should_log": false,
|
39 |
+
"should_save": true,
|
40 |
+
"should_training_stop": true
|
41 |
+
},
|
42 |
+
"attributes": {}
|
43 |
+
}
|
44 |
+
},
|
45 |
+
"total_flos": 5812107581952000.0,
|
46 |
+
"train_batch_size": 8,
|
47 |
+
"trial_name": null,
|
48 |
+
"trial_params": null
|
49 |
+
}
|