Automatic Speech Recognition
Transformers
PyTorch
TensorFlow
JAX
ONNX
Safetensors
whisper
audio
asr
hf-asr-leaderboard
Instructions to use NbAiLab/nb-whisper-base-beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NbAiLab/nb-whisper-base-beta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="NbAiLab/nb-whisper-base-beta")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("NbAiLab/nb-whisper-base-beta") model = AutoModelForSpeechSeq2Seq.from_pretrained("NbAiLab/nb-whisper-base-beta") - Notebooks
- Google Colab
- Kaggle
Uploaded beta
Browse files
README.md
CHANGED
|
@@ -26,9 +26,9 @@ widget:
|
|
| 26 |
example_title: FLEURS sample 2
|
| 27 |
---
|
| 28 |
|
| 29 |
-
# NB-Whisper
|
| 30 |
|
| 31 |
-
This is a **_public beta_** of the Norwegian NB-Whisper
|
| 32 |
|
| 33 |
<center>
|
| 34 |
<figure>
|
|
@@ -104,7 +104,7 @@ from transformers import pipeline
|
|
| 104 |
|
| 105 |
asr = pipeline(
|
| 106 |
"automatic-speech-recognition",
|
| 107 |
-
"NbAiLab/nb-whisper-
|
| 108 |
)
|
| 109 |
asr(
|
| 110 |
"audio.mp3",
|
|
|
|
| 26 |
example_title: FLEURS sample 2
|
| 27 |
---
|
| 28 |
|
| 29 |
+
# NB-Whisper Base (beta)
|
| 30 |
|
| 31 |
+
This is a **_public beta_** of the Norwegian NB-Whisper Base model released by the National Library of Norway. NB-Whisper is a series of models for automatic speech recognition (ASR) and speech translation, building upon the foundation laid by [OpenAI's Whisper](https://arxiv.org/abs/2212.04356). All models are trained on 20,000 hours of labeled data.
|
| 32 |
|
| 33 |
<center>
|
| 34 |
<figure>
|
|
|
|
| 104 |
|
| 105 |
asr = pipeline(
|
| 106 |
"automatic-speech-recognition",
|
| 107 |
+
"NbAiLab/nb-whisper-base-beta"
|
| 108 |
)
|
| 109 |
asr(
|
| 110 |
"audio.mp3",
|