STEM-AI-mtl commited on
Commit
77025a4
1 Parent(s): 61df1e1

Upload ViTForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +118 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224",
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": "Seattle",
13
+ "1": "San_Francisco",
14
+ "2": "Venise",
15
+ "3": "Mumbai",
16
+ "4": "St-John",
17
+ "5": "Istanbul",
18
+ "6": "Charlottetown",
19
+ "7": "Miami",
20
+ "8": "Las_Vegas",
21
+ "9": "Toronto",
22
+ "10": "Cairo",
23
+ "11": "Edmonton",
24
+ "12": "Los_Angeles",
25
+ "13": "Barcelone",
26
+ "14": "Budapest",
27
+ "15": "Londres",
28
+ "16": "Singapore",
29
+ "17": "Chicago",
30
+ "18": "Quebec",
31
+ "19": "Stockholm",
32
+ "20": "Melbourne",
33
+ "21": "Zurich",
34
+ "22": "Calgary",
35
+ "23": "Dakar",
36
+ "24": "Boston",
37
+ "25": "Prague",
38
+ "26": "Dubai",
39
+ "27": "Philadelphie",
40
+ "28": "Vancouver",
41
+ "29": "New_York",
42
+ "30": "Winnipeg",
43
+ "31": "Fredericton",
44
+ "32": "Regina",
45
+ "33": "Tokyo",
46
+ "34": "Hong_Kong",
47
+ "35": "Washington",
48
+ "36": "Ottawa",
49
+ "37": "Sydney",
50
+ "38": "Oslo",
51
+ "39": "Dublin",
52
+ "40": "Paris",
53
+ "41": "Amsterdam",
54
+ "42": "Montreal",
55
+ "43": "Halifax",
56
+ "44": "Seoul"
57
+ },
58
+ "image_size": 224,
59
+ "initializer_range": 0.02,
60
+ "intermediate_size": 3072,
61
+ "label2id": {
62
+ "Amsterdam": 41,
63
+ "Barcelone": 13,
64
+ "Boston": 24,
65
+ "Budapest": 14,
66
+ "Cairo": 10,
67
+ "Calgary": 22,
68
+ "Charlottetown": 6,
69
+ "Chicago": 17,
70
+ "Dakar": 23,
71
+ "Dubai": 26,
72
+ "Dublin": 39,
73
+ "Edmonton": 11,
74
+ "Fredericton": 31,
75
+ "Halifax": 43,
76
+ "Hong_Kong": 34,
77
+ "Istanbul": 5,
78
+ "Las_Vegas": 8,
79
+ "Londres": 15,
80
+ "Los_Angeles": 12,
81
+ "Melbourne": 20,
82
+ "Miami": 7,
83
+ "Montreal": 42,
84
+ "Mumbai": 3,
85
+ "New_York": 29,
86
+ "Oslo": 38,
87
+ "Ottawa": 36,
88
+ "Paris": 40,
89
+ "Philadelphie": 27,
90
+ "Prague": 25,
91
+ "Quebec": 18,
92
+ "Regina": 32,
93
+ "San_Francisco": 1,
94
+ "Seattle": 0,
95
+ "Seoul": 44,
96
+ "Singapore": 16,
97
+ "St-John": 4,
98
+ "Stockholm": 19,
99
+ "Sydney": 37,
100
+ "Tokyo": 33,
101
+ "Toronto": 9,
102
+ "Vancouver": 28,
103
+ "Venise": 2,
104
+ "Washington": 35,
105
+ "Winnipeg": 30,
106
+ "Zurich": 21
107
+ },
108
+ "layer_norm_eps": 1e-12,
109
+ "model_type": "vit",
110
+ "num_attention_heads": 12,
111
+ "num_channels": 3,
112
+ "num_hidden_layers": 12,
113
+ "patch_size": 16,
114
+ "problem_type": "single_label_classification",
115
+ "qkv_bias": true,
116
+ "torch_dtype": "float32",
117
+ "transformers_version": "4.36.2"
118
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1a5547134ce458c6a05092bc439c3447d1cee652bb4489d375d6d9138cbb804
3
+ size 343356252