Audio-to-Audio
PEFT
Safetensors
Moshi
Turkish
Hindi
speech-to-speech-translation
simultaneous-translation
mimi
lora
tpu
turkish
hindi
Eval Results (legacy)
Instructions to use tiny-aya-translate/tr-hi-s2st-v0.3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tiny-aya-translate/tr-hi-s2st-v0.3 with PEFT:
Task type is invalid.
- Moshi
How to use tiny-aya-translate/tr-hi-s2st-v0.3 with Moshi:
# pip install moshi # Run the interactive web server python -m moshi.server --hf-repo "tiny-aya-translate/tr-hi-s2st-v0.3" # Then open https://localhost:8998 in your browser
# pip install moshi import torch from moshi.models import loaders # Load checkpoint info from HuggingFace checkpoint = loaders.CheckpointInfo.from_hf_repo("tiny-aya-translate/tr-hi-s2st-v0.3") # Load the Mimi audio codec mimi = checkpoint.get_mimi(device="cuda") mimi.set_num_codebooks(8) # Encode audio (24kHz, mono) wav = torch.randn(1, 1, 24000 * 10) # [batch, channels, samples] with torch.no_grad(): codes = mimi.encode(wav.cuda()) decoded = mimi.decode(codes) - Notebooks
- Google Colab
- Kaggle
Download samples/step_030000/generated.wav from tiny-aya-translate/tr-hi-s2st-v0.3: direct link, hf CLI and curl.
- Browser
- Download file 192 kB
-
https://huggingface.co/tiny-aya-translate/tr-hi-s2st-v0.3/resolve/bb9129b3341c33f4769d7aee7a2d3b7f8e9c490b/samples/step_030000/generated.wav
- Command line
-
hf download hf://tiny-aya-translate/tr-hi-s2st-v0.3@bb9129b3341c33f4769d7aee7a2d3b7f8e9c490b/samples/step_030000/generated.wav
-
curl -L -o generated.wav https://huggingface.co/tiny-aya-translate/tr-hi-s2st-v0.3/resolve/bb9129b3341c33f4769d7aee7a2d3b7f8e9c490b/samples/step_030000/generated.wav
192 kB
- Xet hash:
- 1a2322e77203c02993032226da50e1d1ee7d1d6e7e8f6b99534f493ba9f5b8a8
- Size of remote file:
- 192 kB
- SHA256:
- 9e33893c4c4a33d38c3ca384e482a8b42b22f332bfc851fdbd295f1208987b7f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.