Automatic Speech Recognition
Transformers
PyTorch
JAX
TensorBoard
ONNX
Safetensors
whisper
audio
asr
hf-asr-leaderboard
Instructions to use NbAiLabBeta/nb-whisper-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NbAiLabBeta/nb-whisper-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="NbAiLabBeta/nb-whisper-small")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("NbAiLabBeta/nb-whisper-small") model = AutoModelForSpeechSeq2Seq.from_pretrained("NbAiLabBeta/nb-whisper-small") - Notebooks
- Google Colab
- Kaggle
Update model_def.json
Browse files- model_def.json +3 -3
model_def.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
{
|
| 2 |
"template_url": "https://raw.githubusercontent.com/NbAiLab/nb-whisper/main/template.md",
|
| 3 |
"replacements": {
|
| 4 |
-
"#Finetuned#": "",
|
| 5 |
-
"#Size#": "Small",
|
| 6 |
"#size#": "small",
|
| 7 |
-
"#model_name#": "NbAiLabBeta/nb-whisper-
|
| 8 |
}
|
| 9 |
}
|
| 10 |
|
|
|
|
| 1 |
{
|
| 2 |
"template_url": "https://raw.githubusercontent.com/NbAiLab/nb-whisper/main/template.md",
|
| 3 |
"replacements": {
|
| 4 |
+
"#Finetuned#": "# Finetuned Verbatim model. \n\nThis model is trained 200 additional steps on top of the model below. This makes it outputting only text in lowercase and without punctation. It is also considerably more verbatim, and will not make any attempt at correcting grammatical errors in the text",
|
| 5 |
+
"#Size#": "Small Verbatim",
|
| 6 |
"#size#": "small",
|
| 7 |
+
"#model_name#": "NbAiLabBeta/nb-whisper-medium-verbatim"
|
| 8 |
}
|
| 9 |
}
|
| 10 |
|