Kennedy wambugu commited on
Commit
311a821
·
verified ·
1 Parent(s): bb1d283

Upload ViTForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +4 -4
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "google/vit-base-patch16-224",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
@@ -7,7 +7,7 @@
7
  "encoder_stride": 16,
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.0,
10
- "hidden_size": 768,
11
  "id2label": {
12
  "0": "Corn___Common_Rust",
13
  "1": "Corn___Gray_Leaf_Spot",
@@ -25,7 +25,7 @@
25
  },
26
  "image_size": 224,
27
  "initializer_range": 0.02,
28
- "intermediate_size": 3072,
29
  "label2id": {
30
  "Corn___Common_Rust": "0",
31
  "Corn___Gray_Leaf_Spot": "1",
@@ -43,7 +43,7 @@
43
  },
44
  "layer_norm_eps": 1e-12,
45
  "model_type": "vit",
46
- "num_attention_heads": 12,
47
  "num_channels": 3,
48
  "num_hidden_layers": 12,
49
  "patch_size": 16,
 
1
  {
2
+ "_name_or_path": "WinKawaks/vit-tiny-patch16-224",
3
  "architectures": [
4
  "ViTForImageClassification"
5
  ],
 
7
  "encoder_stride": 16,
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 192,
11
  "id2label": {
12
  "0": "Corn___Common_Rust",
13
  "1": "Corn___Gray_Leaf_Spot",
 
25
  },
26
  "image_size": 224,
27
  "initializer_range": 0.02,
28
+ "intermediate_size": 768,
29
  "label2id": {
30
  "Corn___Common_Rust": "0",
31
  "Corn___Gray_Leaf_Spot": "1",
 
43
  },
44
  "layer_norm_eps": 1e-12,
45
  "model_type": "vit",
46
+ "num_attention_heads": 3,
47
  "num_channels": 3,
48
  "num_hidden_layers": 12,
49
  "patch_size": 16,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:177ca2ffc86b628d58b456194e5362d72d7c96945e5ddec24e21bbae3ed62d25
3
- size 343257812
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f91c9032e290d145bec27d8b82439bc9ea189f4c72923740daf4113990314b2
3
+ size 22130420