Run this model with HF Jobs
Run BatuhanECB/ukus 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/BatuhanECB/ukus. 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/BatuhanECB/ukus 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.
Instructions to use BatuhanECB/ukus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BatuhanECB/ukus with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="BatuhanECB/ukus")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("BatuhanECB/ukus") model = AutoModelForSpeechSeq2Seq.from_pretrained("BatuhanECB/ukus", device_map="auto") - Notebooks
- Google Colab
- Kaggle
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq
processor = AutoProcessor.from_pretrained("BatuhanECB/ukus")
model = AutoModelForSpeechSeq2Seq.from_pretrained("BatuhanECB/ukus", device_map="auto")Ukuล
Tรผrkรงe konuลma tanฤฑma (ASR) modeli. openai/whisper-large-v3-turbo tabanlฤฑ, 809M parametre. Hem ๐ค Transformers hem faster-whisper (CTranslate2) biรงiminde gelir.
| Taban model | openai/whisper-large-v3-turbo |
| Parametre | 809M (32 katman encoder, 4 katman decoder) |
| Dil | Tรผrkรงe |
| Girdi | 16 kHz mono ses (daha dรผลรผk รถrnekleme hฤฑzlarฤฑ otomatik yรผkseltilir) |
| Dosyalar | model.safetensors (FP32, 3,1 GB) ยท ct2/ (CTranslate2 FP16, 1,6 GB) |
| Lisans | MIT |
รne รงฤฑkanlar
- turkishvoice: 1. sฤฑra, 17 model arasฤฑnda (WER 8,45).
- turkmedstt CV + ISSAI + MediaSpeech: 1. sฤฑra, 21 model arasฤฑnda (WER 9,55).
- Telefon kanalฤฑ (8 kHz): dayanฤฑklฤฑ. FLEURS'te temiz ses ile 8 kHz ฮผ-law arasฤฑndaki fark yalnฤฑz +0,35 WER.
- Boyut: turbo boyutunda. Tรผketici GPU'larฤฑnda, รถrneฤin 8 GB VRAM'de FP16 ile รงalฤฑลฤฑr.
Kullanฤฑm
faster-whisper (รถnerilen)
from huggingface_hub import snapshot_download
from faster_whisper import WhisperModel
yol = snapshot_download("BatuhanECB/ukus", allow_patterns=["ct2/*"])
model = WhisperModel(f"{yol}/ct2", device="cuda", compute_type="float16") # CPU: device="cpu", compute_type="int8"
segmentler, _ = model.transcribe("ses.wav", language="tr", beam_size=5, condition_on_previous_text=False)
print(" ".join(s.text.strip() for s in segmentler))
๐ค Transformers
import torch
from transformers import pipeline
asr = pipeline("automatic-speech-recognition", model="BatuhanECB/ukus",
torch_dtype=torch.float16, device="cuda:0")
print(asr("ses.wav", generate_kwargs={"language": "turkish", "task": "transcribe"},
chunk_length_s=30, batch_size=8)["text"])
รnerilen ayarlar
- Dili sabitleyin:
language="tr". Otomatik dil algฤฑlamayฤฑ kapatmak kฤฑsa kliplerde hatayฤฑ azaltฤฑr. - Uzun kayฤฑtlarda
condition_on_previous_text=Falsetekrar dรถngรผsรผ riskini azaltฤฑr. - 30 saniyeden uzun, sessizlik iรงeren kayฤฑtlarda
vad_filter=True(faster-whisper) faydalฤฑdฤฑr. Kฤฑsa kliplerde kapalฤฑ bฤฑrakฤฑn.
Benchmark sonuรงlarฤฑ
WER / CER (%), dรผลรผk daha iyi. Sฤฑra, herkese aรงฤฑk Tรผrkรงe ASR panolarฤฑndaki modellerle aynฤฑ รถlรงรผm reรงetesiyle yaptฤฑฤฤฑmฤฑz kendi รถlรงรผmรผmรผzdรผr; resmi pano kaydฤฑ deฤildir.
| pano | test | รถrnek | WER / CER | sฤฑra |
|---|---|---|---|---|
| ysdede | turkishvoice | 9.999 | 8,45 / 2,34 | 1/17 |
| ysdede | MediaSpeech | 2.513 | 14,66 / 4,47 | 6/17 |
| ysdede | Common Voice 17 (fixed) | 9.650 | 12,18 / 3,76 | 6/12 |
| RsGoksel | MediaSpeech-TR | 2.513 | 14,88 / 4,58 | 5/19 |
| RsGoksel | Common Voice 17 TR (2000) | 2.000 | 11,41 / 3,44 | 4/19 |
| RsGoksel | FLEURS temiz | 743 | 8,30 / 4,04 | 7/19 |
| RsGoksel | FLEURS + codec (Opus 8/12/16/32 ort.) | 743 ร 4 | 9,16 / 4,33 | 7/19 |
| RsGoksel | FLEURS + gรผrรผltรผ (20/10/0 dB ort.) | 743 ร 3 | 14,52 / 7,95 | 8/19 |
| RsGoksel | FLEURS + gรผrรผltรผ + codec (12 koลul ort.) | 743 ร 12 | 19,35 / 10,74 | 8/19 |
| turkmedstt | CV + ISSAI + MediaSpeech | 1.016 | 9,55 / 2,59 | 1/21 |
| Emre-Akgul | FLEURS test (NeMo TN) | 743 | 8,02 / 3,93 | 16/28 |
| YTU COSMOS | gerรงek telefon | 20 | 23,20 / 7,36 | 8/17 |
| YTU COSMOS | sentetik | 20 | 6,93 / 0,77 | 16/17 |
รlรงรผm reรงeteleri her panonun kendi yรถntemini izler:
- ysdede: WhisperX + trnorm, klip ortalamasฤฑ.
- RsGoksel: faster-whisper, beam 5, trnorm, korpus dรผzeyi.
- turkmedstt: HF greedy, 30 sn pencere.
- Emre-Akgul: faster-whisper varsayฤฑlan, NeMo metin normalizasyonu.
- YTU COSMOS: resmi deฤerlendirme kiti, herkese aรงฤฑk 20 รถrnek.
Panolardaki gizli setlerde sonuรง farklฤฑ olabilir.
Telefon kanalฤฑ (8 kHz ฮผ-law)
Test sesleri 8 kHz ฮผ-law'a indirilip yeniden 16 kHz'e รงฤฑkarฤฑldฤฑ. Bu, telefon hattฤฑ benzetimidir.
| test | temiz WER / CER | telefon WER / CER |
|---|---|---|
| FLEURS | 8,30 / 4,04 | 8,65 / 3,57 |
| Common Voice 17 (2000) | 11,41 / 3,44 | 12,75 / 4,49 |
| MediaSpeech | 14,88 / 4,58 | 14,79 / 4,56 |
FLEURS bozulma testleri
Gรผrรผltรผ kaynaฤฤฑ MUSAN, codec Opus.
| koลul | WER / CER |
|---|---|
| temiz | 8,30 / 4,04 |
| Opus 8 / 12 / 16 / 32 kbps | 11,72 / 5,69 ยท 9,17 / 4,55 ยท 8,42 / 3,77 ยท 7,32 / 3,31 |
| gรผrรผltรผ 20 / 10 / 0 dB | 9,28 / 4,58 ยท 11,64 / 6,15 ยท 22,65 / 13,12 |
| gรผrรผltรผ 20 dB + Opus 8 / 12 / 16 / 32 | 13,67 / 6,46 ยท 11,45 / 6,12 ยท 10,89 / 5,62 ยท 9,04 / 4,45 |
| gรผrรผltรผ 10 dB + Opus 8 / 12 / 16 / 32 | 20,45 / 10,61 ยท 14,89 / 7,88 ยท 13,40 / 7,38 ยท 12,03 / 6,41 |
| gรผrรผltรผ 0 dB + Opus 8 / 12 / 16 / 32 | 45,08 / 27,61 ยท 29,42 / 17,01 ยท 27,08 / 15,24 ยท 24,78 / 14,10 |
Ham sonuรงlar: benchmark/
Sฤฑnฤฑrlamalar
- Whisper ailesinin bilinen sorunlarฤฑ burada da geรงerlidir: sessiz ya da รงok kฤฑsa kliplerde uydurma metin, uzun kayฤฑtlarda tekrar dรถngรผsรผ.
- Yabancฤฑ รถzel adlar ve nadir terimler hatalฤฑ yazฤฑlabilir.
- รok gรผrรผltรผlรผ ortamlarda (0 dB ve altฤฑ) hata belirgin biรงimde artar.
- รฤฑktฤฑ noktalama ve bรผyรผk harf iรงerir. Deฤerlendirmeler normalize edilmiล metin รผzerinden yapฤฑlmฤฑลtฤฑr.
Lisans
MIT. Taban modelin (openai/whisper-large-v3-turbo) lisansฤฑyla uyumludur.
- Downloads last month
- 38
Model tree for BatuhanECB/ukus
Base model
openai/whisper-large-v3Evaluation results
- wer on turkishvoicedatasetself-reported8.450
- cer on turkishvoicedatasetself-reported2.340
- wer on MediaSpeech TRself-reported14.660
- cer on MediaSpeech TRself-reported4.470
- wer on Common Voice 17 TR (fixed)self-reported12.180
- cer on Common Voice 17 TR (fixed)self-reported3.760
- wer on FLEURS TRtest set self-reported8.300
- cer on FLEURS TRtest set self-reported4.040
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="BatuhanECB/ukus")