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_025000/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/8c9f240c7696fa1404a8ca7df8e3f2af2d310f6e/samples/step_025000/generated.wav
- Command line
-
hf download hf://tiny-aya-translate/tr-hi-s2st-v0.3@8c9f240c7696fa1404a8ca7df8e3f2af2d310f6e/samples/step_025000/generated.wav
-
curl -L -o generated.wav https://huggingface.co/tiny-aya-translate/tr-hi-s2st-v0.3/resolve/8c9f240c7696fa1404a8ca7df8e3f2af2d310f6e/samples/step_025000/generated.wav
192 kB
- Xet hash:
- bc31e0be13b88238d611c92518811073b19e658f77af6f0d3d75e200f6298944
- Size of remote file:
- 192 kB
- SHA256:
- 4ac1f5b0353fdb4ea9598c47ade773376d2933fd65b25432bb7504002481be7e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.