XuyaoWang's picture
Initial commit
5c1b049
{
"architectures": [
"LlamaVisionAudioForConditionalGeneration"
],
"audio_config": {
"_name_or_path": "laion/clap-htsat-fused",
"add_cross_attention": false,
"aff_block_r": 4,
"architectures": null,
"attention_probs_dropout_prob": 0.0,
"bad_words_ids": null,
"begin_suppress_tokens": null,
"bos_token_id": null,
"chunk_size_feed_forward": 0,
"cross_attention_hidden_size": null,
"decoder_start_token_id": null,
"depths": [
2,
2,
6,
2
],
"diversity_penalty": 0.0,
"do_sample": false,
"drop_path_rate": 0.0,
"early_stopping": false,
"enable_fusion": true,
"enable_patch_fusion": true,
"enable_patch_layer_norm": true,
"encoder_no_repeat_ngram_size": 0,
"eos_token_id": null,
"exponential_decay_length_penalty": null,
"finetuning_task": null,
"flatten_patch_embeds": true,
"forced_bos_token_id": null,
"forced_eos_token_id": null,
"fusion_num_hidden_layers": 2,
"fusion_type": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"initializer_factor": 1.0,
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"layer_norm_eps": 1e-05,
"length_penalty": 1.0,
"max_length": 20,
"min_length": 0,
"mlp_ratio": 4.0,
"model_type": "clap_audio_model",
"no_repeat_ngram_size": 0,
"num_attention_heads": [
4,
8,
16,
32
],
"num_beam_groups": 1,
"num_beams": 1,
"num_classes": 527,
"num_hidden_layers": 4,
"num_mel_bins": 64,
"num_return_sequences": 1,
"output_attentions": false,
"output_hidden_states": false,
"output_scores": false,
"pad_token_id": null,
"patch_embed_input_channels": 1,
"patch_embeds_hidden_size": 96,
"patch_size": 4,
"patch_stride": [
4,
4
],
"prefix": null,
"problem_type": null,
"projection_dim": 512,
"projection_hidden_act": "relu",
"projection_hidden_size": 768,
"pruned_heads": {},
"qkv_bias": true,
"remove_invalid_values": false,
"repetition_penalty": 1.0,
"return_dict": true,
"return_dict_in_generate": false,
"sep_token_id": null,
"spec_size": 256,
"suppress_tokens": null,
"task_specific_params": null,
"temperature": 1.0,
"tf_legacy_loss": false,
"tie_encoder_decoder": false,
"tie_word_embeddings": true,
"tokenizer_class": null,
"top_k": 50,
"top_p": 1.0,
"torch_dtype": null,
"torchscript": false,
"typical_p": 1.0,
"use_bfloat16": false,
"window_size": 8
},
"audio_feature_layer": -2,
"audio_feature_select_strategy": "default",
"audio_token_index": 128257,
"bos_token_id": 128000,
"eos_token_id": 128001,
"ignore_index": -100,
"image_token_index": 128256,
"model_type": "llama_vision_audio",
"pad_token_id": 128259,
"projector_hidden_act": "gelu",
"text_config": {
"_name_or_path": "meta-llama/Meta-Llama-3.1-8B",
"architectures": [
"LlamaForCausalLM"
],
"bos_token_id": 128000,
"eos_token_id": 128001,
"intermediate_size": 14336,
"max_position_embeddings": 131072,
"model_type": "llama",
"num_key_value_heads": 8,
"rms_norm_eps": 1e-05,
"rope_scaling": {
"factor": 8.0,
"high_freq_factor": 4.0,
"low_freq_factor": 1.0,
"original_max_position_embeddings": 8192,
"rope_type": "llama3"
},
"rope_theta": 500000.0,
"torch_dtype": "bfloat16",
"vocab_size": 128260
},
"torch_dtype": "bfloat16",
"transformers_version": "4.43.3",
"vision_config": {
"dropout": 0.0,
"hidden_size": 1024,
"image_size": 336,
"intermediate_size": 4096,
"model_type": "clip_vision_model",
"num_attention_heads": 16,
"num_hidden_layers": 24,
"patch_size": 14,
"projection_dim": 768
},
"vision_feature_layer": -2,
"vision_feature_select_strategy": "default"
}