Instructions to use casual/whisper_tiny_24til with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use casual/whisper_tiny_24til with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="casual/whisper_tiny_24til")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("casual/whisper_tiny_24til") model = AutoModelForSpeechSeq2Seq.from_pretrained("casual/whisper_tiny_24til", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from casual/whisper_tiny_24til: direct link, hf CLI and curl.
- Browser
- Download file 248 Bytes
-
https://huggingface.co/casual/whisper_tiny_24til/resolve/main/generation_config.json
- Command line
-
hf download hf://casual/whisper_tiny_24til/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/casual/whisper_tiny_24til/resolve/main/generation_config.json
248 Bytes
| { | |
| "begin_suppress_tokens": [ | |
| 220, | |
| 50257 | |
| ], | |
| "bos_token_id": 50257, | |
| "decoder_start_token_id": 50258, | |
| "eos_token_id": 50257, | |
| "max_length": 448, | |
| "pad_token_id": 50257, | |
| "suppress_tokens": [], | |
| "transformers_version": "4.40.2" | |
| } | |