Run this model with HF Jobs
Run inesc-id/WhisperLv3-FT 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/inesc-id/WhisperLv3-FT. 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/inesc-id/WhisperLv3-FT 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 inesc-id/WhisperLv3-FT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inesc-id/WhisperLv3-FT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="inesc-id/WhisperLv3-FT")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("inesc-id/WhisperLv3-FT") model = AutoModelForSpeechSeq2Seq.from_pretrained("inesc-id/WhisperLv3-FT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
WhisperLv3-FT: Whisper large-v3 fine-tuned for European Portuguese
Whisper large-v3 fine-tuned on 425 h of European Portuguese (EP-425), in 🤗 Transformers format. It outputs normalized text (lower-case, no punctuation, numbers written out in words). The same model packaged for WhisperX (CTranslate2, VAD-based segmentation), recommended for long-form audio, is WhisperLv3-EP-X.
From the paper CAMÕES: A Comprehensive Automatic Speech Recognition Benchmark for European Portuguese (INESC-ID / Instituto Superior Técnico). In the paper, this model is Table III → FT → WhisperLv3, trained on EP-425.
Version 2 (November 2026). Retrained on a repaired version of the training data (see Training), with a lower word error rate (EP Avg. 12.26 → 11.97, same decoding and scoring). Two differences in the output:
- Hyphenated words are kept (nota-se, guarda-roupa, segunda-feira). Version 1 learned from its training targets to drop the first part of every hyphenated word ("nota-se" → "se").
- Post-Acordo spelling (atores, projeto, ação): 99% of the words whose spelling changed with the 1990 Orthographic Agreement are written in the post-Acordo form on the CAMÕES test sets (version 1: 81%).
The exact model of the paper (version 1) is still available as revision v1:
WhisperForConditionalGeneration.from_pretrained("inesc-id/WhisperLv3-FT", revision="v1"), or
pipeline(..., model="inesc-id/WhisperLv3-FT", revision="v1").
Usage
import torch
from transformers import pipeline
asr = pipeline("automatic-speech-recognition", model="inesc-id/WhisperLv3-FT",
torch_dtype=torch.float16, device="cuda:0")
print(asr("audio.wav", generate_kwargs={"language": "portuguese", "task": "transcribe"})["text"])
For recordings longer than 30 s, pass return_timestamps=True (Whisper's sequential long-form decoding), or use
WhisperLv3-EP-X.
Results on the CAMÕES benchmark
WER (%) on the CAMÕES European Portuguese test sets, with plain Transformers decoding (float16, greedy, batches of 16; utterances over 30 s with Whisper's sequential long-form decoding) and the CAMÕES text normalizer (lower-case, no punctuation, numbers spelled out). Corpus-level WER per test set; each domain is the mean of its test sets and EP Avg. is the mean of the five domains. Both versions are scored here with the same scripts.
| Model | RS | BN | T/L | CS | SI | EP Avg. |
|---|---|---|---|---|---|---|
| Version 1 (the paper model) | 7.08 | 4.45 | 11.63 | 11.31 | 26.84 | 12.26 |
| This model (version 2) | 7.61 | 4.92 | 11.37 | 11.02 | 24.93 | 11.97 |
| Baseline: original Whisper large-v3, no fine-tuning (paper, Table III) | 32.4 | 7.9 | 15.4 | 18.3 | 49.0 | 24.6 |
Each version has the same weights as the same version of WhisperLv3-EP-X: the two repositories differ only in format and decoding.
EP domains: RS = read speech, BN = broadcast news, T/L = talks/lectures, CS = conversational speech, SI = sociolinguistic interviews. Without SpeechDat, which is not publicly available (the public CAMÕES benchmark, as in the CAMÕES leaderboard): RS 8.07 and EP Avg. 12.06 (version 1: RS 7.56, EP Avg. 12.36).
The CAMÕES normalizer also deletes the first part of every hyphenated word ("registaram-se" → "se", "primeiro-ministro" → "ministro") in the references, so writing the hyphenated word is counted as an error. This is why version 1, which learned to drop those words, scores best on read speech (RS) above. Scoring with hyphenated words kept, and pre- and post-Acordo spellings counted as equal, EP Avg. is 11.19 for this model and 12.73 for version 1.
Per test set
| Domain | Test set | Version 1 (paper) | This model |
|---|---|---|---|
| RS | BD-Público | 1.31 | 3.49 |
| RS | CommonVoice | 8.49 | 8.59 |
| RS | MLS_extended | 8.83 | 8.85 |
| RS | PT_Adults | 1.76 | 2.25 |
| RS | PT_Children (part 1) | 20.38 | 22.13 |
| RS | PT_Children (part 2) | 4.22 | 3.34 |
| RS | PT_Elderly | 7.93 | 7.87 |
| RS | SpeechDat | 3.68 | 4.39 |
| BN | ALERT | 4.45 | 4.92 |
| T/L | LECTRA | 9.83 | 11.03 |
| T/L | MuAViC | 13.42 | 11.71 |
| CS | PostPort | 13.92 | 14.13 |
| CS | VoxCeleb | 8.70 | 7.91 |
| SI | Fala Bracarense | 15.67 | 14.86 |
| SI | PT Fundamental | 38.01 | 35.01 |
Training
- Base model:
openai/whisper-large-v3(1.55B parameters, all fine-tuned) - Data: EP-425, 425 h of European Portuguese from 14 corpora (Section III-A of the paper). Targets: the original transcriptions, normalized with the CAMÕES normalizer but with hyphenated words protected. The Fala Bracarense transcripts (105k utterances) were rebuilt from the original transcriptions, restoring the hyphens, clitics and digits that were lost when the corpus was prepared ("lembro-me" had become "lembrome")
- Fine-tuning: 10 epochs, batch size 256, learning rate 1e-5, cosine schedule, 20% warm-up, label smoothing 0.1, bf16
- Final model: average of the weights of the checkpoints after epochs 2, 3 and 5 (better than any single epoch; later epochs overfit)
- Format: 🤗 Transformers (
safetensors)
Version 1 (the paper model): the same data before the Fala Bracarense repair, with the CAMÕES normalizer applied to the targets as is; 10 epochs, batch size 64, gradient accumulation 4, learning rate 1e-5, 10% warm-up (Section V).
Other CAMÕES models
| Model | Paper row (Table III) | Training data | EP Avg. | BP |
|---|---|---|---|---|
| WhisperLv3-EP-X | WhisperLv3-X, fine-tuned | EP-425 | 12.5 | 27.2 |
| WhisperLv3-EP-X-CPP | (capitalized + punctuated, not in the paper) | EP-425 | 12.2 | |
| WhisperLv3-FT (this model; paper numbers are version 1) | WhisperLv3, fine-tuned | EP-425 | 16.7 | 28.2 |
| EBranch-w2vBERT2-EP | EBranch-w2vBERT2, trained from scratch | EP-425 | 14.4 | 42.4 |
| WhisperLv3-X-PT-All | WhisperLv3-X, PT-All | EP-425 + BP-417 + AAP-8 | 13.0 | 18.8 |
Citation
@inproceedings{camoes,
title = {{CAMÕES: A Comprehensive Automatic Speech Recognition Benchmark for European Portuguese}},
author = {Carvalho, Carlos and Teixeira, Francisco and Botelho, Catarina and Pompili, Anna and
Solera-Ure{\~n}a, Rub{\'e}n and Paulo, S{\'e}rgio and Juli{\~a}o, Mariana and Rolland, Thomas and
Mendon{\c{c}}a, John and Pereira, Diogo and Trancoso, Isabel and Abad, Alberto},
booktitle = {Proceedings of the IEEE Automatic Speech Recognition and Understanding Workshop (ASRU)},
year = {2025}
}
- Downloads last month
- 497
Model tree for inesc-id/WhisperLv3-FT
Base model
openai/whisper-large-v3