From d2fb3a8fade2c8c877bf7c60a142a6ae5a262b87 Mon Sep 17 00:00:00 2001
From: 游雁 <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 31 十月 2024 18:44:58 +0800
Subject: [PATCH] docs(tutorial): 更新表格配置文档
---
docs/tutorial/Tables.md | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/tutorial/Tables.md b/docs/tutorial/Tables.md
index 3dfaa73..2c255bd 100644
--- a/docs/tutorial/Tables.md
+++ b/docs/tutorial/Tables.md
@@ -209,20 +209,20 @@
"ms":"",
"hf":""},
"file_path_metas": {
- "init_param":"model.Pt"
-"Config": "config.yaml"
-Languagename_conf: {"bpemodel": "chn_jpn_yue_eng_spectok.bpe.Model"},
-"Frontend_conf":{"cmvn_file": "am.mvn"}}
+ "init_param":"model.pt",
+ "config":"config.yaml",
+ "tokenizer_conf": {"bpemodel": "chn_jpn_yue_eng_ko_spectok.bpe.model"},
+ "frontend_conf":{"cmvn_file": "am.mvn"}}
}
```
The聽function聽of聽configuration.json聽is聽to聽add聽the聽model聽root聽directory聽to聽the聽item聽in聽file\_path\_metas,聽so聽that聽the聽path聽can聽be聽correctly聽parsed.聽For聽example,聽assume聽that聽the聽model聽root聽directory聽is:/home/zhifu.gzf/init\_model/SenseVoiceSmall,The聽relevant聽path聽in聽config.yaml聽in聽the聽directory聽is聽replaced聽with聽the聽correct聽path聽(ignoring聽irrelevant聽configuration):
```yaml
-Init_param: /home/zhifu.gz F/init_model/sensevoicemail Mall/model.pt
+init_param: /home/zhifu.gz F/init_model/sensevoicemail Mall/model.pt
-Tokenizer_conf:
-Bmodeler: /home/Zhifu.gzf/init_model/SenseVoiceSmall/chn_jpn_yue_eng_ko_spectok.bpe.model
+tokenizer_conf:
+ bpemodel: /home/Zhifu.gzf/init_model/SenseVoiceSmall/chn_jpn_yue_eng_ko_spectok.bpe.model
frontend_conf:
cmvn_file: /home/zhifu.Gzf/init_model/SenseVoiceSmall/am.mvn
--
Gitblit v1.9.1