Downloads Β· 30 days
59
14% of all-time downloads
Maxdorger29/whisper-large-v3-hungarian-lora
whisper-large-v3-hungarian-lora is a automatic speech recognition model from Maxdorger29. Use it when you need speech turned into text. It is set up for peft. The card lists the license as mit.
[](https://ko-fi.com/maxdorger29) If this Hungarian ASR model helps your project, a coffee keeps the GPUs training. π
Downloads Β· 30 days
59
14% of all-time downloads
All-time downloads
433
Public
Repo size
3.2 GB
Likes
3
Public
Click a slice to open those files.
.bin3.1 GB Β· 98%
From the Hugging Face model README
Β If this Hungarian ASR model helps your project, a coffee keeps the GPUs training. π
A LoRA fine-tuned Whisper large-v3 model optimized for the Hungarian language. This model reduces common recognition inaccuracies and hallucinations of the base model on Hungarian speech (special Hungarian characters, native names, silence hallucinations).
This repository contains the CTranslate2-converted FP16 version for use with the popular faster-whisper library, plus the original PEFT LoRA adapter (in adapter/) for anyone who wants to merge onto the base model themselves β e.g. for MLX, vanilla transformers, or further fine-tuning.
Note: this model was previously published as
whisper-large-v3-turbo-hungarian-loraand was renamed to reflect its true base βopenai/whisper-large-v3(32 decoder layers, 128 mel bins), not the 4-layer turbo variant. The old name still redirects here, so existing links and downloads keep working.
compute_type="float16" (or "int8_float16" for lower VRAM)ref_text) for Maxdorger29/f5-tts-hungarian voice cloningpip install faster-whisper
from faster_whisper import WhisperModel
model_id = "Maxdorger29/whisper-large-v3-hungarian-lora"
model = WhisperModel(model_id, device="cuda", compute_type="float16")
segments, info = model.transcribe("magyar_hang_minta.wav", language="hu", beam_size=5)
for segment in segments:
print(f"[{segment.start:.2f}s -> {segment.end:.2f}s] {segment.text}")
Lower VRAM: compute_type="int8_float16".
The adapter/ folder contains the original PEFT artifacts (adapter_model.safetensors, ~60 MB). Merge onto the base model:
from transformers import WhisperForConditionalGeneration, WhisperProcessor
from peft import PeftModel
base = WhisperForConditionalGeneration.from_pretrained("openai/whisper-large-v3")
model = PeftModel.from_pretrained(base, "Maxdorger29/whisper-large-v3-hungarian-lora", subfolder="adapter")
merged = model.merge_and_unload()
processor = WhisperProcessor.from_pretrained("openai/whisper-large-v3")
merged.save_pretrained("./whisper-large-v3-hu-merged")
processor.save_pretrained("./whisper-large-v3-hu-merged")
After merging (above), convert the merged HF checkpoint with mlx-examples/whisper convert.py:
python convert.py --torch-name-or-path ./whisper-large-v3-hu-merged --mlx-path ./whisper-hu-mlx --dtype float16
| Parameter | Value |
|---|---|
| Base model | openai/whisper-large-v3 |
| Method | PEFT LoRA (r=32, alpha=64, dropout=0.05) |
| Target modules | q_proj, v_proj |
| Dataset | Google FLEURS hu_hu (3,502 train+val / 905 test) |
| Export | merged FP16 β CTranslate2 |
| File | Size | Description |
|---|---|---|
model.bin | ~3.1 GB | CTranslate2 FP16 model weights (merged) |
config.json | <3 KB | CTranslate2 configuration |
vocabulary.json | ~1.1 MB | Tokens and vocabulary |
preprocessor_config.json | <1 KB | Feature extractor config (128 mel bins β required for correct loading) |
adapter/adapter_model.safetensors | ~60 MB | Original PEFT LoRA adapter |
adapter/adapter_config.json | <1 KB | PEFT adapter configuration |
We originally fine-tuned this model as the transcription backend for Maxdorger29/f5-tts-hungarian, providing accurate reference texts (ref_text) for voice cloning.
Training and fine-tuning open-source TTS/STT models requires significant GPU resources. If this Hungarian-optimized Whisper LoRA speeds up your workflow, consider buying me a coffee β it directly supports the compute costs of future epochs! β
MIT License for the fine-tuning weights and scripts, provided usage does not violate the original terms of the OpenAI Whisper large-v3 model.
Fine-tuned for the Hungarian Open-Source AI Community.