Automatic Speech Recognition
Transformers
Safetensors
PyTorch
Catalan
Spanish
whisper
speech-recognition
catalan
spanish
from-scratch
common-voice
Instructions to use duhow/veucat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use duhow/veucat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="duhow/veucat")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("duhow/veucat") model = AutoModelForSpeechSeq2Seq.from_pretrained("duhow/veucat", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from duhow/veucat: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/duhow/veucat/resolve/main/generation_config.json
- Command line
-
hf download hf://duhow/veucat/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/duhow/veucat/resolve/main/generation_config.json
1.57 kB
| { | |
| "_from_model_config": true, | |
| "begin_suppress_tokens": [], | |
| "bos_token_id": 24001, | |
| "decoder_start_token_id": 24001, | |
| "eos_token_id": 24000, | |
| "is_multilingual": true, | |
| "lang_to_id": { | |
| "<|ca|>": 24013, | |
| "<|es|>": 24005 | |
| }, | |
| "no_timestamps_token_id": 24106, | |
| "pad_token_id": 24000, | |
| "suppress_tokens": [ | |
| 24002, | |
| 24003, | |
| 24004, | |
| 24006, | |
| 24007, | |
| 24008, | |
| 24009, | |
| 24010, | |
| 24011, | |
| 24012, | |
| 24014, | |
| 24015, | |
| 24016, | |
| 24017, | |
| 24018, | |
| 24019, | |
| 24020, | |
| 24021, | |
| 24022, | |
| 24023, | |
| 24024, | |
| 24025, | |
| 24026, | |
| 24027, | |
| 24028, | |
| 24029, | |
| 24030, | |
| 24031, | |
| 24032, | |
| 24033, | |
| 24034, | |
| 24035, | |
| 24036, | |
| 24037, | |
| 24038, | |
| 24039, | |
| 24040, | |
| 24041, | |
| 24042, | |
| 24043, | |
| 24044, | |
| 24045, | |
| 24046, | |
| 24047, | |
| 24048, | |
| 24049, | |
| 24050, | |
| 24051, | |
| 24052, | |
| 24053, | |
| 24054, | |
| 24055, | |
| 24056, | |
| 24057, | |
| 24058, | |
| 24059, | |
| 24060, | |
| 24061, | |
| 24062, | |
| 24063, | |
| 24064, | |
| 24065, | |
| 24066, | |
| 24067, | |
| 24068, | |
| 24069, | |
| 24070, | |
| 24071, | |
| 24072, | |
| 24073, | |
| 24074, | |
| 24075, | |
| 24076, | |
| 24077, | |
| 24078, | |
| 24079, | |
| 24080, | |
| 24081, | |
| 24082, | |
| 24083, | |
| 24084, | |
| 24085, | |
| 24086, | |
| 24087, | |
| 24088, | |
| 24089, | |
| 24090, | |
| 24091, | |
| 24092, | |
| 24093, | |
| 24094, | |
| 24095, | |
| 24096, | |
| 24097, | |
| 24098, | |
| 24099, | |
| 24100, | |
| 24101, | |
| 24103, | |
| 24104, | |
| 24105 | |
| ], | |
| "task_to_id": { | |
| "transcribe": 24102, | |
| "translate": 24101 | |
| }, | |
| "transformers_version": "4.50.3", | |
| "use_cache": false | |
| } | |