File size: 1,576 Bytes
957748f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | {
"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
}
}
} |