Shresthadev403 commited on
Commit
d0ed784
1 Parent(s): 58fbb0f

End of training

Browse files
README.md CHANGED
@@ -1,10 +1,6 @@
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: food-image-classification
10
  results: []
@@ -15,10 +11,15 @@ should probably proofread and complete it, then remove this comment. -->
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 an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 1.6353
21
- - Accuracy: 0.891
 
 
 
 
 
22
 
23
  ## Model description
24
 
@@ -46,16 +47,7 @@ The following hyperparameters were used during training:
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: linear
48
  - lr_scheduler_warmup_ratio: 0.1
49
- - num_epochs: 3
50
-
51
- ### Training results
52
-
53
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
54
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
55
- | 2.706 | 0.99 | 62 | 2.5318 | 0.832 |
56
- | 1.8596 | 2.0 | 125 | 1.8008 | 0.873 |
57
- | 1.6006 | 2.98 | 186 | 1.6353 | 0.891 |
58
-
59
 
60
  ### Framework versions
61
 
 
1
  ---
 
 
2
  tags:
3
  - generated_from_trainer
 
 
4
  model-index:
5
  - name: food-image-classification
6
  results: []
 
11
 
12
  # food-image-classification
13
 
14
+ This model was trained from scratch on an unknown dataset.
15
  It achieves the following results on the evaluation set:
16
+ - eval_loss: 1.6239
17
+ - eval_accuracy: 0.889
18
+ - eval_runtime: 15.4204
19
+ - eval_samples_per_second: 64.849
20
+ - eval_steps_per_second: 4.085
21
+ - epoch: 0.16
22
+ - step: 10
23
 
24
  ## Model description
25
 
 
47
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
  - lr_scheduler_type: linear
49
  - lr_scheduler_warmup_ratio: 0.1
50
+ - num_epochs: 5
 
 
 
 
 
 
 
 
 
51
 
52
  ### Framework versions
53
 
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224-in21k",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
1
  {
2
+ "_name_or_path": "/content/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:b68126e92e80cce80b0382f788adf00b96eba459c7cbc75c4a34c4ce006ed41d
3
  size 343528508
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61232a5c671227f482ab55cfa03487da624786f4fb0cabe828f1ae2287d73e38
3
  size 343528508
runs/Feb04_06-57-31_0bc3247a45bd/events.out.tfevents.1707029852.0bc3247a45bd.819.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b02c89672a56006d43733685440ad45ae60baef2ccef132ff3bd2ef735075754
3
+ size 9230
runs/Feb04_07-08-00_0bc3247a45bd/events.out.tfevents.1707030481.0bc3247a45bd.819.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:128fbfd596f0e298f510f84a16a3705cd7e9d3557f1575bd6aaa899482e9b93c
3
+ size 9846
runs/Feb04_07-22-55_0bc3247a45bd/events.out.tfevents.1707031376.0bc3247a45bd.819.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8068d2aa1650743e6fb7f978142028a3034f52513763f6780cbe989e40d12c89
3
+ size 9699
trainer_state.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.16,
5
+ "eval_steps": 10,
6
+ "global_step": 10,
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.16,
13
+ "learning_rate": 1.6129032258064517e-05,
14
+ "loss": 1.5807,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.16,
19
+ "eval_accuracy": 0.889,
20
+ "eval_loss": 1.6238535642623901,
21
+ "eval_runtime": 15.4204,
22
+ "eval_samples_per_second": 64.849,
23
+ "eval_steps_per_second": 4.085,
24
+ "step": 10
25
+ }
26
+ ],
27
+ "logging_steps": 10,
28
+ "max_steps": 310,
29
+ "num_train_epochs": 5,
30
+ "save_steps": 500,
31
+ "total_flos": 4.9638879166464e+16,
32
+ "trial_name": null,
33
+ "trial_params": null
34
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b63b1a788f0095faa410d90a92aa35a6a58af4d1ad05d53431ef5bc2878e3f46
3
  size 4600
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acef5c93ba342252b268b9013a40d50d329bbe50e1a0a135a0e8029a3284d5e8
3
  size 4600