From 3dd48e5ab56fab80acb6790c09cce0882b97a29a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=B8=E9=9B=81?= Date: Wed, 17 Jul 2024 15:05:52 +0800 Subject: [PATCH] update --- README.md | 9 ++++++--- README_zh.md | 8 ++++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1d31a85..cbb726b 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,7 @@ SenseVoice is a speech foundation model with multiple speech understanding capab

- Online Demo -| Homepage + Homepage What's News Benchmarks Install @@ -23,6 +22,10 @@ SenseVoice is a speech foundation model with multiple speech understanding capab Model Zoo: [modelscope](https://www.modelscope.cn/models/iic/SenseVoiceSmall), [huggingface](https://huggingface.co/FunAudioLLM/SenseVoiceSmall) +Online Demo: +[modelscope demo](https://www.modelscope.cn/studios/iic/SenseVoice), [huggingface space](https://huggingface.co/spaces/FunAudioLLM/SenseVoice) + +

@@ -162,7 +165,7 @@ from model import SenseVoiceSmall from funasr.utils.postprocess_utils import rich_transcription_postprocess model_dir = "iic/SenseVoiceSmall" -m, kwargs = SenseVoiceSmall.from_pretrained(model=model_dir) +m, kwargs = SenseVoiceSmall.from_pretrained(model=model_dir, device="cuda:0") res = m.inference( diff --git a/README_zh.md b/README_zh.md index 8b8825a..8dbf069 100644 --- a/README_zh.md +++ b/README_zh.md @@ -22,7 +22,11 @@ SenseVoice是具有音频理解能力的音频基础模型,包括语音识别 | 联系我们 -模型仓库:中国大陆用户推荐 [modelscope](https://www.modelscope.cn/models/iic/SenseVoiceSmall),海外用户推荐 [huggingface](https://huggingface.co/FunAudioLLM/SenseVoiceSmall) +模型仓库:[modelscope](https://www.modelscope.cn/models/iic/SenseVoiceSmall),[huggingface](https://huggingface.co/FunAudioLLM/SenseVoiceSmall) + +在线体验: +[modelscope demo](https://www.modelscope.cn/studios/iic/SenseVoice), [huggingface space](https://huggingface.co/spaces/FunAudioLLM/SenseVoice) + @@ -166,7 +170,7 @@ from model import SenseVoiceSmall from funasr.utils.postprocess_utils import rich_transcription_postprocess model_dir = "iic/SenseVoiceSmall" -m, kwargs = SenseVoiceSmall.from_pretrained(model=model_dir) +m, kwargs = SenseVoiceSmall.from_pretrained(model=model_dir, device="cuda:0") res = m.inference(