Downloads · 30 days
308
41% of all-time downloads
PhilippeFuhrioso/whisper-large-v2-swiss-german-spc
whisper-large-v2-swiss-german-spc is a machine learning model from PhilippeFuhrioso. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of openai/whisper-large-v2 on Swiss German speech data.
Downloads · 30 days
308
41% of all-time downloads
All-time downloads
751
Public
Parameters
1.5B
6.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.2 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of openai/whisper-large-v2 on Swiss German speech data.
| Metric | Value |
|---|---|
| WER | 22.0% |
| CER | 14.0% |
Fine-tuned on Swiss German parliamentary speeches using curriculum learning with IoU-filtered stitched windows.
from transformers import WhisperForConditionalGeneration, WhisperProcessor
import torch
# Load model and processor
model = WhisperForConditionalGeneration.from_pretrained("PhilippeFuhrioso/whisper-large-v2-swiss-german-spc")
processor = WhisperProcessor.from_pretrained("PhilippeFuhrioso/whisper-large-v2-swiss-german-spc")
# Load your audio file (16kHz, mono)
# audio = ... # numpy array with shape (samples,)
# Prepare inputs
inputs = processor(audio, sampling_rate=16000, return_tensors="pt")
# Generate transcription
with torch.no_grad():
predicted_ids = model.generate(inputs.input_features)
transcription = processor.batch_decode(predicted_ids, skip_special_tokens=True)[0]
print(transcription)
The model was fine-tuned using:
## License
No commercial use allowed.