Docty commited on
Commit
30a8532
·
verified ·
1 Parent(s): 85fc15d

Upload TFViTForImageClassification

Browse files
Files changed (3) hide show
  1. README.md +19 -10
  2. config.json +1 -1
  3. tf_model.h5 +1 -1
README.md CHANGED
@@ -16,10 +16,10 @@ probably proofread and complete it, then remove this comment. -->
16
 
17
  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.
18
  It achieves the following results on the evaluation set:
19
- - Train Loss: 2.0418
20
- - Validation Loss: 2.0389
21
- - Train Accuracy: 0.2121
22
- - Epoch: 0
23
 
24
  ## Model description
25
 
@@ -38,19 +38,28 @@ More information needed
38
  ### Training hyperparameters
39
 
40
  The following hyperparameters were used during training:
41
- - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 3e-05, 'decay_steps': 1, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
42
  - training_precision: float32
43
 
44
  ### Training results
45
 
46
  | Train Loss | Validation Loss | Train Accuracy | Epoch |
47
  |:----------:|:---------------:|:--------------:|:-----:|
48
- | 2.0418 | 2.0389 | 0.2121 | 0 |
 
 
 
 
 
 
 
 
 
49
 
50
 
51
  ### Framework versions
52
 
53
- - Transformers 4.45.1
54
- - TensorFlow 2.16.1
55
- - Datasets 3.0.1
56
- - Tokenizers 0.20.0
 
16
 
17
  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.
18
  It achieves the following results on the evaluation set:
19
+ - Train Loss: 1.9897
20
+ - Validation Loss: 1.9904
21
+ - Train Accuracy: 0.3905
22
+ - Epoch: 9
23
 
24
  ## Model description
25
 
 
38
  ### Training hyperparameters
39
 
40
  The following hyperparameters were used during training:
41
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': {'module': 'keras.optimizers.schedules', 'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 3e-05, 'decay_steps': 10, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, 'registered_name': None}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}
42
  - training_precision: float32
43
 
44
  ### Training results
45
 
46
  | Train Loss | Validation Loss | Train Accuracy | Epoch |
47
  |:----------:|:---------------:|:--------------:|:-----:|
48
+ | 1.9904 | 1.9904 | 0.3905 | 0 |
49
+ | 1.9894 | 1.9904 | 0.3905 | 1 |
50
+ | 1.9898 | 1.9904 | 0.3905 | 2 |
51
+ | 1.9897 | 1.9904 | 0.3905 | 3 |
52
+ | 1.9897 | 1.9904 | 0.3905 | 4 |
53
+ | 1.9901 | 1.9904 | 0.3905 | 5 |
54
+ | 1.9897 | 1.9904 | 0.3905 | 6 |
55
+ | 1.9897 | 1.9904 | 0.3905 | 7 |
56
+ | 1.9902 | 1.9904 | 0.3905 | 8 |
57
+ | 1.9897 | 1.9904 | 0.3905 | 9 |
58
 
59
 
60
  ### Framework versions
61
 
62
+ - Transformers 4.46.2
63
+ - TensorFlow 2.17.1
64
+ - Datasets 3.1.0
65
+ - Tokenizers 0.20.3
config.json CHANGED
@@ -38,5 +38,5 @@
38
  "num_hidden_layers": 12,
39
  "patch_size": 16,
40
  "qkv_bias": true,
41
- "transformers_version": "4.45.1"
42
  }
 
38
  "num_hidden_layers": 12,
39
  "patch_size": 16,
40
  "qkv_bias": true,
41
+ "transformers_version": "4.46.2"
42
  }
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:784b8ea0f4f1a3f56670fdcda0eba3678897a31db465c643aa3678f16cab1e12
3
  size 343488184
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0be1776dca95ebe0fb6bf9f2be8cd755333093b9b7ad9a7b9b4395c14224a85f
3
  size 343488184