sngsfydy commited on
Commit
1967b7e
1 Parent(s): 391224b

Upload BeitForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +62 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/beit-base-patch16-224-pt22k-ft22k",
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": "0",
17
+ "1": "1",
18
+ "2": "2",
19
+ "3": "3",
20
+ "4": "4"
21
+ },
22
+ "image_size": 224,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 3072,
25
+ "label2id": {
26
+ "0": 0,
27
+ "1": 1,
28
+ "2": 2,
29
+ "3": 3,
30
+ "4": 4
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "layer_scale_init_value": 0.1,
34
+ "model_type": "beit",
35
+ "num_attention_heads": 12,
36
+ "num_channels": 3,
37
+ "num_hidden_layers": 12,
38
+ "out_indices": [
39
+ 3,
40
+ 5,
41
+ 7,
42
+ 11
43
+ ],
44
+ "patch_size": 16,
45
+ "pool_scales": [
46
+ 1,
47
+ 2,
48
+ 3,
49
+ 6
50
+ ],
51
+ "problem_type": "single_label_classification",
52
+ "semantic_loss_ignore_index": 255,
53
+ "torch_dtype": "float32",
54
+ "transformers_version": "4.33.1",
55
+ "use_absolute_position_embeddings": false,
56
+ "use_auxiliary_head": true,
57
+ "use_mask_token": false,
58
+ "use_mean_pooling": true,
59
+ "use_relative_position_bias": true,
60
+ "use_shared_relative_position_bias": false,
61
+ "vocab_size": 8192
62
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f344415963eca3c2a78734c165e5e087976764203d8247097ead6bc8e6a6356e
3
+ size 343139465