Update config.json
Browse files- config.json +6 -6
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/
|
| 3 |
"architectures": [
|
| 4 |
"TinyLlavaForConditionalGeneration"
|
| 5 |
],
|
|
@@ -13,14 +13,14 @@
|
|
| 13 |
"ignore_index": -100,
|
| 14 |
"image_aspect_ratio": "square",
|
| 15 |
"image_token_index": -200,
|
| 16 |
-
"llm_model_name_or_path": "/
|
| 17 |
"model_type": "tinyllava",
|
| 18 |
"num_queries": 128,
|
| 19 |
"num_resampler_layers": 3,
|
| 20 |
"pad_token": "<|endoftext|>",
|
| 21 |
"resampler_hidden_size": 768,
|
| 22 |
"text_config": {
|
| 23 |
-
"_name_or_path": "/
|
| 24 |
"architectures": [
|
| 25 |
"PhiForCausalLM"
|
| 26 |
],
|
|
@@ -44,7 +44,7 @@
|
|
| 44 |
"vocab_size": 51200
|
| 45 |
},
|
| 46 |
"tokenizer_model_max_length": 3072,
|
| 47 |
-
"tokenizer_name_or_path": "/
|
| 48 |
"tokenizer_padding_side": "right",
|
| 49 |
"tokenizer_use_fast": false,
|
| 50 |
"torch_dtype": "float16",
|
|
@@ -60,7 +60,7 @@
|
|
| 60 |
"image_size": 384,
|
| 61 |
"intermediate_size": 4304,
|
| 62 |
"layer_norm_eps": 1e-06,
|
| 63 |
-
"model_name_or_path": "/
|
| 64 |
"model_name_or_path2": "",
|
| 65 |
"model_type": "siglip_vision_model",
|
| 66 |
"num_attention_heads": 16,
|
|
@@ -70,7 +70,7 @@
|
|
| 70 |
"vision_feature_layer": -2,
|
| 71 |
"vision_feature_select_strategy": "patch",
|
| 72 |
"vision_hidden_size": 1152,
|
| 73 |
-
"vision_model_name_or_path": "/
|
| 74 |
"vision_model_name_or_path2": "",
|
| 75 |
"vocab_size": 51200
|
| 76 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "tinyllava/TinyLLaVA-Phi-2-SigLIP-3.1B",
|
| 3 |
"architectures": [
|
| 4 |
"TinyLlavaForConditionalGeneration"
|
| 5 |
],
|
|
|
|
| 13 |
"ignore_index": -100,
|
| 14 |
"image_aspect_ratio": "square",
|
| 15 |
"image_token_index": -200,
|
| 16 |
+
"llm_model_name_or_path": "microsoft/phi-2",
|
| 17 |
"model_type": "tinyllava",
|
| 18 |
"num_queries": 128,
|
| 19 |
"num_resampler_layers": 3,
|
| 20 |
"pad_token": "<|endoftext|>",
|
| 21 |
"resampler_hidden_size": 768,
|
| 22 |
"text_config": {
|
| 23 |
+
"_name_or_path": "microsoft/phi-2",
|
| 24 |
"architectures": [
|
| 25 |
"PhiForCausalLM"
|
| 26 |
],
|
|
|
|
| 44 |
"vocab_size": 51200
|
| 45 |
},
|
| 46 |
"tokenizer_model_max_length": 3072,
|
| 47 |
+
"tokenizer_name_or_path": "microsoft/phi-2",
|
| 48 |
"tokenizer_padding_side": "right",
|
| 49 |
"tokenizer_use_fast": false,
|
| 50 |
"torch_dtype": "float16",
|
|
|
|
| 60 |
"image_size": 384,
|
| 61 |
"intermediate_size": 4304,
|
| 62 |
"layer_norm_eps": 1e-06,
|
| 63 |
+
"model_name_or_path": "google/siglip-so400m-patch14-384",
|
| 64 |
"model_name_or_path2": "",
|
| 65 |
"model_type": "siglip_vision_model",
|
| 66 |
"num_attention_heads": 16,
|
|
|
|
| 70 |
"vision_feature_layer": -2,
|
| 71 |
"vision_feature_select_strategy": "patch",
|
| 72 |
"vision_hidden_size": 1152,
|
| 73 |
+
"vision_model_name_or_path": "google/siglip-so400m-patch14-384",
|
| 74 |
"vision_model_name_or_path2": "",
|
| 75 |
"vocab_size": 51200
|
| 76 |
}
|