From d2fb3a8fade2c8c877bf7c60a142a6ae5a262b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=B8=E9=9B=81?= Date: Thu, 31 Oct 2024 18:44:58 +0800 Subject: [PATCH] =?UTF-8?q?docs(tutorial):=20=E6=9B=B4=E6=96=B0=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E9=85=8D=E7=BD=AE=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/tutorial/Tables.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/tutorial/Tables.md b/docs/tutorial/Tables.md index 3dfaa733b..2c255bd3f 100644 --- a/docs/tutorial/Tables.md +++ b/docs/tutorial/Tables.md @@ -209,20 +209,20 @@ Path resolution: configuration.json (not required) "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