S3-S2ST
Collection
S3-S2ST 4B streaming and offline speech-to-speech translation models. • 2 items • Updated
The streaming 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 streaming --repo-id zhaoyx39/S3-S2ST-4B-Streaming
envs/inference/bin/python tools/make_input.py --audio "<path_to_audio.wav>" --direction zh2en --output data/input.jsonl
bash scripts/infer.sh --mode streaming --preset fixed-0.5 --input data/input.jsonl --no-warmup --output runs/example_streaming --gpu 0
The repository includes the translation backbone, audio encoder and adapter, Talker, layer fusion, flow matching, vocoder and frontend assets. The streaming READ/WRITE gate is included. The installer verifies checksums and places the files under the code repository's models/ directory. Both English–Chinese translation directions are supported.