Upload config.json with huggingface_hub
Browse files- config.json +64 -0
config.json
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlavaJambaForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0.0,
|
6 |
+
"attn_layer_offset": 4,
|
7 |
+
"attn_layer_period": 8,
|
8 |
+
"auto_map": {
|
9 |
+
"AutoConfig": "configuration_jamba.JambaConfig",
|
10 |
+
"AutoModel": "modeling_jamba.JambaModel",
|
11 |
+
"AutoModelForCausalLM": "modeling_jamba.JambaForCausalLM",
|
12 |
+
"AutoModelForSequenceClassification": "model.JambaForSequenceClassification"
|
13 |
+
},
|
14 |
+
"bos_token_id": 1,
|
15 |
+
"calc_logits_for_entire_prompt": false,
|
16 |
+
"eos_token_id": 2,
|
17 |
+
"expert_layer_offset": 1,
|
18 |
+
"expert_layer_period": 2,
|
19 |
+
"freeze_mm_mlp_adapter": false,
|
20 |
+
"hidden_act": "silu",
|
21 |
+
"hidden_size": 4096,
|
22 |
+
"image_aspect_ratio": "pad",
|
23 |
+
"initializer_range": 0.02,
|
24 |
+
"intermediate_size": 14336,
|
25 |
+
"mamba_conv_bias": true,
|
26 |
+
"mamba_d_conv": 4,
|
27 |
+
"mamba_d_state": 16,
|
28 |
+
"mamba_dt_rank": 256,
|
29 |
+
"mamba_expand": 2,
|
30 |
+
"mamba_inner_layernorms": true,
|
31 |
+
"mamba_proj_bias": false,
|
32 |
+
"mm_hidden_size": 1024,
|
33 |
+
"mm_patch_merge_type": "flat",
|
34 |
+
"mm_projector_lr": null,
|
35 |
+
"mm_projector_type": "mlp2x_gelu",
|
36 |
+
"mm_use_im_patch_token": false,
|
37 |
+
"mm_use_im_start_end": false,
|
38 |
+
"mm_vision_select_feature": "patch",
|
39 |
+
"mm_vision_select_layer": -2,
|
40 |
+
"mm_vision_tower": "openai/clip_vit_large_patch14_336",
|
41 |
+
"model_type": "llava_jamba",
|
42 |
+
"n_ctx": 262144,
|
43 |
+
"num_attention_heads": 32,
|
44 |
+
"num_experts": 1,
|
45 |
+
"num_experts_per_tok": 1,
|
46 |
+
"num_hidden_layers": 32,
|
47 |
+
"num_key_value_heads": 8,
|
48 |
+
"output_router_logits": false,
|
49 |
+
"pad_token_id": 0,
|
50 |
+
"resamplePooling": "2d",
|
51 |
+
"rms_norm_eps": 1e-06,
|
52 |
+
"router_aux_loss_coef": 0.001,
|
53 |
+
"sliding_window": null,
|
54 |
+
"tie_word_embeddings": false,
|
55 |
+
"tokenizer_model_max_length": 176000,
|
56 |
+
"tokenizer_padding_side": "right",
|
57 |
+
"torch_dtype": "bfloat16",
|
58 |
+
"transformers_version": "4.44.2",
|
59 |
+
"tune_mm_mlp_adapter": false,
|
60 |
+
"use_cache": true,
|
61 |
+
"use_mamba_kernels": true,
|
62 |
+
"use_mm_proj": true,
|
63 |
+
"vocab_size": 65536
|
64 |
+
}
|