Narsil HF staff commited on
Commit
60eb087
1 Parent(s): cee68b6

Clone of `tiny-random-beit` with matching config params.

Browse files
Files changed (4) hide show
  1. README.md +4 -0
  2. config.json +24 -0
  3. preprocessor_config.json +11 -0
  4. pytorch_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ ---
2
+ pipeline_tag: image-segmentation
3
+ ---
4
+ Make the feature_extractor and model config agree.
config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attention_probs_dropout_prob": 0.1,
3
+ "drop_path_rate": 0.1,
4
+ "hidden_act": "gelu",
5
+ "hidden_dropout_prob": 0.1,
6
+ "hidden_size": 32,
7
+ "image_size": 30,
8
+ "initializer_range": 0.02,
9
+ "intermediate_size": 37,
10
+ "layer_norm_eps": 1e-12,
11
+ "layer_scale_init_value": 0.1,
12
+ "model_type": "beit",
13
+ "num_attention_heads": 4,
14
+ "num_channels": 3,
15
+ "num_hidden_layers": 5,
16
+ "patch_size": 2,
17
+ "transformers_version": "4.11.0.dev0",
18
+ "use_absolute_position_embeddings": false,
19
+ "use_mask_token": false,
20
+ "use_mean_pooling": true,
21
+ "use_relative_position_bias": false,
22
+ "use_shared_relative_position_bias": false,
23
+ "vocab_size": {}
24
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
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": [0.5, 0.5, 0.5],
8
+ "image_std": [0.5, 0.5, 0.5],
9
+ "resample": 2,
10
+ "size": 30
11
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a3df7348a9a4b895daa2c7fedb8360a124d6fabc891357d794e0a55cae0c564
3
+ size 166801