T-music commited on
Commit
95eb73f
1 Parent(s): 9d466b4

Upload ViTForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +46 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-large-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": 1024,
11
+ "id2label": {
12
+ "0": "actinic keratosis",
13
+ "1": "basal cell carcinoma",
14
+ "2": "dermatofibroma",
15
+ "3": "melanoma",
16
+ "4": "nevus",
17
+ "5": "pigmented benign keratosis",
18
+ "6": "seborrheic keratosis",
19
+ "7": "squamous cell carcinoma",
20
+ "8": "vascular lesion"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 4096,
25
+ "label2id": {
26
+ "actinic keratosis": "0",
27
+ "basal cell carcinoma": "1",
28
+ "dermatofibroma": "2",
29
+ "melanoma": "3",
30
+ "nevus": "4",
31
+ "pigmented benign keratosis": "5",
32
+ "seborrheic keratosis": "6",
33
+ "squamous cell carcinoma": "7",
34
+ "vascular lesion": "8"
35
+ },
36
+ "layer_norm_eps": 1e-12,
37
+ "model_type": "vit",
38
+ "num_attention_heads": 16,
39
+ "num_channels": 3,
40
+ "num_hidden_layers": 24,
41
+ "patch_size": 16,
42
+ "problem_type": "single_label_classification",
43
+ "qkv_bias": true,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.31.0"
46
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbc9dc4d0a05ea336343875a05c16f1ed334a312449829c63fa4f661f41b67bb
3
+ size 1213377325