The offline 4B model for S3-S2ST, matching the paper checkpoint.
Code · Collection · Interactive demo
Follow the code repository's environment installation guide, then run from its root:
source env.sh
envs/inference/bin/python tools/download_model.py --mode offline --repo-id zhaoyx39/S3-S2ST-4B-Offline
envs/inference/bin/python tools/make_input.py --audio "<path_to_audio.wav>" --direction zh2en --output data/input.jsonl
bash scripts/infer.sh --mode offline --input data/input.jsonl --no-warmup --output runs/example_offline --gpu 0
The repository includes the translation backbone, audio encoder and adapter, Talker, layer fusion, flow matching, vocoder and frontend assets. The installer verifies checksums and places the files under the code repository's models/ directory. Both English–Chinese translation directions are supported.
assets/flow_matching/model.pt 7.1 GiBmodel.safetensors-00001-of-00002.safetensors 5.0 GiBmodel.safetensors-00002-of-00002.safetensors 2.8 GiBaudio_encoder.pt 1.2 GiBtalker.pt 942 MiBassets/vocoder/model.pt 624 MiBaudio_adaptor.pt 133 MiBtalker_codec_head.pt 101 MiBtalker_codec_embed.pt 101 MiBassets/speaker/campplus.onnx 27 MiBtalker_input_proj.pt 4 MiBpre_matching.pt 4 MiBthinker_layer_fusion.pt 41.5 KiBassets/frontend/fm_mel_filters.npz 4.2 KiBassets/frontend/mel_filters.npz 4.2 KiB