Instructions to use vinai/PhoWhisper-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vinai/PhoWhisper-tiny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="vinai/PhoWhisper-tiny")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("vinai/PhoWhisper-tiny") model = AutoModelForSpeechSeq2Seq.from_pretrained("vinai/PhoWhisper-tiny", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from vinai/PhoWhisper-tiny: direct link, hf CLI and curl.
- Browser
- Download file 2.2 MB
-
https://huggingface.co/vinai/PhoWhisper-tiny/resolve/main/tokenizer.json
- Command line
-
hf download hf://vinai/PhoWhisper-tiny/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/vinai/PhoWhisper-tiny/resolve/main/tokenizer.json
2.2 MB
File too large to display, you can check the raw version instead.