c14kevincardenas commited on
Commit
2a2c7b1
·
verified ·
1 Parent(s): 06d8082

Upload 2 files

Browse files
Files changed (2) hide show
  1. config.json +25 -0
  2. preprocessor_config.json +19 -0
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BeitForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "drop_path_rate": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.0,
9
+ "hidden_size": 768,
10
+ "layer_norm_eps": 1e-12,
11
+ "layer_scale_init_value": 0.1,
12
+ "model_type": "beit",
13
+ "num_attention_heads": 12,
14
+ "num_channels": 3,
15
+ "num_hidden_layers": 12,
16
+ "patch_size": 16,
17
+ "torch_dtype": "float32",
18
+ "transformers_version": "4.11.0.dev0",
19
+ "use_absolute_position_embeddings": false,
20
+ "use_mask_token": false,
21
+ "use_mean_pooling": true,
22
+ "use_relative_position_bias": true,
23
+ "use_shared_relative_position_bias": false,
24
+ "vocab_size": 8192
25
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 224,
3
+ "do_center_crop": false,
4
+ "do_normalize": true,
5
+ "do_resize": true,
6
+ "feature_extractor_type": "BeitFeatureExtractor",
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "size": 384
19
+ }