File size: 2,494 Bytes
5c5636a | 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 | {
"activation_dropout": 0.1,
"architectures": [
"Xcodec2Model"
],
"attention_bias": false,
"attention_dropout": 0.0,
"audio_channels": 1,
"downsampling_ratios": [
2,
2,
4
],
"dtype": "float32",
"encoder_hidden_size": 8,
"head_dim": 8,
"hidden_act": "silu",
"hidden_size": 32,
"initializer_range": 0.02,
"intermediate_size": 4096,
"max_position_embeddings": 4096,
"model_type": "xcodec2",
"num_attention_heads": 2,
"num_hidden_layers": 2,
"num_key_value_heads": 2,
"pad_token_id": null,
"quantization_dim": 64,
"quantization_levels": [
4,
4,
4,
4
],
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 10000.0,
"rope_type": "default"
},
"sampling_rate": 16000,
"semantic_model_config": {
"activation_dropout": 0.0,
"adapter_act": "relu",
"adapter_kernel_size": 3,
"adapter_stride": 2,
"add_adapter": false,
"apply_spec_augment": true,
"attention_dropout": 0.0,
"bos_token_id": 1,
"classifier_proj_size": 768,
"conformer_conv_dropout": 0.1,
"conv_depthwise_kernel_size": 31,
"ctc_loss_reduction": "sum",
"ctc_zero_infinity": false,
"eos_token_id": 2,
"feat_proj_dropout": 0.0,
"feature_projection_input_dim": 160,
"final_dropout": 0.1,
"hidden_act": "swish",
"hidden_dropout": 0.0,
"hidden_size": 32,
"initializer_range": 0.02,
"intermediate_size": 64,
"layer_norm_eps": 1e-05,
"layerdrop": 0.1,
"left_max_position_embeddings": 64,
"mask_feature_length": 10,
"mask_feature_min_masks": 0,
"mask_feature_prob": 0.0,
"mask_time_length": 10,
"mask_time_min_masks": 2,
"mask_time_prob": 0.05,
"max_source_positions": 5000,
"model_type": "wav2vec2-bert",
"num_adapter_layers": 1,
"num_attention_heads": 4,
"num_hidden_layers": 17,
"output_hidden_size": 32,
"pad_token_id": 0,
"position_embeddings_type": "relative_key",
"right_max_position_embeddings": 8,
"rotary_embedding_base": 10000,
"tdnn_dilation": [
1,
2,
3,
1,
1
],
"tdnn_dim": [
512,
512,
512,
512,
1500
],
"tdnn_kernel": [
5,
3,
3,
1,
1
],
"use_intermediate_ffn_before_adapter": false,
"use_weighted_layer_sum": false,
"vocab_size": null,
"xvector_output_dim": 512
},
"tie_word_embeddings": false,
"transformers_version": "5.16.0.dev0"
}
|