This commit is contained in:
smthemex
2025-04-21 17:15:12 +08:00
committed by GitHub
parent c77746d7c0
commit f6c016f5f4
6 changed files with 128249 additions and 0 deletions
@@ -0,0 +1,25 @@
{
"architectures": [
"SiglipModel"
],
"initializer_factor": 1.0,
"model_type": "siglip",
"text_config": {
"hidden_size": 1152,
"intermediate_size": 4304,
"model_type": "siglip_text_model",
"num_attention_heads": 16,
"num_hidden_layers": 27
},
"torch_dtype": "float32",
"transformers_version": "4.37.0.dev0",
"vision_config": {
"hidden_size": 1152,
"image_size": 384,
"intermediate_size": 4304,
"model_type": "siglip_vision_model",
"num_attention_heads": 16,
"num_hidden_layers": 27,
"patch_size": 14
}
}
@@ -0,0 +1,23 @@
{
"do_normalize": true,
"do_rescale": true,
"do_resize": true,
"image_mean": [
0.5,
0.5,
0.5
],
"image_processor_type": "SiglipImageProcessor",
"image_std": [
0.5,
0.5,
0.5
],
"processor_class": "SiglipProcessor",
"resample": 3,
"rescale_factor": 0.00392156862745098,
"size": {
"height": 384,
"width": 384
}
}
@@ -0,0 +1,23 @@
{
"eos_token": {
"content": "</s>",
"lstrip": true,
"normalized": false,
"rstrip": true,
"single_word": false
},
"pad_token": {
"content": "</s>",
"lstrip": true,
"normalized": false,
"rstrip": true,
"single_word": false
},
"unk_token": {
"content": "<unk>",
"lstrip": true,
"normalized": false,
"rstrip": true,
"single_word": false
}
}
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -0,0 +1,33 @@
{
"added_tokens_decoder": {
"1": {
"content": "</s>",
"lstrip": true,
"normalized": false,
"rstrip": true,
"single_word": false,
"special": true
},
"2": {
"content": "<unk>",
"lstrip": true,
"normalized": false,
"rstrip": true,
"single_word": false,
"special": true
}
},
"additional_special_tokens": [],
"clean_up_tokenization_spaces": true,
"do_lower_case": true,
"eos_token": "</s>",
"model_input_names": [
"input_ids"
],
"model_max_length": 64,
"pad_token": "</s>",
"processor_class": "SiglipProcessor",
"sp_model_kwargs": {},
"tokenizer_class": "SiglipTokenizer",
"unk_token": "<unk>"
}