vuongnhathien commited on
Commit
93dbd1e
1 Parent(s): 0c8a4ac

my_awesome_food_model/test-10-image

Browse files
Files changed (2) hide show
  1. README.md +18 -12
  2. model.safetensors +1 -1
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: my_awesome_food_model
8
  results: []
@@ -15,13 +17,8 @@ should probably proofread and complete it, then remove this comment. -->
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 an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - eval_loss: 4.5844
19
- - eval_accuracy: 0.0223
20
- - eval_runtime: 157.6185
21
- - eval_samples_per_second: 96.118
22
- - eval_steps_per_second: 0.755
23
- - epoch: 1.0
24
- - step: 118
25
 
26
  ## Model description
27
 
@@ -41,19 +38,28 @@ More information needed
41
 
42
  The following hyperparameters were used during training:
43
  - learning_rate: 5e-05
44
- - train_batch_size: 128
45
- - eval_batch_size: 128
46
  - seed: 42
47
  - gradient_accumulation_steps: 4
48
- - total_train_batch_size: 512
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: 30
 
 
 
 
 
 
 
 
 
53
 
54
  ### Framework versions
55
 
56
  - Transformers 4.39.3
57
- - Pytorch 2.1.2
58
  - Datasets 2.18.0
59
  - Tokenizers 0.15.2
 
3
  base_model: google/vit-base-patch16-224-in21k
4
  tags:
5
  - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
  model-index:
9
  - name: my_awesome_food_model
10
  results: []
 
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: 4.5151
21
+ - Accuracy: 0.0
 
 
 
 
 
22
 
23
  ## Model description
24
 
 
38
 
39
  The following hyperparameters were used during training:
40
  - learning_rate: 5e-05
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
  - seed: 42
44
  - gradient_accumulation_steps: 4
45
+ - total_train_batch_size: 64
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
+ | No log | 1.0 | 1 | 4.7400 | 0.0 |
56
+ | No log | 2.0 | 2 | 4.5670 | 0.0 |
57
+ | No log | 3.0 | 3 | 4.5151 | 0.0 |
58
+
59
 
60
  ### Framework versions
61
 
62
  - Transformers 4.39.3
63
+ - Pytorch 2.1.2+cpu
64
  - Datasets 2.18.0
65
  - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:02ebfdda8f585d693f0d6759a61eeeefd9c10b2d4ed8b81be64db4da8d600f09
3
  size 343528508
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09678eb45766da3591c88252b0766c7348813d59b5d78845cb12ec666dbf6a5e
3
  size 343528508