Instructions to use bezzam/Fun-ASR-Nano-2512-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bezzam/Fun-ASR-Nano-2512-hf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="bezzam/Fun-ASR-Nano-2512-hf")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("bezzam/Fun-ASR-Nano-2512-hf") model = AutoModelForMultimodalLM.from_pretrained("bezzam/Fun-ASR-Nano-2512-hf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 412 Bytes
9b569e3 174a2b8 9b569e3 174a2b8 9b569e3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | {
"audio_token": "<|object_ref_start|>",
"feature_extractor": {
"feature_extractor_type": "FunAsrNanoFeatureExtractor",
"feature_size": 80,
"frame_length": 25,
"frame_shift": 10,
"num_frames_lfr": 7,
"padding_side": "right",
"padding_value": 0.0,
"return_attention_mask": true,
"sampling_rate": 16000,
"stride_lfr": 6
},
"processor_class": "FunAsrNanoProcessor"
}
|