Instructions to use waveletdeboshir/whisper-tiny-ru-pruned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use waveletdeboshir/whisper-tiny-ru-pruned with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="waveletdeboshir/whisper-tiny-ru-pruned")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("waveletdeboshir/whisper-tiny-ru-pruned") model = AutoModelForSpeechSeq2Seq.from_pretrained("waveletdeboshir/whisper-tiny-ru-pruned", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "additional_special_tokens": [ | |
| "<|endoftext|>", | |
| "<|startoftranscript|>", | |
| "<|en|>", | |
| "<|ru|>", | |
| "<|translate|>", | |
| "<|transcribe|>", | |
| "<|startoflm|>", | |
| "<|startofprev|>", | |
| "<|nocaptions|>", | |
| "<|notimestamps|>" | |
| ], | |
| "bos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |