Automatic Speech Recognition
Transformers
Safetensors
fun_asr_nano
speech-recognition
asr
end-to-end
multilingual
arxiv:2509.12508
Instructions to use FunAudioLLM/Fun-ASR-Nano-2512-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FunAudioLLM/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="FunAudioLLM/Fun-ASR-Nano-2512-hf")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("FunAudioLLM/Fun-ASR-Nano-2512-hf") model = AutoModelForMultimodalLM.from_pretrained("FunAudioLLM/Fun-ASR-Nano-2512-hf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from FunAudioLLM/Fun-ASR-Nano-2512-hf: direct link, hf CLI and curl.
- Browser
- Download file 537 Bytes
-
https://huggingface.co/FunAudioLLM/Fun-ASR-Nano-2512-hf/resolve/refs%2Fpr%2F1/processor_config.json
- Command line
-
hf download hf://FunAudioLLM/Fun-ASR-Nano-2512-hf@refs/pr/1/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/FunAudioLLM/Fun-ASR-Nano-2512-hf/resolve/refs%2Fpr%2F1/processor_config.json
537 Bytes
| { | |
| "audio_downsample_rate": 1, | |
| "audio_token": "<|object_ref_start|>", | |
| "default_transcription_prompt": "Transcribe the audio:", | |
| "feature_extractor": { | |
| "feature_extractor_type": "FunAsrNanoFeatureExtractor", | |
| "feature_size": 80, | |
| "frame_length": 25, | |
| "frame_shift": 10, | |
| "lfr_m": 7, | |
| "lfr_n": 6, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "preemphasis": 0.97, | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000 | |
| }, | |
| "max_audio_len": null, | |
| "processor_class": "FunAsrNanoProcessor" | |
| } | |