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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 276 Bytes
3a4df6b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | {
"_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
}
|