Instructions to use Almoooo/hasa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Almoooo/hasa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Almoooo/hasa")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("Almoooo/hasa") model = AutoModelForSpeechSeq2Seq.from_pretrained("Almoooo/hasa") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_from_model_config": true, | |
| "begin_suppress_tokens": [ | |
| 220, | |
| 50257 | |
| ], | |
| "bos_token_id": 50257, | |
| "decoder_start_token_id": 50258, | |
| "eos_token_id": 50257, | |
| "max_length": 1024, | |
| "pad_token_id": 50257, | |
| "transformers_version": "4.49.0", | |
| "use_cache": false | |
| } | |