large_M4T_v1.yaml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. eval_data:
  2. audio:
  3. audio_root_dir: /fsx-ust/data/audio_zips/
  4. fbanks_num_mel_bins: 80
  5. fbanks_standardize_audio: true
  6. fbanks_waveform_scale: 32768
  7. fbank_feats_pad_idx: 0
  8. manifest_list: dev_fleurs_arb-eng,dev_fleurs_ben-eng,dev_fleurs_hin-eng,dev_fleurs_ind-eng,dev_fleurs_ita-eng,dev_fleurs_jpn-eng,dev_fleurs_por-eng,dev_fleurs_rus-eng,dev_fleurs_swh-eng,dev_fleurs_tha-eng,dev_fleurs_tur-eng,dev_fleurs_urd-eng,dev_fleurs_vie-eng,dev_fleurs_spa-eng,dev_fleurs_eng-arb,dev_fleurs_eng-ben,dev_fleurs_eng-hin,dev_fleurs_eng-ind,dev_fleurs_eng-ita,dev_fleurs_eng-jpn,dev_fleurs_eng-por,dev_fleurs_eng-rus,dev_fleurs_eng-swh,dev_fleurs_eng-tha,dev_fleurs_eng-tur,dev_fleurs_eng-urd,dev_fleurs_eng-vie,dev_fleurs_eng-spa
  9. manifest_list_path: null
  10. manifest_path_prefix: /fsx-ust/spopuri/datasets/S2ST/V1/M4T_V1_phase2/primary/
  11. max_seconds_per_input_audio: 150
  12. fixed_batch_size: 10
  13. max_tgt_text_tokens_per_batch: null
  14. max_tgt_text_tokens_per_sample: 3000
  15. max_units_per_sample: 1500
  16. num_threads: 10
  17. prefech_batches: 10
  18. prepend_tgt_lang_tag: true
  19. shuffle_window: 1000
  20. text_tokenization:
  21. from_model: seamlessM4T_large
  22. spm_path: null
  23. langtoks: null
  24. unit_tokenization:
  25. from_model: seamlessM4T_large
  26. langtoks: null
  27. num_units: null
  28. unit_tokenizer_name: seamlessM4T_large
  29. model:
  30. custom_params:
  31. model_embed_dim: 1024
  32. nllb_vocabulary_size: 256103
  33. w2v2_encoder_layers: 24
  34. w2v2_encoder_layers_use_conformer: true
  35. w2v2_encoder_layers_layernorm_features: false
  36. w2v2_pos_encoder_type: "relative"
  37. w2v2_pos_encoder_depth: 0
  38. w2v2_pos_conv_kernel_size: 0
  39. w2v2_num_pos_conv_groups: 0
  40. nllb_encoder_layers: 24
  41. nllb_decoder_layers: 24
  42. t2u_encoder_layers: 6
  43. t2u_decoder_layers: 6
  44. unit_vocabulary_size: 10082
  45. from_model: null
  46. from_model_config: null
  47. pretrained_s2t_decoder_path: /fsx-ust/spopuri/datasets/PT_CKPT/S2T/S2T_M4T_V1_V1_cleaned.pt
  48. pretrained_t2u_path: /fsx-ust/spopuri/datasets/PT_CKPT/T2U/V5_10K_p2_14_80K.pt
  49. pretrained_w2v2_path: /fsx-ust/spopuri/datasets/PT_CKPT/w2v2/w2vbert2rpq_600m_al5.pt
  50. train_data:
  51. audio:
  52. audio_root_dir: /fsx-ust/data/audio_zips/
  53. fbanks_num_mel_bins: 80
  54. fbanks_standardize_audio: true
  55. fbanks_waveform_scale: 32768
  56. fbank_feats_pad_idx: 0
  57. manifest_list: null
  58. manifest_list_path: /data/home/mavlyutov/train_configs/m4t_v1_train_manifests.txt
  59. manifest_path_prefix: /fsx-ust/spopuri/datasets/S2ST/V1/M4T_V1_phase2/primary
  60. max_seconds_per_input_audio: 15
  61. fixed_batch_size: null
  62. max_batch_size: 25
  63. max_tgt_text_tokens_per_batch: 300
  64. max_tgt_text_tokens_per_sample: 150
  65. max_units_per_sample: 1200
  66. num_threads: 10
  67. prefech_batches: 10
  68. prepend_tgt_lang_tag: true
  69. shuffle_window: 1000
  70. text_tokenization:
  71. from_model: seamlessM4T_large
  72. spm_path: null
  73. langtoks: null
  74. unit_tokenization:
  75. from_model: seamlessM4T_large
  76. langtoks: null
  77. num_units: null
  78. unit_tokenizer_name: seamlessM4T_large
  79. training:
  80. eval_steps: 5000
  81. float_dtype: bf16
  82. label_smoothing: 0.2
  83. learning_rate: 0.0001
  84. log_steps: 200
  85. max_epochs: 100
  86. patience: 10
  87. start_learning_rate: 1.0e-07
  88. warmup_steps: 1000