Downloads · 30 days
7
0% of all-time downloads
remynd/whisper-medium-pt
whisper-medium-pt is a automatic speech recognition model from remynd. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as apache-2.0.
This model was trained on a subset of the synthetically generated data that later on was filtered to increase the performance of Whisper Model. The approach involves aligning representations of synthetic audio and cor…
Downloads · 30 days
7
0% of all-time downloads
All-time downloads
66.5K
Public
Parameters
764M
3.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors3.1 GB · 100%
From the Hugging Face model README
This model can be directly used for improving ASR systems in Portuguese, particularly in scenarios with limited real-world data or unique linguistic characteristics.
The model is not suitable for tasks involving languages other than Portuguese without additional fine-tuning and data adjustments.
Users should be aware of potential biases introduced by synthetic data and ensure the quality of the data aligns with the target application's requirements. It is recommended to evaluate the model's performance on diverse datasets to identify and mitigate biases.
from transformers import pipeline
model = pipeline("automatic-speech-recognition", model="my-north-ai/whisper-medium-pt")
result = model("path_to_audio_file.wav")
print(result)
The training data includes 140 hours of synthetically generated Portuguese speech and transcripts, along with real data from the Multilingual LibriSpeech Corpus (MLS), Common Voice (CV) 16.1, and the Perfil Sociolinguístico da Fala Bracarense (PSFB) dataset
The model was fine tuned using DDP methodolgy across 4 A10g GPUS
The preprocessing steps include text normalization, removal of special characters, and ensuring consistent formatting for TTS generation.
The testing data includes subsets from the FLEURS dataset and PSFB, chosen for their linguistic diversity and unique speech patterns.
| Model Size | Model Type | WER (Normalized) | WER (Non-Normalized) |
|---|---|---|---|
| Small | Pretrained | 10.87 | 15.43 |
| Small | FS-17.68% | 10.45 | 18.57 |
| Small | FS-3.92% | 10.34 | 18.53 |
| Small | FS-0.24% | 10.58 | 18.90 |
| Small | Zero Synthetic | 10.90 | 19.32 |
| Medium | Pretrained | 8.62 | 12.65 |
| Medium | FS-17.68% | 6.58 | 14.46 |
| Medium | FS-3.92% | 6.57 | 14.44 |
| Medium | FS-0.24% | 6.58 | 14.54 |
| Medium | Zero Synthetic | 6.97 | 14.74 |
| Large V3 | Pretrained | 7.70 | 11.78 |
| Large V3 | FS-17.68% | 4.73 | 10.83 |
| Large V3 | FS-3.92% | 4.65 | 11.09 |
| Large V3 | FS-0.24% | 4.80 | 11.28 |
| Large V3 | Zero Synthetic | 4.86 | 10.92 |
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).