Xenova HF Staff commited on
Commit
a38894c
·
verified ·
1 Parent(s): 28e992c

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +62 -0
  2. onnx/model.onnx +3 -0
  3. preprocessor_config.json +28 -0
config.json ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "hf-internal-testing/tiny-random-BeitModel",
4
+ "add_fpn": false,
5
+ "architectures": [
6
+ "BeitModel"
7
+ ],
8
+ "attention_probs_dropout_prob": 0.1,
9
+ "auxiliary_channels": 256,
10
+ "auxiliary_concat_input": false,
11
+ "auxiliary_loss_weight": 0.4,
12
+ "auxiliary_num_convs": 1,
13
+ "drop_path_rate": 0.1,
14
+ "hidden_act": "gelu",
15
+ "hidden_dropout_prob": 0.1,
16
+ "hidden_size": 32,
17
+ "image_size": 30,
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 37,
20
+ "layer_norm_eps": 1e-12,
21
+ "layer_scale_init_value": 0.1,
22
+ "model_type": "beit",
23
+ "num_attention_heads": 4,
24
+ "num_channels": 3,
25
+ "num_hidden_layers": 4,
26
+ "out_features": [
27
+ "stem",
28
+ "stage1",
29
+ "stage2",
30
+ "stage3"
31
+ ],
32
+ "out_indices": [
33
+ 0,
34
+ 1,
35
+ 2,
36
+ 3
37
+ ],
38
+ "patch_size": 2,
39
+ "pool_scales": [
40
+ 1,
41
+ 2,
42
+ 3,
43
+ 6
44
+ ],
45
+ "reshape_hidden_states": true,
46
+ "semantic_loss_ignore_index": 255,
47
+ "stage_names": [
48
+ "stem",
49
+ "stage1",
50
+ "stage2",
51
+ "stage3",
52
+ "stage4"
53
+ ],
54
+ "transformers_version": "4.48.2",
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": false,
60
+ "use_shared_relative_position_bias": false,
61
+ "vocab_size": 100
62
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e21851b850622052eeef5e9de38bf22a173dd235daafaccdda73f21939e7d601
3
+ size 196524
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 30,
4
+ "width": 30
5
+ },
6
+ "do_center_crop": true,
7
+ "do_normalize": true,
8
+ "do_reduce_labels": false,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "image_processor_type": "BeitFeatureExtractor",
17
+ "image_std": [
18
+ 0.5,
19
+ 0.5,
20
+ 0.5
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "height": 30,
26
+ "width": 30
27
+ }
28
+ }