zipformer2_medium / config.json
Lakoc's picture
Update config.json
a00588c
{
"_name_or_path": "Lakoc/zipformer2_medium",
"activation_dropout": 0.1,
"adapter_attn_dim": null,
"adapter_kernel_size": 3,
"adapter_stride": 2,
"add_adapter": false,
"apply_spec_augment": true,
"attention_dropout": 0.1,
"bos_token_id": 1,
"causal": false,
"chunk_size": [
16,
32,
64,
-1
],
"classifier_proj_size": 256,
"codevector_dim": 256,
"contrastive_logits_temperature": 0.1,
"conv_bias": false,
"conv_depthwise_kernel_size": 31,
"conv_dim": [
512,
512,
512,
512,
512,
512,
512
],
"conv_kernel": [
10,
3,
3,
3,
3,
2,
2
],
"conv_stride": [
5,
2,
2,
2,
2,
2,
2
],
"diversity_loss_weight": 0.1,
"do_stable_layer_norm": true,
"downsampling_factor": [
1,
2,
4,
8,
4,
2
],
"dropout": 0.1,
"encoder_dim": [
192,
256,
384,
512,
384,
192
],
"encoder_unmasked_dim": [
192,
192,
256,
256,
256,
192
],
"feat_extract_activation": "gelu",
"feat_extract_norm": "layer",
"feat_proj_dropout": 0.0,
"feat_quantizer_dropout": 0.0,
"feedforward_dim": [
512,
768,
1024,
1536,
1024,
512
],
"final_dropout": 0.1,
"hidden_act": "gelu",
"hidden_dropout": 0.1,
"hidden_size": 192,
"initializer_range": 0.02,
"intermediate_size": 2048,
"layer_norm_eps": 1e-05,
"layerdrop": 0.0,
"left_context_frames": [
64,
128,
256,
-1
],
"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-zipformer",
"num_adapter_layers": 3,
"num_attention_heads": 8,
"num_codevector_groups": 2,
"num_codevectors_per_group": 320,
"num_conv_pos_embedding_groups": 16,
"num_conv_pos_embeddings": 128,
"num_encoder_layers": [
2,
2,
3,
4,
3,
2
],
"num_feat_extract_layers": 7,
"num_heads": [
4,
4,
4,
8,
4,
4
],
"num_hidden_layers": 12,
"num_mel_bins": 84,
"num_negatives": 100,
"output_downsampling_factor": 2,
"output_hidden_size": 512,
"pad_token_id": 0,
"pos_dim": 48,
"pos_head_dim": 4,
"proj_codevector_dim": 256,
"query_head_dim": 32,
"tdnn_dilation": [
1,
2,
3,
1,
1
],
"tdnn_dim": [
512,
512,
512,
512,
1500
],
"tdnn_kernel": [
5,
3,
3,
1,
1
],
"transformers_version": "4.34.1",
"use_weighted_layer_sum": false,
"value_head_dim": 12,
"vocab_size": null,
"warmup_batches": 32000.0,
"xvector_output_dim": 512
}