STEM-AI-mtl commited on
Commit
c20912e
1 Parent(s): 030b5a2

Upload ViTForImageClassification

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