Automatic Speech Recognition
Transformers
PyTorch
TensorFlow
JAX
TensorBoard
ONNX
Safetensors
whisper
audio
asr
hf-asr-leaderboard
Instructions to use NbAiLabBeta/nb-whisper-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NbAiLabBeta/nb-whisper-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="NbAiLabBeta/nb-whisper-base", device_map="auto")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("NbAiLabBeta/nb-whisper-base") model = AutoModelForSpeechSeq2Seq.from_pretrained("NbAiLabBeta/nb-whisper-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update export_models.sh
Browse files- export_models.sh +1 -1
export_models.sh
CHANGED
|
@@ -41,7 +41,7 @@ print("Done")
|
|
| 41 |
END
|
| 42 |
|
| 43 |
echo "Saving model to GGML (whisper.cpp)..."
|
| 44 |
-
wget -O convert-h5-to-ggml.py "https://raw.githubusercontent.com/
|
| 45 |
mkdir -p whisper/assets
|
| 46 |
wget -O whisper/assets/mel_filters.npz "https://github.com/openai/whisper/raw/c5d42560760a05584c1c79546a098287e5a771eb/whisper/assets/mel_filters.npz"
|
| 47 |
python ./convert-h5-to-ggml.py ./ ./ ./
|
|
|
|
| 41 |
END
|
| 42 |
|
| 43 |
echo "Saving model to GGML (whisper.cpp)..."
|
| 44 |
+
wget -O convert-h5-to-ggml.py "https://raw.githubusercontent.com/NbAiLab/nb-whisper/main/convert-h5-to-ggml.py"
|
| 45 |
mkdir -p whisper/assets
|
| 46 |
wget -O whisper/assets/mel_filters.npz "https://github.com/openai/whisper/raw/c5d42560760a05584c1c79546a098287e5a771eb/whisper/assets/mel_filters.npz"
|
| 47 |
python ./convert-h5-to-ggml.py ./ ./ ./
|