Automatic Speech Recognition
Transformers
PyTorch
TensorBoard
Polish
whisper
whisper-event
Generated from Trainer
Eval Results (legacy)
Instructions to use bardsai/whisper-small-pl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bardsai/whisper-small-pl with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="bardsai/whisper-small-pl")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("bardsai/whisper-small-pl") model = AutoModelForSpeechSeq2Seq.from_pretrained("bardsai/whisper-small-pl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from bardsai/whisper-small-pl: direct link, hf CLI and curl.
- Browser
- Download file 829 Bytes
-
https://huggingface.co/bardsai/whisper-small-pl/resolve/eea0d8fd31b8867ae93c5fa751476e7e4f3a0287/tokenizer_config.json
- Command line
-
hf download hf://bardsai/whisper-small-pl@eea0d8fd31b8867ae93c5fa751476e7e4f3a0287/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/bardsai/whisper-small-pl/resolve/eea0d8fd31b8867ae93c5fa751476e7e4f3a0287/tokenizer_config.json
829 Bytes
| { | |
| "add_bos_token": false, | |
| "add_prefix_space": false, | |
| "bos_token": { | |
| "__type": "AddedToken", | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "__type": "AddedToken", | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "errors": "replace", | |
| "model_max_length": 1024, | |
| "name_or_path": "openai/whisper-small", | |
| "pad_token": null, | |
| "processor_class": "WhisperProcessor", | |
| "return_attention_mask": false, | |
| "special_tokens_map_file": null, | |
| "tokenizer_class": "WhisperTokenizer", | |
| "unk_token": { | |
| "__type": "AddedToken", | |
| "content": "", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |