File size: 2,960 Bytes
92014d5 | 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 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | {
"architectures": [
"PeAudioModel"
],
"audio_config": {
"attention_bias": false,
"attention_dropout": 0.0,
"dac_config": {
"_name_or_path": "",
"architectures": null,
"chunk_size_feed_forward": 0,
"codebook_dim": 32,
"codebook_loss_weight": 1.0,
"codebook_size": 512,
"commitment_loss_weight": 0.25,
"decoder_hidden_size": 16,
"downsampling_ratios": [
2,
4,
4
],
"dtype": null,
"encoder_hidden_size": 16,
"hidden_size": 128,
"hop_length": 32,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"model_type": "dac",
"n_codebooks": 6,
"output_attentions": false,
"output_hidden_states": false,
"problem_type": null,
"quantizer_dropout": 0.0,
"return_dict": true,
"sampling_rate": 16000,
"upsampling_ratios": [
4,
4,
2
]
},
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 32,
"initializer_range": 0.02,
"intermediate_size": 37,
"max_position_embeddings": 512,
"max_window_layers": 28,
"model_type": "pe_audio_encoder",
"num_attention_heads": 2,
"num_hidden_layers": 2,
"num_key_value_heads": 2,
"rms_norm_eps": 1e-05,
"rope_parameters": {
"rope_theta": 20000,
"rope_type": "default"
}
},
"dtype": "float32",
"model_type": "pe_audio",
"projection_dim": 32,
"text_config": {
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 50281,
"classifier_activation": "gelu",
"classifier_bias": false,
"classifier_dropout": 0.0,
"classifier_pooling": "cls",
"cls_token_id": 50281,
"decoder_bias": true,
"deterministic_flash_attn": false,
"embedding_dropout": 0.0,
"eos_token_id": 50282,
"hidden_activation": "gelu",
"hidden_size": 32,
"initializer_cutoff_factor": 2.0,
"initializer_range": 0.02,
"intermediate_size": 37,
"is_decoder": false,
"layer_types": [
"full_attention",
"sliding_attention"
],
"local_attention": 128,
"max_position_embeddings": 512,
"mlp_bias": false,
"mlp_dropout": 0.0,
"model_type": "modernbert",
"norm_bias": false,
"norm_eps": 1e-05,
"num_attention_heads": 4,
"num_hidden_layers": 2,
"pad_token_id": 50283,
"rope_parameters": {
"full_attention": {
"rope_theta": 160000.0,
"rope_type": "default"
},
"sliding_attention": {
"rope_theta": 10000.0,
"rope_type": "default"
}
},
"sep_token_id": 50282,
"sparse_pred_ignore_index": -100,
"sparse_prediction": false,
"tie_word_embeddings": true,
"type_vocab_size": 16,
"vocab_size": 50368
},
"transformers_version": "5.16.0.dev0"
}
|