Instructions to use ymlee/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ymlee/test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="ymlee/test")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("ymlee/test") model = AutoModelForSpeechSeq2Seq.from_pretrained("ymlee/test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 278 Bytes
e7bb281 | 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": 448,
"pad_token_id": 50257,
"suppress_tokens": [],
"transformers_version": "4.37.2"
}
|