Saltar al contenido
ModelPublicadoExterno
Descargar

Tr Hi S2st v0.2

> ⚠️ Research preview — this checkpoint overfit. Released for transparency > and to document the full training trajectory. The recommended weights are > bestbyval (step 1,000), not the final step-15,000 checkpoint....

TipoOtherModelo baseCohereLabs/tiny-aya-baseVersiónBcalidad

Fuente del modelo

Tipo
Other
Tamaño del archivo
27,6 MB
Modelo base
CohereLabs/tiny-aya-base
Versión
vadapter_model
Actualizado
12 oct 2026
Fuente
Hugging Face

Descripción de la fuente

TinyAya — Turkish⇄Hindi Speech-to-Speech Translation (v0.2)

⚠️ Research preview — this checkpoint overfit. Released for transparency and to document the full training trajectory. The recommended weights are best_by_val (step 1,000), not the final step-15,000 checkpoint. See Evaluation & the overfitting story.

⚠️ Dataset disclosure — honest correction

This checkpoint was trained on tiny-aya-translate/fleurs-tr-hi-mimi-encoded — Mimi-encoded FLEURS Turkish↔Hindi read speech (~27% real FLEURS audio + ~73% multi-voice TTS over FLEURS text; ≈8.3k train / 929 val).

This was not the dataset we intended to train on. The project's synthetic data pipeline — FLORES + OPUS-100 + machine-translated conversational text, rendered with multi-voice TTS into tiny-aya-translate/tr-hi-mimi-encoded (~1.3M clips) — is the corpus our accompanying write-up describes. The training launcher's HF_DATASET default pointed at the fleurs- sibling repo, so v0.2 silently trained on FLEURS read speech instead of the synthetic conversational corpus. We are disclosing this openly rather than quietly re-labeling the run.

v0.3 corrects the data source (→ tr-hi-mimi-encoded) together with the codebase fixes (parallel-stream collator, regularization, deep-codebook weighting). See tr-hi-s2st-v0.3.

Moshi-style simultaneous speech-to-speech translation for Turkish ⇄ Hindi: a LoRA-fine-tuned Cohere2 backbone fused with a frozen Moshi depth decoder, operating on Mimi audio codes in a parallel two-stream format.

  • Developed by: tiny-aya-translate
  • Funded by: Google TPU Research Cloud (TRC) — see Acknowledgements
  • Model type: parallel two-stream S2ST (Cohere2 + LoRA → CB0; frozen Moshi depth decoder → CB1–7)
  • Languages: Turkish (tr), Hindi (hi)
  • License: CC-BY-NC-4.0 — non-commercial, inherited from the base model (training code is Apache-2.0; see the caveat below)
  • Finetuned from: CohereLabs/tiny-aya-base (+ frozen Moshi / Mimi from Kyutai)

Provenance: sweep → production run

This recipe was selected by a proxy-first W&B hyperparameter sweep (8 Bayesian

  • hyperband trials), then trained to 15k steps on a single TPU v6e-8.

Training procedure

HardwareGoogle TPU v6e-8 (1 host × 8 chips), SPMD / FSDPv2-LoRA, bf16
Duration15,000 steps in ~24.9 h (~5.1 s/step), single continuous run
Effective batch256 (batch 8 × grad-accum 4 × 8 chips), max_frames 300
Stability0 non-finite / NaN / loss-spike alerts across the whole run
Recipelora.r=64, lora.alpha=128, lr_lora=4.6e-4, lr_depth=1.1e-4, text_weight=0.2, warmup=500, weight_decay=0.01
Datatiny-aya-translate/fleurs-tr-hi-mimi-encoded (Mimi-encoded FLEURS TR↔HI read speech) — ⚠️ not the intended synthetic corpus (see Dataset disclosure above)

Evaluation & the overfitting story

The run was mechanically flawless but the recipe overfit: validation loss bottomed at step 1,000 and rose monotonically while train loss kept falling.

steptrain lossval/losscb0 val acc
10005.4752.859 ← best13.9%
50003.2313.37614.3%
100001.8874.06013.8%
150001.5664.197 (worst)13.8%

Final per-codebook val accuracy: cb0 13.8%, cb1 3.9%, cb2 1.9%, cb3 1.4%, cb4 0.8%, cb5 0.8%, cb6 0.6%, cb7 0.5%. The text stream effectively memorized (train text loss → 0.39); audio is the bottleneck. Likely cause: the proxy sweep optimized short-horizon val/audio_loss, which favored high capacity (lora_r=64) that then memorized the train set over 15k steps.

Downstream metrics (to be measured)

No speech-quality metrics have been computed yet. Planned evaluation, with the checkpoint to use = best_by_val (step 1,000):

MetricMeasuresStatus
ASR-BLEU (Whisper-Lv3 → SacreBLEU)translation quality☐ TODO
ASR-chrF / chrF++quality, more ASR-roundtrip-robust than BLEU☐ TODO
BLASER 2.0text-free S2ST quality☐ optional
COMET / COMET-Kiwisemantic adequacy☐ optional
DNSMOS / UTMOS / NISQAaudio naturalness (MOS)☐ TODO
WERintelligibility☐ TODO

Reporting protocol (when filled): ASR backend + version, decoding (greedy/beam), seed, text normalization, and number of eval samples will be stated.

Checkpoints in this repo

keep_last_n rotation during the run means only these survived (steps 2,000–12,000 were not retained — fixed for future runs):

FolderStepval/lossUse
best_by_val/1,0002.859✅ recommended (full resumable state)
checkpoints/step_13000/13,000~4.19overfit (trajectory)
checkpoints/step_14000/14,000~4.19overfit (trajectory)
checkpoints/step_15000/15,0004.197overfit (trajectory)
checkpoints/step_15000_final/15,0004.197canonical final (overfit)

Each checkpoint contains the composite components — depth_decoder.pt, text_embed.pt, audio_heads.pt, model_audio_embed.pt, projection.pt, metadata.json — plus the LoRA adapter under peft_adapter/ (adapter_model.safetensors + adapter_config.json). train_15k.log is the full training log.

Intended uses & limitations

  • Intended: research, reproduction, and studying the TR⇄HI S2ST + overfitting trajectory. A teaching artifact for sweep→run→diagnosis.
  • Out of scope / limitations: not production-ready — overfit, low per-codebook accuracy, no human eval, narrow domain (FLEURS read speech). May hallucinate or produce low-naturalness audio. Do not deploy for real translation without re-training (see below).

How to use

This is a composite model (custom architecture), not a drop-in transformers pipeline. Load via the training repo's src/model/composite.py: base Cohere2 backbone + the LoRA adapter (peft_adapter/) + the .pt components, then decode Mimi codes to audio. See the repo README for the loading + inference path. Use the best_by_val folder.

Recommended next run (fixing the overfit)

Lower capacity + regularization + early stopping: lora_r 16–32, higher weight_decay/dropout, stop at ~1–2k steps (or use best-N checkpoint averaging), and/or more/augmented data.

Bias, risks & limitations

Trained on FLEURS (read speech, limited speakers/domains); quality and fairness across dialects, accents, code-switching, and spontaneous speech are untested. Speech translation can mistranslate, omit, or fabricate content — outputs must not be relied upon for high-stakes communication.

License caveat (important)

These weights are CC-BY-NC-4.0 — non-commercial use only. They are LoRA derivatives of CohereLabs/tiny-aya-base, which is CC-BY-NC-4.0, so the non-commercial term is inherited; Apache-2.0 was not ours to grant over them and an earlier version of this card said so in error. The authors' separate training/eval code remains Apache-2.0, and the Moshi/Mimi components are CC-BY-4.0.

Acknowledgements

This model was trained on Cloud TPU v6e-8 hardware generously provided by Google's TPU Research Cloud (TRC) program. We thank the TRC team for supporting this research.

Citation

@misc{tinyaya_tr_hi_s2st_v0_2,
  title  = {TinyAya: Turkish-Hindi Speech-to-Speech Translation (v0.2)},
  author = {tiny-aya-translate},
  year   = {2026},
  note   = {Cohere2 + frozen Moshi depth decoder, LoRA, trained on Google TRC TPU v6e-8},
  url    = {https://huggingface.co/tiny-aya-translate/tr-hi-s2st-v0.2}
}

Where this sits

The v0.3 speech-to-speech pipeline, end to end:

tr-hi-parallel-text          text triples (en pivot -> tr / hi)
        |  TTS
tr-hi-parallel-speech-v2     synthetic speech + QC signals
        |  Mimi encode
tr-hi-mimi-encoded           8-codebook tokens + word alignments
        |  Stage-2 training
tr-hi-s2st-v0.3              the released model
Modeltr-hi-s2st-v0.3
Texttr-hi-parallel-text
Speechtr-hi-parallel-speech-v2 · -v3
Encodedtr-hi-mimi-encoded
Eval setsfleurs-tr-hi-mimi-encoded · lahaja-eval · cv-tr-eval

Code

repowhat it does
modelStage-2 training, evaluation harness and TPU launch tooling
tinyaya-moshi-backboneproof-of-concept that validated Tiny Aya as a Moshi backbone

Project

TinyAya Stage 2 — Turkish⇄Hindi speech-to-speech translation with a text inner-monologue: a LoRA-adapted Cohere2 backbone driving a frozen Moshi depth decoder over Mimi codes.

The v0.3 run covered 76,250 steps / 2.07 epochs on a Cloud TPU v6e-16 (best val composite 2.8199 @ step 76,000). Read honestly: the text inner-monologue learns to translate (free-run chrF++ ~25.7 / 25.1), while intelligible audio synthesis remains the frontier (ASR-chrF++ 3.7 / 9.6 against a 92.1 / 86.6 ground-truth-audio ceiling) — bounded by the frozen depth decoder, not by translation understanding.

Compute for the v0.3 run was provided by Google's TPU Research Cloud (TRC).

Fuentes

1 fuente
Hugging FacePrincipalVersión ed015058bea6c8f23b5c5db2ca9725fde9d49547
huggingface.co/tiny-aya-translate/tr-hi-s2st-v0.2/tree/ed015058bea6c8f23b5c5db2ca9725fde9d49547

Verificado 12 oct

Artefactos del modelo

1 artefacto

best_by_val/peft_adapter/adapter_model.safetensors

safetensors · 27,6 MB · SHA-256 f09ab37768e5…2aa9 · Hugging Face

Download file

Extractos de fuentes

2 extractos

--- language: - tr - hi # Derivative of CohereLabs/tiny-aya-base (CC-BY-NC-4.0) -> inherits NC. # The training/eval CODE is Apache-2.0 (GitHub repo). license: cc-by-nc-4.0 library_name: peft pipeline_tag: audio-to-audio tags: - speech-to-speech-translation - simultaneous-translation - moshi - mimi - lora - tpu - turkish - hindi base_model: CohereLabs/tiny-aya-base datasets: - tiny-aya-translate/fleurs-tr-hi-mimi-encoded model-index: - name: tr-hi-s2st-v0.2 results: [] # v0.2 superseded by v0.3 (trained on the wrong FLEURS dataset); not separately evaluated --- # TinyAya — Turkish⇄Hindi Speech-to-Speech Translation (v0.2) > ⚠️ **Research preview — this checkpoint overfit.** Released for transparency > and to document the full training trajectory. The recommended weights are > **`best_by_val` (step 1,000)**, *not* the final step-15,000 checkpoint. See > [Evaluation & the overfitting story](#evaluation--the-overfitting-story). > ## ⚠️ Dataset disclosure — honest correction > > This checkpoint was trained on **[`tiny-aya-translate/fleurs-tr-hi-mimi-encoded`](https://huggingface.co/datasets/tiny-aya-translate/fleurs-tr-hi-mimi-encoded)** > — Mimi-encoded **FLEURS** Turkish↔Hindi read speech (~27% real FLEURS audio + > ~73% multi-voice TTS over FLEURS text; ≈8.3k train / 929 val). > > **This was not the dataset we intended to train on.** The project's synthetic > data pipeline — FLORES + OPUS-100 + machine-translated conversational text, > rendered with multi-voice TTS into > **[`tiny-aya-translate/tr-hi-mimi-encoded`](https://huggingface.co/datasets/tiny-aya-translate/tr-hi-mimi-encoded)** > (~1.3M clips) — is the corpus our accompanying write-up describes. The training > launcher's `HF_DATASET` default pointed at the **`fleurs-`** *sibling* repo, so > v0.2 silently trained on FLEURS read speech instead of the synthetic > conversational corpus. We are disclosing this openly rather than quietly > re-labeling the run. > > **v0.3 corrects the data source** (→ `tr-hi-mimi-encoded`) together with the > codebase fixes (parallel-stream collator, regularization, deep-codebook > weighting). See [`tr-hi-s2st-v0.3`](https://huggingface.co/tiny-aya-translate/tr-hi-s2st-v0.3). Moshi-style **simultaneous speech-to-speech translation** for **Turkish ⇄ Hindi**: a LoRA-fine-tuned **Cohere2** backbone fused with a **frozen Moshi depth decoder**, operating on **...

Source context: 0 downloads · 2 likes · Pipeline audio-to-audio · Library peft · Repo tiny-aya-translate/tr-hi-s2st-v0.2