Automatic Speech Recognition
Transformers
PyTorch
Catalan
whisper
audio
catalan
whisper-large-v3
projecte-aina
barcelona-supercomputing-center
bsc
Eval Results (legacy)
Instructions to use projecte-aina/whisper-large-v3-ca-3catparla with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use projecte-aina/whisper-large-v3-ca-3catparla with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="projecte-aina/whisper-large-v3-ca-3catparla")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("projecte-aina/whisper-large-v3-ca-3catparla") model = AutoModelForSpeechSeq2Seq.from_pretrained("projecte-aina/whisper-large-v3-ca-3catparla", device_map="auto") - Notebooks
- Google Colab
- Kaggle
More updates
Browse files
README.md
CHANGED
|
@@ -258,7 +258,9 @@ pip install evaluate
|
|
| 258 |
```python
|
| 259 |
#This code works with GPU
|
| 260 |
|
| 261 |
-
#Notice that: load_metric is no longer part of datasets
|
|
|
|
|
|
|
| 262 |
|
| 263 |
import torch
|
| 264 |
from transformers import WhisperForConditionalGeneration, WhisperProcessor
|
|
|
|
| 258 |
```python
|
| 259 |
#This code works with GPU
|
| 260 |
|
| 261 |
+
#Notice that: load_metric is no longer part of datasets.
|
| 262 |
+
#you have to remove it and use evaluate's load instead.
|
| 263 |
+
#(Note from November 2024)
|
| 264 |
|
| 265 |
import torch
|
| 266 |
from transformers import WhisperForConditionalGeneration, WhisperProcessor
|