nicholasKluge
commited on
Upload config.json with huggingface_hub
Browse files- config.json +73 -0
config.json
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"TinyLlavaForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"cache_dir": null,
|
6 |
+
"connector_type": "mlp2x_gelu",
|
7 |
+
"hidden_size": 2048,
|
8 |
+
"ignore_index": -100,
|
9 |
+
"image_aspect_ratio": "square",
|
10 |
+
"image_token_index": -200,
|
11 |
+
"llm_model_name_or_path": "TucanoBR/Tucano-1b1",
|
12 |
+
"model_type": "tinyllava",
|
13 |
+
"auto_map": {
|
14 |
+
"AutoConfig": "configuration.TinyLlavaConfig",
|
15 |
+
"AutoModelForCausalLM": "modeling_tinyllava_tucano.TinyLlavaForConditionalGeneration"
|
16 |
+
},
|
17 |
+
"num_queries": 128,
|
18 |
+
"num_resampler_layers": 3,
|
19 |
+
"pad_token": "<pad>",
|
20 |
+
"pad_token_id": 3,
|
21 |
+
"resampler_hidden_size": 768,
|
22 |
+
"text_config": {
|
23 |
+
"_name_or_path": "TucanoBR/Tucano-1b1",
|
24 |
+
"architectures": [
|
25 |
+
"LlamaForCausalLM"
|
26 |
+
],
|
27 |
+
"auto_map": {
|
28 |
+
"AutoConfig": "TucanoBR/Tucano-1b1--configuration_llama.LlamaConfig",
|
29 |
+
"AutoModelForCausalLM": "TucanoBR/Tucano-1b1--modeling_llama.LlamaForCausalLM"
|
30 |
+
},
|
31 |
+
"head_dim": 64,
|
32 |
+
"hidden_size": 2048,
|
33 |
+
"intermediate_size": 5632,
|
34 |
+
"mlp_bias": false,
|
35 |
+
"model_type": "llama",
|
36 |
+
"num_hidden_layers": 22,
|
37 |
+
"num_key_value_heads": 4,
|
38 |
+
"pad_token_id": 3,
|
39 |
+
"rms_norm_eps": 1e-05,
|
40 |
+
"torch_dtype": "bfloat16",
|
41 |
+
"use_cache": false
|
42 |
+
},
|
43 |
+
"tokenizer_model_max_length": 2048,
|
44 |
+
"tokenizer_name_or_path": "TucanoBR/Tucano-1b1",
|
45 |
+
"tokenizer_padding_side": "right",
|
46 |
+
"tokenizer_use_fast": true,
|
47 |
+
"torch_dtype": "bfloat16",
|
48 |
+
"transformers_version": "4.40.1",
|
49 |
+
"tune_type_connector": "full",
|
50 |
+
"tune_type_llm": "full",
|
51 |
+
"tune_type_vision_tower": "frozen",
|
52 |
+
"tune_vision_tower_from_layer": 0,
|
53 |
+
"use_cache": true,
|
54 |
+
"vision_config": {
|
55 |
+
"hidden_act": "gelu_pytorch_tanh",
|
56 |
+
"hidden_size": 1152,
|
57 |
+
"image_size": 384,
|
58 |
+
"intermediate_size": 4304,
|
59 |
+
"layer_norm_eps": 1e-06,
|
60 |
+
"model_name_or_path": "google/siglip-so400m-patch14-384",
|
61 |
+
"model_name_or_path2": "",
|
62 |
+
"model_type": "siglip_vision_model",
|
63 |
+
"num_attention_heads": 16,
|
64 |
+
"num_hidden_layers": 27,
|
65 |
+
"patch_size": 14
|
66 |
+
},
|
67 |
+
"vision_feature_layer": -2,
|
68 |
+
"vision_feature_select_strategy": "patch",
|
69 |
+
"vision_hidden_size": 1152,
|
70 |
+
"vision_model_name_or_path": "google/siglip-so400m-patch14-384",
|
71 |
+
"vision_model_name_or_path2": "",
|
72 |
+
"vocab_size": 32000
|
73 |
+
}
|