SIMB / config.json
zheedong's picture
SIMB: single self-contained inference bundle (bf16)
957748f verified
Raw History Blame Contribute Delete
1.58 kB
{
"model_type": "simb",
"mot": {
"num_layers": 30,
"vl": {
"hidden_size": 4096,
"num_attention_heads": 32,
"num_key_value_heads": 32,
"intermediate_size": 11008,
"rms_norm_eps": 1e-06,
"rope_theta": 10000.0,
"vocab_size": 102400
},
"speech": {
"hidden_size": 2048,
"num_attention_heads": 16,
"num_key_value_heads": 2,
"intermediate_size": 11008,
"rms_norm_eps": 1e-06,
"rope_theta": 1000000.0,
"max_position_embeddings": 32768
},
"bridge_hidden_s2i": 2048,
"bridge_hidden_i2s": 4096
},
"image": {
"size": 384,
"num_tokens": 576,
"grid": 24,
"codebook_size": 16384,
"codebook_dim": 8
},
"speech": {
"sample_rate": 24000,
"frame_rate": 12.5,
"grid_frames": 240,
"num_codebooks": 8,
"semantic_vocab_size": 16384,
"acoustic_vocab_size": 4096,
"semantic_feature_dim": 768
},
"prompts": {
"system": "You are a helpful language and vision assistant. You are able to understand the visual content that the user provides, and assist the user with a variety of tasks using natural language.",
"s2i": "Generate an image that matches this speech: ",
"i2s": "Describe this image in spoken words: ",
"vqa": "Listen to the spoken question about this image and answer it. "
},
"generation": {
"s2i": {
"cfg_scale": 3.0,
"temperature": 0.3,
"top_k": 30
},
"i2s": {
"temperature": 0.8,
"top_k": 30
},
"vqa": {
"max_new_tokens": 16
}
}
}