Valley2-7b / config.json
luoruipu
update model weight to fp16
ab094d7
raw
history blame contribute delete
931 Bytes
{
"_name_or_path": "/mnt/bn/luoruipu-disk/Valley2-7b",
"architectures": [
"ValleyLlamaForCausalLM"
],
"bos_token_id": 1,
"eos_token_id": 2,
"freeze_mm_mlp_adapter": false,
"hidden_act": "silu",
"hidden_size": 4096,
"initializer_range": 0.02,
"intermediate_size": 11008,
"max_length": 4096,
"max_position_embeddings": 2048,
"mm_hidden_size": 1024,
"mm_use_im_start_end": true,
"mm_vision_select_layer": -2,
"mm_vision_tower": "openai/clip-vit-large-patch14",
"model_type": "valley",
"num_attention_heads": 32,
"num_hidden_layers": 32,
"num_key_value_heads": 32,
"pad_token_id": 0,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": null,
"sep_image_conv_front": false,
"tie_word_embeddings": false,
"torch_dtype": "float16",
"transformers_version": "4.28.0.dev0",
"tune_mm_mlp_adapter": true,
"use_cache": true,
"use_mm_proj": true,
"vocab_size": 32008
}