Automatic Speech Recognition
Transformers
Safetensors
fun_asr_nano
text-generation
speech-recognition
asr
end-to-end
multilingual
streaming
arxiv:2407.04051
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")# Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("FunAudioLLM/Fun-ASR-Nano-2512-hf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
docs: use canonical FunASR ecosystem links
Browse filesPoint Fun-ASR and SenseVoice links at their canonical QwenAudio repositories. Keep deployment links current; the Transformers card also pins the verified PR head.
README.md
CHANGED
|
@@ -22,7 +22,7 @@ tags:
|
|
| 22 |
|
| 23 |
This model is part of the **FunASR** ecosystem — one industrial-grade open-source toolkit for **ASR · VAD · punctuation · speaker diarization · emotion / event · LLM-ASR**. A Star really helps the project (and keeps you updated):
|
| 24 |
|
| 25 |
-
[**🌟 FunASR**](https://github.com/modelscope/FunASR) · [**🌟 SenseVoice**](https://github.com/
|
| 26 |
|
| 27 |
</div>
|
| 28 |
|
|
@@ -40,7 +40,7 @@ With [PyTorch installed for your platform](https://pytorch.org/get-started/local
|
|
| 40 |
|
| 41 |
```bash
|
| 42 |
python -m pip install accelerate librosa \
|
| 43 |
-
"transformers @ https://github.com/huggingface/transformers/archive/
|
| 44 |
```
|
| 45 |
|
| 46 |
```python
|
|
@@ -85,4 +85,4 @@ inputs = processor.apply_transcription_request(
|
|
| 85 |
).to(model.device)
|
| 86 |
```
|
| 87 |
|
| 88 |
-
`language` accepts Chinese, English, and Japanese as ISO codes, full English names, or native names. For batch inference, training, `torch.compile`, benchmarks, and the full model description, see the [Transformers documentation](https://github.com/huggingface/transformers/blob/
|
|
|
|
| 22 |
|
| 23 |
This model is part of the **FunASR** ecosystem — one industrial-grade open-source toolkit for **ASR · VAD · punctuation · speaker diarization · emotion / event · LLM-ASR**. A Star really helps the project (and keeps you updated):
|
| 24 |
|
| 25 |
+
[**🌟 FunASR**](https://github.com/modelscope/FunASR) · [**🌟 SenseVoice**](https://github.com/QwenAudio/SenseVoice) · [**🌟 Fun-ASR**](https://github.com/QwenAudio/Fun-ASR) · [**🌟 FunClip**](https://github.com/modelscope/FunClip)
|
| 26 |
|
| 27 |
</div>
|
| 28 |
|
|
|
|
| 40 |
|
| 41 |
```bash
|
| 42 |
python -m pip install accelerate librosa \
|
| 43 |
+
"transformers @ https://github.com/huggingface/transformers/archive/aa0a25a4c55a70cff996267bcd7e96317fe4031c.zip"
|
| 44 |
```
|
| 45 |
|
| 46 |
```python
|
|
|
|
| 85 |
).to(model.device)
|
| 86 |
```
|
| 87 |
|
| 88 |
+
`language` accepts Chinese, English, and Japanese as ISO codes, full English names, or native names. For batch inference, training, `torch.compile`, benchmarks, and the full model description, see the [Transformers documentation](https://github.com/huggingface/transformers/blob/aa0a25a4c55a70cff996267bcd7e96317fe4031c/docs/source/en/model_doc/fun_asr_nano.md) and the [original model card](https://huggingface.co/FunAudioLLM/Fun-ASR-Nano-2512).
|