Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
MooER_pytorch
Commits
2f6c23cd
"src/vscode:/vscode.git/clone" did not exist on "1f9b76173c1a60f31f29aedb2d5c771dde44c2bf"
Commit
2f6c23cd
authored
Oct 31, 2024
by
dcuai
Browse files
Update README.md
parent
166b5ca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
README.md
README.md
+2
-9
No files found.
README.md
View file @
2f6c23cd
...
...
@@ -7,7 +7,7 @@ MooER模型是一个由摩尔线程开发的、基于大语言模型(Large Lan

## 算法原理
通过摩耳框架,
您
可以基于大语言模型(Large Language Model,LLM),以端到端的方式,将输入语音自动转录为文本(即语音识别),并将其翻译为其它语言(即语音翻译)
通过摩耳框架,可以基于大语言模型(Large Language Model,LLM),以端到端的方式,将输入语音自动转录为文本(即语音识别),并将其翻译为其它语言(即语音翻译)
## 环境配置
### Docker(方法一)
...
...
@@ -50,12 +50,6 @@ pip install -r requirements.txt
## 推理
1:下载预训练模型MooER-MTL-5K,推荐使用scnet快速下载链接
[
MooER-MTL-5K
](
),官方下载地址[ModelScope](https://modelscope.cn/models/MooreThreadsSpeech/MooER-MTL-5K)或者[HF-Mirror](https://hf-mirror.com/mtspeech/MooER-MTL-5K)。
```
# 使用ModelScope
git lfs clone https://modelscope.cn/models/MooreThreadsSpeech/MooER-MTL-5K
# 使用HF-Mirror
git lfs clone https://hf-mirror.com/mtspeech/MooER-MTL-5K
```
将下载后的文件放置在 `pretrained_models` 文件夹中。
```
shell
cp MooER-MTL-5K/
*
pretrained_models
...
...
@@ -122,7 +116,6 @@ export PYTHONPATH=$PWD/src:$PYTHONPATH
# 使用指定的音频文件
python inference.py --wav_path /path/to/your_audio_file
```
<br>
**指定语音识别模型,仅输出识别结果:**
``
`
python inference.py --task asr
\
...
...
@@ -133,7 +126,6 @@ python inference.py --task asr \
--lora_dir pretrained_models/asr/lora_weights
\
--wav_path /path/to/your_audio_file
```
<br>
**指定语音翻译模型,仅输出中译英结果**
```
python inference.py --task ast
\
...
...
@@ -158,6 +150,7 @@ ASR: 欢迎使用由摩尔线程开发的基于大语言模型的语音识别及
```
AST: Welcome to use the voice recognition and voice translation system based on the large language model developed by Moore Threads.
```
### 精度
无
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment