S3-S2ST 4B
Offline — offline model for direct speech translation
1 min read
This model handles audio-to-audio translation, allowing spoken language to be converted from one language to another without relying on cloud services. The 4.21-billion-parameter architecture is based on the official checkpoint from the S3-S2ST research and includes a translation backbone, audio encoder, adapter, Talker component, layer fusion mechanisms, flow-matching generation, a vocoder, and frontend assets. This development is useful for researchers and developers of voice translation systems who require reliable offline operation in isolated environments.
Key features
- Support for two translation directions between English and Chinese.
- A full suite of components, including a built-in vocoder and audio encoder.
- Checkpoint verification and automatic downloading via repository scripts.
- Local offline execution on a GPU.
What you can do
- Use the model for direct audio translation from Chinese to English or vice versa.
- Integrate the solution into local voice translation pipelines and experiment with flow matching.
Example
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 "" --direction zh2en --output data/input.jsonl
bash scripts/infer.sh --mode offline --input data/input.jsonl --no-warmup --output runs/example_offline --gpu 0Read more
DetailsThe model size is 4.21 billion parameters.
Supported translation directions are zh2en and en2zh.
Running the model requires preliminary environment setup from the repository and a GPU.










Comments