Mo0310 commited on
Commit
2a91392
1 Parent(s): 470067d

Upload ViTForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +41 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ViTForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "decoder_hidden_size": 512,
7
+ "decoder_intermediate_size": 2048,
8
+ "decoder_num_attention_heads": 16,
9
+ "decoder_num_hidden_layers": 8,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.0,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "Basophil",
15
+ "1": "Eosinophil",
16
+ "2": "Lymphocyte",
17
+ "3": "Monocyte",
18
+ "4": "Neutrophil"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "Basophil": 0,
25
+ "Eosinophil": 1,
26
+ "Lymphocyte": 2,
27
+ "Monocyte": 3,
28
+ "Neutrophil": 4
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "mask_ratio": 0.75,
32
+ "model_type": "vit_mae",
33
+ "norm_pix_loss": false,
34
+ "num_attention_heads": 12,
35
+ "num_channels": 3,
36
+ "num_hidden_layers": 12,
37
+ "patch_size": 16,
38
+ "qkv_bias": true,
39
+ "torch_dtype": "float32",
40
+ "transformers_version": "4.34.1"
41
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f41868f9b04bc7c743142d8f8f94217dc8a28f1b57482c0a1d7603f52069b63
3
+ size 343277933