matteopilotto commited on
Commit
74a0a56
1 Parent(s): af7bf68

Add fine-tuned ViT files

Browse files
Files changed (2) hide show
  1. config.json +68 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "apple",
13
+ "1": "banana",
14
+ "2": "cake",
15
+ "3": "candy",
16
+ "4": "carrot",
17
+ "5": "cookie",
18
+ "6": "doughnut",
19
+ "7": "grape",
20
+ "8": "hot dog",
21
+ "9": "ice cream",
22
+ "10": "juice",
23
+ "11": "muffin",
24
+ "12": "orange",
25
+ "13": "pineapple",
26
+ "14": "popcorn",
27
+ "15": "pretzel",
28
+ "16": "salad",
29
+ "17": "strawberry",
30
+ "18": "waffle",
31
+ "19": "watermelon"
32
+ },
33
+ "image_size": 224,
34
+ "initializer_range": 0.02,
35
+ "intermediate_size": 3072,
36
+ "label2id": {
37
+ "apple": 0,
38
+ "banana": 1,
39
+ "cake": 2,
40
+ "candy": 3,
41
+ "carrot": 4,
42
+ "cookie": 5,
43
+ "doughnut": 6,
44
+ "grape": 7,
45
+ "hot dog": 8,
46
+ "ice cream": 9,
47
+ "juice": 10,
48
+ "muffin": 11,
49
+ "orange": 12,
50
+ "pineapple": 13,
51
+ "popcorn": 14,
52
+ "pretzel": 15,
53
+ "salad": 16,
54
+ "strawberry": 17,
55
+ "waffle": 18,
56
+ "watermelon": 19
57
+ },
58
+ "layer_norm_eps": 1e-12,
59
+ "model_type": "vit",
60
+ "num_attention_heads": 12,
61
+ "num_channels": 3,
62
+ "num_hidden_layers": 12,
63
+ "patch_size": 16,
64
+ "problem_type": "single_label_classification",
65
+ "qkv_bias": true,
66
+ "torch_dtype": "float32",
67
+ "transformers_version": "4.19.1"
68
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:564b95d5067bf66e4f3d8dcebbbc0b106c4d2f6d9c20eb7e041da50947c0b8d6
3
+ size 343322353