hf-transformers-bot commited on
Commit
74ef4d1
·
verified ·
1 Parent(s): afa3600

Update tiny models for SiglipVisionModel

Browse files
config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SiglipVisionModel"
4
+ ],
5
+ "attention_dropout": 0.1,
6
+ "dropout": 0.1,
7
+ "dtype": "float32",
8
+ "hidden_act": "gelu_pytorch_tanh",
9
+ "hidden_size": 64,
10
+ "image_size": 4,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 37,
13
+ "layer_norm_eps": 1e-06,
14
+ "model_type": "siglip_vision_model",
15
+ "num_attention_heads": 2,
16
+ "num_channels": 3,
17
+ "num_hidden_layers": 2,
18
+ "patch_size": 2,
19
+ "transformers_version": "5.16.0.dev0"
20
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c5919b4c92875e3841d422affbbb4a8cca0b3089143358588f7236d6fb41215
3
+ size 269980
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 4,
4
+ "width": 4
5
+ },
6
+ "do_convert_rgb": true,
7
+ "do_normalize": true,
8
+ "do_rescale": true,
9
+ "do_resize": true,
10
+ "image_mean": [
11
+ 0.5,
12
+ 0.5,
13
+ 0.5
14
+ ],
15
+ "image_processor_type": "SiglipImageProcessor",
16
+ "image_std": [
17
+ 0.5,
18
+ 0.5,
19
+ 0.5
20
+ ],
21
+ "resample": 3,
22
+ "rescale_factor": 0.00392156862745098,
23
+ "size": {
24
+ "height": 4,
25
+ "width": 4
26
+ }
27
+ }
spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e5036bed065526c3c212dfbe288752391797c4bb1a284aa18c9a0b23fcaf8ec
3
+ size 798330
tokenizer_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "1": {
4
+ "content": "</s>",
5
+ "lstrip": true,
6
+ "normalized": false,
7
+ "rstrip": true,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "2": {
12
+ "content": "<unk>",
13
+ "lstrip": true,
14
+ "normalized": false,
15
+ "rstrip": true,
16
+ "single_word": false,
17
+ "special": true
18
+ }
19
+ },
20
+ "additional_special_tokens": null,
21
+ "backend": "sentencepiece",
22
+ "clean_up_tokenization_spaces": true,
23
+ "do_lower_case": true,
24
+ "eos_token": "</s>",
25
+ "extra_special_tokens": [],
26
+ "is_local": false,
27
+ "local_files_only": false,
28
+ "model_input_names": [
29
+ "input_ids"
30
+ ],
31
+ "model_max_length": 64,
32
+ "pad_token": "</s>",
33
+ "processor_class": "SiglipProcessor",
34
+ "sp_model_kwargs": {},
35
+ "tokenizer_class": "SiglipTokenizer",
36
+ "unk_token": "<unk>"
37
+ }