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
audio demo step 35000
Browse files- .gitattributes +1 -0
- samples/step_035000/generated.wav +3 -0
.gitattributes
CHANGED
|
@@ -53,3 +53,4 @@ samples/step_030000/target_gt.wav filter=lfs diff=lfs merge=lfs -text
|
|
| 53 |
samples/step_030000/generated.wav filter=lfs diff=lfs merge=lfs -text
|
| 54 |
samples/step_035000/source.wav filter=lfs diff=lfs merge=lfs -text
|
| 55 |
samples/step_035000/target_gt.wav filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 53 |
samples/step_030000/generated.wav filter=lfs diff=lfs merge=lfs -text
|
| 54 |
samples/step_035000/source.wav filter=lfs diff=lfs merge=lfs -text
|
| 55 |
samples/step_035000/target_gt.wav filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
samples/step_035000/generated.wav filter=lfs diff=lfs merge=lfs -text
|
samples/step_035000/generated.wav
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1599c7d767e75f7cc64ab0d482456fcde2e3ff674bbae10414a20416868cba16
|
| 3 |
+
size 192044
|