Instructions to use devkya/custom-peft-whiper-small-ko with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use devkya/custom-peft-whiper-small-ko with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="devkya/custom-peft-whiper-small-ko")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("devkya/custom-peft-whiper-small-ko") model = AutoModelForSpeechSeq2Seq.from_pretrained("devkya/custom-peft-whiper-small-ko", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from devkya/custom-peft-whiper-small-ko: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/devkya/custom-peft-whiper-small-ko/resolve/main/generation_config.json
- Command line
-
hf download hf://devkya/custom-peft-whiper-small-ko/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/devkya/custom-peft-whiper-small-ko/resolve/main/generation_config.json
283 Bytes
| { | |
| "_from_model_config": true, | |
| "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.41.0.dev0" | |
| } | |