saltacc commited on
Commit
be4d9c3
1 Parent(s): c5ed4fa

Upload BeitForImageClassification

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