Mo0310 commited on
Commit
d7afc1c
1 Parent(s): bb093a5

Upload ViTForImageClassification

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