Automatic Speech Recognition
Transformers
Safetensors
fun_asr_nano
speech-recognition
asr
end-to-end
multilingual
arxiv:2509.12508
Run this model with HF Jobs
Run FunAudioLLM/Fun-ASR-Nano-2512-hf on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/FunAudioLLM/Fun-ASR-Nano-2512-hf. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/FunAudioLLM/Fun-ASR-Nano-2512-hf on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Refresh checkpoint for shared Whisper component layout
#2
by langgz - opened
Files changed (4)
1232345678101191011121314151617181914151620211920212222232425242526272859 unmodified lines888990919192{ "adaptor_downsample_rate": 1, "adaptor_dropout": 0.0, "activation_function": "relu", "adaptor_intermediate_size": 2048, "adaptor_num_attention_heads": 8, "adaptor_num_hidden_layers": 2, "architectures": [ "FunAsrNanoForConditionalGeneration" ], "audio_encoder_config": { "attention_dropout": 0.0, "audio_token_id": 151646, "dtype": "bfloat16", "encoder_config": { "activation_dropout": 0.1, "activation_function": "relu", "attention_dropout": 0.1, "d_model": 512, "dropout": 0.1, "encoder_attention_heads": 4, "encoder_ffn_dim": 2048, "encoder_layers": 50, "initializer_range": 0.02, "input_size": 560, "intermediate_size": 2048, "kernel_size": 11, "model_type": "fun_asr_nano_encoder", "num_attention_heads": 4, "output_dim": 512, "sanm_shift": 0, "tp_blocks": 20 "num_mel_bins": 80, "num_stacked_frames": 7, "num_timestamp_prediction_blocks": 20 }, "audio_token_index": 151646, "dtype": "bfloat16", "initializer_range": 0.02, "model_type": "fun_asr_nano", "text_config": {59 unmodified lines "vocab_size": 151936 }, "tie_word_embeddings": true, "transformers_version": "5.13.0.dev0" "transformers_version": "5.15.0.dev0"}3 unmodified lines45677893 unmodified lines "eos_token_id": 151645, "output_attentions": false, "output_hidden_states": false, "transformers_version": "5.13.0.dev0", "transformers_version": "5.15.0.dev0", "use_cache": true}12323version https://git-lfs.github.com/spec/v1oid sha256:bc11982f1cb33c77c21208365d3a1a19cf103cf4a0b1cab96684b70728b231absize 1659742664oid sha256:335ca3e74917f1156690400e2c344350112950165789cf78ce3d0a367affd821size 1659778184122349 unmodified lines141516181718{ "audio_downsample_rate": 1, "audio_token": "<|object_ref_start|>", "default_transcription_prompt": "Transcribe the audio:", "feature_extractor": {9 unmodified lines "return_attention_mask": true, "sampling_rate": 16000 }, "max_audio_len": null, "processor_class": "FunAsrNanoProcessor"}config.json+14-14
generation_config.json+1-1
model.safetensors+2-2
processor_config.json-2