File size: 1,832 Bytes
fc2430f | 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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | {
"architectures": [
"ClapModel"
],
"audio_config": {
"aff_block_r": 4,
"attention_probs_dropout_prob": 0.0,
"depths": [
2,
2,
12,
2
],
"drop_path_rate": 0.0,
"dtype": "float32",
"enable_fusion": false,
"enable_patch_layer_norm": true,
"flatten_patch_embeds": true,
"fusion_type": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1024,
"initializer_factor": 1.0,
"layer_norm_eps": 1e-05,
"mlp_ratio": 4.0,
"model_type": "clap_audio_model",
"num_attention_heads": [
4,
8,
16,
32
],
"num_classes": 527,
"num_hidden_layers": 4,
"num_mel_bins": 64,
"patch_embed_input_channels": 1,
"patch_embeds_hidden_size": 128,
"patch_size": 4,
"patch_stride": [
4,
4
],
"projection_dim": 512,
"projection_hidden_act": "relu",
"qkv_bias": true,
"spec_size": 256,
"window_size": 8
},
"dtype": "float32",
"hidden_size": 768,
"initializer_factor": 1.0,
"logit_scale_init_value": 14.285714285714285,
"model_type": "clap",
"num_hidden_layers": 16,
"projection_dim": 512,
"projection_hidden_act": "relu",
"text_config": {
"attention_probs_dropout_prob": 0.1,
"dtype": "float32",
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_factor": 1.0,
"intermediate_size": 3072,
"layer_norm_eps": 1e-12,
"max_position_embeddings": 514,
"model_type": "clap_text_model",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"position_embedding_type": "absolute",
"projection_dim": 512,
"projection_hidden_act": "relu",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 50265
},
"transformers_version": "4.57.1"
}
|