hf-transformers-bot commited on
Commit
6e3776a
·
verified ·
1 Parent(s): 35d9061

Update tiny models for Tipsv2VisionModel

Browse files
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "apply_layernorm": true,
3
+ "architectures": [
4
+ "Tipsv2VisionModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "drop_path_rate": 0.0,
8
+ "dtype": "float32",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 16,
12
+ "image_size": 28,
13
+ "initializer_range": 0.02,
14
+ "layer_norm_eps": 1e-06,
15
+ "layerscale_value": 1.0,
16
+ "mlp_ratio": 2,
17
+ "model_type": "tipsv2_vision_model",
18
+ "num_attention_heads": 4,
19
+ "num_channels": 3,
20
+ "num_hidden_layers": 2,
21
+ "num_register_tokens": 1,
22
+ "out_features": [
23
+ "stage2"
24
+ ],
25
+ "out_indices": [
26
+ 2
27
+ ],
28
+ "patch_size": 14,
29
+ "qkv_bias": true,
30
+ "reshape_hidden_states": true,
31
+ "stage_names": [
32
+ "stem",
33
+ "stage1",
34
+ "stage2"
35
+ ],
36
+ "transformers_version": "5.16.0.dev0",
37
+ "use_swiglu_ffn": false
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b59f33e8201f6a4c9a23b17789faf1455b44d180e908e57dce80dfa6721f1533
3
+ size 59352
preprocessor_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 28,
4
+ "width": 28
5
+ },
6
+ "do_convert_rgb": true,
7
+ "do_normalize": false,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "image_processor_type": "Tipsv2ImageProcessor",
11
+ "resample": 2,
12
+ "rescale_factor": 0.00392156862745098,
13
+ "size": {
14
+ "height": 28,
15
+ "width": 28
16
+ }
17
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": null,
4
+ "do_lower_case": true,
5
+ "eos_token": null,
6
+ "extra_special_tokens": [
7
+ "<pad>",
8
+ "</s>",
9
+ "<s>"
10
+ ],
11
+ "is_local": true,
12
+ "local_files_only": false,
13
+ "model_max_length": 64,
14
+ "pad_token": "<pad>",
15
+ "processor_class": "Tipsv2Processor",
16
+ "token_type_ids_pattern": "all_zeros",
17
+ "tokenizer_class": "Tipsv2Tokenizer",
18
+ "unk_token": "<unk>"
19
+ }