Finetuned M4T v2 Large (en–es S2S)
Finetuned Seamless M4T v2 large for speech-to-speech (S2S) English → Spanish using seamless_communication finetuning.
Contents
checkpoint.pt– Finetuned model weights (load on top of base M4T v2 large).
Requirements
seamless_communication(and dependencies: fairseq2, PyTorch, etc.)- Base model
seamlessM4T_v2_largeand vocodervocoder_v2are loaded from the asset store on first run.
Inference
Install and set up the repo (see seamless_communication).
Download this checkpoint:
huggingface-cli download amitranjan123/m4t-v2-large-en-es-s2s checkpoint.pt --local-dir ./my_finetuned_m4tRun S2ST (speech → speech) with the finetuned model:
m4t_predict <path_to_input_audio.wav> --task S2ST --tgt_lang spa \ --output_path <path_to_output.wav> \ --model_name seamlessM4T_v2_large \ --checkpoint_path ./my_finetuned_m4t/checkpoint.ptFor ASR or S2TT (speech → text), omit
--output_pathand use--task ASRor--task S2TT.
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support