Run this model with HF Jobs

Run openlimi/LFM3-Audio-2B-Uzbek-v1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/openlimi/LFM3-Audio-2B-Uzbek-v1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/openlimi/LFM3-Audio-2B-Uzbek-v1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

LFM3-Audio-2B-Uzbek-v1: Uzbek speech-to-speech assistant (ASR + chat + TTS)

EN. An early, open experiment in Uzbek (o'zbek tili) speech-to-speech. One model, fine-tuned from LiquidAI/LFM3-Audio-2B, that does Uzbek speech recognition (ASR), Uzbek text chat, and Uzbek text-to-speech (TTS). Chained as speech → text → reply → speech it works as a voice-to-voice assistant (a cascade; code included in inference.py and app.py). Single-pass end-to-end voice chat in Uzbek was not trained.

UZ. LFM3-Audio-2B asosida o'zbek tiliga moslashtirilgan birinchi tajriba versiyasi: nutqni matnga aylantiradi (ASR), o'zbekcha javob yozadi (suhbat) va matnni ovozga aylantiradi (TTS). Uchalasini ketma-ket ulab (nutq → matn → javob → nutq) ovozdan-ovozga (voice-to-voice) yordamchi sifatida ishlatish mumkin (kaskad; kod inference.py va app.py ichida). Bitta o'tishda ishlaydigan end-to-end voice-chat rejimi o'zbek tilida o'rgatilmagan. Bu Liquid AI'ning rasmiy relizi emas.

Quick start

# pip install -r requirements.txt   (GPU kerak; T4 yetarli)
from huggingface_hub import hf_hub_download
hf_hub_download("openlimi/LFM3-Audio-2B-Uzbek-v1", "inference.py", local_dir=".")
from inference import UzbekVoiceBot, load_audio

bot = UzbekVoiceBot("openlimi/LFM3-Audio-2B-Uzbek-v1")
print(bot.transcribe(load_audio("savol.wav")))          # nutq -> matn (ASR)
answer = bot.chat("O'zbekistonning poytaxti qaysi shahar?")  # suhbat
wav = bot.speak(answer, n=3)                              # matn -> ovoz (TTS, 24 kHz numpy)
res = bot.answer_audio(load_audio("savol.wav"))           # butun kaskad (voice-to-voice)

Gradio demo: python app.py (mikrofon bilan sinash).

Results (natijalar)

Metric Value
ASR CER / WER 7.7 % / 27.5 %

100 held-out clips from the ASR training corpus (openlimi/uzbek-speech-1700h validation split). Same source as training, speaker overlap not controlled, so real-world error will likely be higher. No independent benchmark has been run.

Limitations (cheklovlar)

  • Writes fluent Uzbek but makes up facts (dates, people, geography, numbers). Do not use it as a source of truth. Chat answers can be short or off-topic.
  • TTS is trained on one female speaker (~11 h), unstable on very short inputs (1-2 words) and rare words. Use speak(..., n=3) (best-of-n) for better quality.
  • Voice-to-voice is a cascade, not end-to-end. Typical latency on a T4 is several seconds per reply.
  • Not tested on noisy audio, dialects or clips longer than 30 s.

Training (o'rgatish)

Single T4 GPU, LoRA (r=64; language model and audio-output layers), adapters merged into the base weights.

  • Text: Uzbek news (MLDataScientist/Uzbek_news_dataset) + web text (HuggingFaceFW/fineweb-2, uzn_Latn), about 50M tokens.
  • ASR: ~60 h subset of openlimi/uzbek-speech-1700h.
  • TTS: one female speaker from BaseLayer/uzbek_speech_40h_fast_retranscribed, ~11 h.
  • Chat (SFT): behbudiy/alpaca-cleaned-uz, UAzimov/uzbek-instruct-llm (part machine-translated), ~10% English yahma/alpaca-cleaned, ~70 hand-written dialogue pairs.
  • LoRA adapters and intermediate stages: BaseLayer/lfm3-audio-uz-ckpt.

License and data

Base-model license: lfm1.0 (see LICENSE in this repo); it applies to this derivative, read it before use. The training datasets have different licenses; check each one before relying on or redistributing this model. This card makes no claim about dataset licenses.

Ethics

The TTS voice is trained on a real speaker's recordings. Do not use it to impersonate anyone or to deceive; tell users when speech is synthetic.

Roadmap (v2)

More ASR data, curated (not machine-translated) Uzbek instruction data, multi-speaker TTS, larger-GPU training, and a real end-to-end Uzbek voice-chat mode.

Downloads last month
19
Safetensors
Model size
2B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for openlimi/LFM3-Audio-2B-Uzbek-v1

Finetuned
(8)
this model

Datasets used to train openlimi/LFM3-Audio-2B-Uzbek-v1

Collection including openlimi/LFM3-Audio-2B-Uzbek-v1