Upload 2 files
Browse files- README.md +22 -7
- README_zh.md +14 -6
README.md
CHANGED
|
@@ -1,7 +1,3 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
| 4 |
-
|
| 5 |
# Fun-ASR
|
| 6 |
|
| 7 |
「[简体中文](README_zh.md)」|「English」
|
|
@@ -29,6 +25,18 @@ Online Experience:
|
|
| 29 |
|
| 30 |
</div>
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
# Core Features 🎯
|
| 33 |
|
| 34 |
**Fun-ASR** focuses on high-precision speech recognition, multi-language support, and industry customization capabilities
|
|
@@ -65,7 +73,7 @@ from funasr import AutoModel
|
|
| 65 |
|
| 66 |
|
| 67 |
def main():
|
| 68 |
-
model_dir = "FunAudioLLM/Fun-ASR-
|
| 69 |
model = AutoModel(
|
| 70 |
model=model_dir,
|
| 71 |
trust_remote_code=True,
|
|
@@ -74,7 +82,14 @@ def main():
|
|
| 74 |
)
|
| 75 |
|
| 76 |
wav_path = f"{model.model_path}/example/zh.mp3"
|
| 77 |
-
res = model.generate(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
text = res[0]["text"]
|
| 79 |
print(text)
|
| 80 |
|
|
@@ -102,7 +117,7 @@ from model import FunASRNano
|
|
| 102 |
|
| 103 |
|
| 104 |
def main():
|
| 105 |
-
model_dir = "FunAudioLLM/Fun-ASR-
|
| 106 |
m, kwargs = FunASRNano.from_pretrained(model=model_dir, device="cuda:0")
|
| 107 |
m.eval()
|
| 108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Fun-ASR
|
| 2 |
|
| 3 |
「[简体中文](README_zh.md)」|「English」
|
|
|
|
| 25 |
|
| 26 |
</div>
|
| 27 |
|
| 28 |
+
| Model Name | Task Details | Training Data | Parameters |
|
| 29 |
+
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------: | :--------: |
|
| 30 |
+
| Fun-ASR-Nano <br> ([⭐](https://www.modelscope.cn/models/FunAudioLLM/Fun-ASR-Nano-2512) [🤗](https://huggingface.co/FunAudioLLM/Fun-ASR-Nano-2512)) | Speech recognition supports Chinese, English, and Japanese. Chinese includes support for 7 dialects and 26 regional accents. English and Japanese cover multiple regional accents. Additional features include lyric recognition and rap speech recognition. | Tens of millions of hours | 800M |
|
| 31 |
+
| Fun-ASR-MLT-Nano <br> ([⭐](https://www.modelscope.cn/models/FunAudioLLM/Fun-ASR-MLT-Nano-2512) [🤗](https://huggingface.co/FunAudioLLM/Fun-ASR-MLT-Nano-2512)) | Speech recognition supports Chinese, English, Cantonese, Japanese, Korean, Vietnamese, Indonesian, Thai, Malay, Filipino, Arabic, Hindi, Bulgarian, Croatian, Czech, Danish, Dutch, Estonian, Finnish, Greek, Hungarian, Irish, Latvian, Lithuanian, Maltese, Polish, Portuguese, Romanian, Slovak, Slovenian, Swedish, and 31 languages in total. | Hundreds of thousands of hours | 800M |
|
| 32 |
+
|
| 33 |
+
<a name="What's News"></a>
|
| 34 |
+
|
| 35 |
+
# What's New 🔥
|
| 36 |
+
|
| 37 |
+
- 2025/12: [Fun-ASR-Nano-2512](https://modelscope.cn/models/FunAudioLLM/Fun-ASR-Nano-2512) is an end-to-end speech recognition large model trained on tens of millions of hours real speech data. It supports low-latency real-time transcription and covers 31 languages.
|
| 38 |
+
- 2024/7: [FunASR](https://github.com/modelscope/FunASR) is a fundamental speech recognition toolkit that offers a variety of features, including speech recognition (ASR), Voice Activity Detection (VAD), Punctuation Restoration, Language Models, Speaker Verification, Speaker Diarization and multi-talker ASR.
|
| 39 |
+
|
| 40 |
# Core Features 🎯
|
| 41 |
|
| 42 |
**Fun-ASR** focuses on high-precision speech recognition, multi-language support, and industry customization capabilities
|
|
|
|
| 73 |
|
| 74 |
|
| 75 |
def main():
|
| 76 |
+
model_dir = "FunAudioLLM/Fun-ASR-Nano-2512"
|
| 77 |
model = AutoModel(
|
| 78 |
model=model_dir,
|
| 79 |
trust_remote_code=True,
|
|
|
|
| 82 |
)
|
| 83 |
|
| 84 |
wav_path = f"{model.model_path}/example/zh.mp3"
|
| 85 |
+
res = model.generate(
|
| 86 |
+
input=[wav_path],
|
| 87 |
+
cache={},
|
| 88 |
+
batch_size=1,
|
| 89 |
+
hotwords=["开放时间"],
|
| 90 |
+
language="zh", # auto, zh, en, ja
|
| 91 |
+
itn=True, # or False
|
| 92 |
+
)
|
| 93 |
text = res[0]["text"]
|
| 94 |
print(text)
|
| 95 |
|
|
|
|
| 117 |
|
| 118 |
|
| 119 |
def main():
|
| 120 |
+
model_dir = "FunAudioLLM/Fun-ASR-Nano-2512"
|
| 121 |
m, kwargs = FunASRNano.from_pretrained(model=model_dir, device="cuda:0")
|
| 122 |
m.eval()
|
| 123 |
|
README_zh.md
CHANGED
|
@@ -1,7 +1,3 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
| 4 |
-
|
| 5 |
# Fun-ASR
|
| 6 |
|
| 7 |
「简体中文」|「[English](README.md)」
|
|
@@ -22,13 +18,25 @@ Fun-ASR 是通义实验室推出的端到端语音识别大模型,是基于数
|
|
| 22 |
|
| 23 |
</h4>
|
| 24 |
|
| 25 |
-
模型仓库:[modelscope](https://www.modelscope.cn/models/FunAudioLLM/Fun-ASR-Nano-2512),[huggingface
|
| 26 |
|
| 27 |
在线体验:
|
| 28 |
-
[魔搭社区创空间](https://modelscope.cn/studios/FunAudioLLM/Fun-ASR
|
| 29 |
|
| 30 |
</div>
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
# 核心特性 🎯
|
| 33 |
|
| 34 |
**Fun-ASR** 专注于高精度语音识别、多语言支持和行业定制化能力
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Fun-ASR
|
| 2 |
|
| 3 |
「简体中文」|「[English](README.md)」
|
|
|
|
| 18 |
|
| 19 |
</h4>
|
| 20 |
|
| 21 |
+
模型仓库:[modelscope](https://www.modelscope.cn/models/FunAudioLLM/Fun-ASR-Nano-2512),[huggingface](https://huggingface.co/FunAudioLLM/Fun-ASR-Nano-2512)
|
| 22 |
|
| 23 |
在线体验:
|
| 24 |
+
[魔搭社区创空间](https://modelscope.cn/studios/FunAudioLLM/Fun-ASR),[huggingface space](https://huggingface.co/spaces/FunAudioLLM/Fun-ASR)
|
| 25 |
|
| 26 |
</div>
|
| 27 |
|
| 28 |
+
| 模型 | 介绍 | 训练数据 | 参数 |
|
| 29 |
+
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------: | :--: |
|
| 30 |
+
| Fun-ASR-Nano <br> ([⭐](https://www.modelscope.cn/models/FunAudioLLM/Fun-ASR-Nano-2512) [🤗](https://huggingface.co/FunAudioLLM/Fun-ASR-Nano-2512)) | 支持中文、英文、日文。中文包含 7 种方言及 26 种地域口音支持。英文、日文涵盖多种地域口音。额外功能包括歌词识别与说唱语音识别。 | 数千万小时 | 8 亿 |
|
| 31 |
+
| Fun-ASR-MLT-Nano <br> ([⭐](https://www.modelscope.cn/models/FunAudioLLM/Fun-ASR-MLT-Nano-2512) [🤗](https://huggingface.co/FunAudioLLM/Fun-ASR-MLT-Nano-2512)) | 支持中文、英文、粤语、日文、韩文、越南语、印尼语、泰语、马来语、菲律宾语、阿拉伯语、印地语、保加利亚语、克罗地亚语、捷克语、丹麦语、荷兰语、爱沙尼亚语、芬兰语、希腊语、匈牙利语、爱尔兰语、拉脱维亚语、立陶宛语、马耳他语、波兰语、葡萄牙语、罗马尼亚语、斯洛伐克语、斯洛文尼亚语、瑞典语,共 31 种语言。 | 数十万小时 | 8 亿 |
|
| 32 |
+
|
| 33 |
+
<a name="最新动态"></a>
|
| 34 |
+
|
| 35 |
+
# 最新动态 🔥
|
| 36 |
+
|
| 37 |
+
- 2025/12: [Fun-ASR-Nano-2512](https://modelscope.cn/models/FunAudioLLM/Fun-ASR-Nano-2512) 是一款基于数千万小时真实语音数据训练的端到端语音识别大模型。它支持低延迟实时转写,并涵盖 31 种语言识别功能。
|
| 38 |
+
- 2024/7: [FunASR](https://github.com/modelscope/FunASR) 是一款功能全面的语音识别基础工具包,集成了多项核心功能,包括自动语音识别(ASR)、语音活动检测(VAD)、标点恢复、语言模型、说话人验证、说话人日志记录以及多说话人语音识别。
|
| 39 |
+
|
| 40 |
# 核心特性 🎯
|
| 41 |
|
| 42 |
**Fun-ASR** 专注于高精度语音识别、多语言支持和行业定制化能力
|