hf-transformers-bot HF Staff commited on
Commit
f3711a9
·
verified ·
1 Parent(s): 8866fc7

Update tiny models for SiglipModel

Browse files
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SiglipModel"
4
+ ],
5
+ "dtype": "float32",
6
+ "initializer_factor": 1.0,
7
+ "model_type": "siglip",
8
+ "text_config": {
9
+ "attention_dropout": 0.1,
10
+ "bos_token_id": 49406,
11
+ "dropout": 0.1,
12
+ "eos_token_id": 1,
13
+ "hidden_act": "gelu_pytorch_tanh",
14
+ "hidden_size": 64,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 37,
17
+ "layer_norm_eps": 1e-06,
18
+ "max_position_embeddings": 512,
19
+ "model_type": "siglip_text_model",
20
+ "num_attention_heads": 2,
21
+ "num_hidden_layers": 2,
22
+ "pad_token_id": 1,
23
+ "projection_size": 64,
24
+ "vocab_size": 32000
25
+ },
26
+ "transformers_version": "5.16.0.dev0",
27
+ "vision_config": {
28
+ "attention_dropout": 0.1,
29
+ "dropout": 0.1,
30
+ "hidden_act": "gelu_pytorch_tanh",
31
+ "hidden_size": 64,
32
+ "image_size": 4,
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": 37,
35
+ "layer_norm_eps": 1e-06,
36
+ "model_type": "siglip_vision_model",
37
+ "num_attention_heads": 2,
38
+ "num_channels": 3,
39
+ "num_hidden_layers": 2,
40
+ "patch_size": 2
41
+ }
42
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c2896248f3593b9de7d99056d0112571b8ff96848267225d51743baddbed5ed
3
+ size 8789204
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
+ }