SajjadAlam commited on
Commit
971ecd5
1 Parent(s): d2c27a9

Upload BeitForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +72 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/beit-base-patch16-224-pt22k",
3
+ "architectures": [
4
+ "BeitForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "auxiliary_channels": 256,
8
+ "auxiliary_concat_input": false,
9
+ "auxiliary_loss_weight": 0.4,
10
+ "auxiliary_num_convs": 1,
11
+ "drop_path_rate": 0.1,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.0,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "LABEL_0",
17
+ "1": "LABEL_1",
18
+ "2": "LABEL_2",
19
+ "3": "LABEL_3",
20
+ "4": "LABEL_4",
21
+ "5": "LABEL_5",
22
+ "6": "LABEL_6",
23
+ "7": "LABEL_7",
24
+ "8": "LABEL_8",
25
+ "9": "LABEL_9"
26
+ },
27
+ "image_size": 224,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 3072,
30
+ "label2id": {
31
+ "LABEL_0": 0,
32
+ "LABEL_1": 1,
33
+ "LABEL_2": 2,
34
+ "LABEL_3": 3,
35
+ "LABEL_4": 4,
36
+ "LABEL_5": 5,
37
+ "LABEL_6": 6,
38
+ "LABEL_7": 7,
39
+ "LABEL_8": 8,
40
+ "LABEL_9": 9
41
+ },
42
+ "layer_norm_eps": 1e-12,
43
+ "layer_scale_init_value": 0.1,
44
+ "model_type": "beit",
45
+ "num_attention_heads": 12,
46
+ "num_channels": 3,
47
+ "num_hidden_layers": 12,
48
+ "out_indices": [
49
+ 3,
50
+ 5,
51
+ 7,
52
+ 11
53
+ ],
54
+ "patch_size": 16,
55
+ "pool_scales": [
56
+ 1,
57
+ 2,
58
+ 3,
59
+ 6
60
+ ],
61
+ "problem_type": "single_label_classification",
62
+ "semantic_loss_ignore_index": 255,
63
+ "torch_dtype": "float32",
64
+ "transformers_version": "4.25.1",
65
+ "use_absolute_position_embeddings": false,
66
+ "use_auxiliary_head": true,
67
+ "use_mask_token": true,
68
+ "use_mean_pooling": true,
69
+ "use_relative_position_bias": false,
70
+ "use_shared_relative_position_bias": true,
71
+ "vocab_size": 8192
72
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6c1ad26cd33ec5a098c1b35874232c156fceef758aab5368907a9dac1a0fe616
3
+ size 343075237