Run this model with HF Jobs
Run BH-Language-AI/bh-speech-1-2b 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/BH-Language-AI/bh-speech-1-2b. 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/BH-Language-AI/bh-speech-1-2b 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 BH-Language-AI/bh-speech-1-2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BH-Language-AI/bh-speech-1-2b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="BH-Language-AI/bh-speech-1-2b")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("BH-Language-AI/bh-speech-1-2b") model = AutoModelForSpeechSeq2Seq.from_pretrained("BH-Language-AI/bh-speech-1-2b", device_map="auto") - Notebooks
- Google Colab
- Kaggle

BH-Speech-1-2B v0 β Bosnian ASR β PUBLISHED
First published ASR model of the BH-Speech project β full weights + frozen evaluation. Full fine-tune of
openai/whisper-large-v3on FLEURSbs_ba, languagebs, task transcribe.
BH-Speech-1-2B v0 converts Bosnian speech into text (ijekavica, Latin script) β for meeting transcription, subtitling, voice agents and accessibility. On the frozen FLEURS test set (925 clips, touched ONCE after training) it achieves WER 14.83% / CER 5.31%, with dev 14.92% / 5.52% β better than the stock whisper-large-v3 baseline (dev/100: 18.14/6.96), below the external reference BuzzASR (13.46/3.59, their recipe + their data). It is used with the standard transformers ASR pipeline.
Other directions in the series (planned): diarization + TTS β only after the v1 ASR cycle.
Benchmark (measured, not promised)
Frozen test: FLEURS bs_ba test split (925, CC-BY-4.0) β NEVER in training.
| Model | WER β | CER β | Status |
|---|---|---|---|
| stock whisper-large-v3 (zero-shot, dev/100) | 18.14 | 6.96 | our baseline |
| BH-Speech-1-2B v0 (this model, test) | 14.83 | 5.31 | PUBLISHED |
| BuzzASR/bosnian (external reference, test) | 13.46 | 3.59 | MIT |
Normalization: BasicTextNormalizer (lowercase). v1 goal: get below 13.46 (more data + recipe tuning).
Usage
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="BH-Language-AI/bh-speech-1-2b")
tekst = pipe("govor_16kHz.wav", generate_kwargs={"language": "bosnian", "task": "transcribe"})
print(tekst["text"])
generation_config.json already carries language: bs, task: transcribe β it works without generate_kwargs as well.
Training
- Base:
openai/whisper-large-v3Β· full fine-tune bf16 (no LoRA β peft 0.21.2 clashes with transformers 5.19 on Whisper, see the job log) - Data: FLEURS
bs_baraw (tsv+wav): train 3091 / dev 400 / test 925 β CC-BY-4.0, attribution mandatory; theshunyalabscopy is not used - Hyperparameters: 3 epochs, LR 1e-5, warmup 200, batch 8Γ4, final loss 1.754
- Where: LUMI dev-g (MI250X GCD, ROCm, job 24048537) Β· Collection: BH-Speech
Limitations
- Below the BuzzASR reference (13.46) β v0 is a production start, not SOTA.
- Common Voice bs is available only through the Mozilla Data Collective β it is not used.
- The purpose of v0 is exclusively ASR; diarization/TTS are not in this repo.
- The old repo
bh-speech-asris an archive (deprecated) β use this one.
BH-Speech Β· Kolektiv d.o.o. + Gamatrade d.o.o. Β· Rule: no fabrication, every number from a real run.
Related models
Evaluation and citation
The GUI-grounding benchmark behind our computer-use line is published with per-item predictions and a scorer:
cua β ScreenSpot-Pro 1,355/1,581 = 85.71 %, DOI 10.5281/zenodo.24732632
(repository: https://github.com/gamai-io/cua).
Signed-action evidence for agents: gama-mandate 1.0.58, DOI
10.5281/zenodo.24732646.
Every benchmark number we publish carries a command, a file or the word card-reported; numbers we could not
reproduce are listed as withdrawn in cua/CLAIMS.md.
- Downloads last month
- 50
Model tree for BH-Language-AI/bh-speech-1-2b
Base model
openai/whisper-large-v3