ggcristian
commited on
Commit
•
bd21a40
1
Parent(s):
8a77abc
Upload config.json
Browse files- config.json +79 -0
config.json
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"TinyEmoForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"cache_dir": null,
|
6 |
+
"connector_type": "mlp2x_gelu",
|
7 |
+
"hidden_size": 2560,
|
8 |
+
"ignore_index": -100,
|
9 |
+
"image_aspect_ratio": "square",
|
10 |
+
"image_token_index": -200,
|
11 |
+
"llm_model_name_or_path": "microsoft/phi-2",
|
12 |
+
"model_type": "tinyemo",
|
13 |
+
"num_queries": 128,
|
14 |
+
"num_resampler_layers": 3,
|
15 |
+
"pad_token": "<|endoftext|>",
|
16 |
+
"pad_token_id": 50256,
|
17 |
+
"resampler_hidden_size": 768,
|
18 |
+
"text_config": {
|
19 |
+
"_name_or_path": "microsoft/phi-2",
|
20 |
+
"architectures": [
|
21 |
+
"PhiForCausalLM"
|
22 |
+
],
|
23 |
+
"attention_dropout": 0.0,
|
24 |
+
"bos_token_id": 50256,
|
25 |
+
"embd_pdrop": 0.0,
|
26 |
+
"eos_token_id": 50256,
|
27 |
+
"hidden_act": "gelu_new",
|
28 |
+
"hidden_size": 2560,
|
29 |
+
"initializer_range": 0.02,
|
30 |
+
"intermediate_size": 10240,
|
31 |
+
"layer_norm_eps": 1e-05,
|
32 |
+
"max_position_embeddings": 2048,
|
33 |
+
"model_type": "phi",
|
34 |
+
"num_attention_heads": 32,
|
35 |
+
"num_hidden_layers": 32,
|
36 |
+
"num_key_value_heads": 32,
|
37 |
+
"partial_rotary_factor": 0.4,
|
38 |
+
"qk_layernorm": false,
|
39 |
+
"resid_pdrop": 0.1,
|
40 |
+
"rope_scaling": null,
|
41 |
+
"rope_theta": 10000.0,
|
42 |
+
"tie_word_embeddings": false,
|
43 |
+
"torch_dtype": "float16",
|
44 |
+
"transformers_version": "4.37.0",
|
45 |
+
"use_cache": true,
|
46 |
+
"vocab_size": 51200
|
47 |
+
},
|
48 |
+
"tokenizer_model_max_length": 2048,
|
49 |
+
"tokenizer_padding_side": "right",
|
50 |
+
"tokenizer_use_fast": false,
|
51 |
+
"torch_dtype": "float16",
|
52 |
+
"transformers_version": "4.37.0",
|
53 |
+
"tune_type_connector": "full",
|
54 |
+
"tune_type_llm": "full",
|
55 |
+
"tune_type_vision_tower": "frozen",
|
56 |
+
"tune_vision_tower_from_layer": 0,
|
57 |
+
"use_cache": true,
|
58 |
+
"vision_config": {
|
59 |
+
"_name_or_path": "openai/clip-vit-large-patch14",
|
60 |
+
"architectures": [
|
61 |
+
"CLIPModel"
|
62 |
+
],
|
63 |
+
"hidden_act": "quick_gelu",
|
64 |
+
"hidden_size": 1024,
|
65 |
+
"image_size": 224,
|
66 |
+
"intermediate_size": 4096,
|
67 |
+
"layer_norm_eps": 1e-05,
|
68 |
+
"model_type": "clip_vision_model",
|
69 |
+
"num_attention_heads": 16,
|
70 |
+
"num_hidden_layers": 24,
|
71 |
+
"patch_size": 14,
|
72 |
+
"projection_dim": 768
|
73 |
+
},
|
74 |
+
"vision_feature_layer": -2,
|
75 |
+
"vision_feature_select_strategy": "patch",
|
76 |
+
"vision_hidden_size": 1024,
|
77 |
+
"vision_model_name_or_path": "openai/clip-vit-large-patch14",
|
78 |
+
"vocab_size": 51200
|
79 |
+
}
|