From cc88b1b317dfc339a91b99093551cd4408a50eb8 Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期四, 31 十月 2024 18:49:42 +0800
Subject: [PATCH] Update finetune.sh
---
docs/tutorial/Tables.md | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/docs/tutorial/Tables.md b/docs/tutorial/Tables.md
index 3dfaa73..1e9d224 100644
--- a/docs/tutorial/Tables.md
+++ b/docs/tutorial/Tables.md
@@ -1,5 +1,7 @@
# FunASR-1.x.x聽Registration聽Tutorial
+([绠�浣撲腑鏂嘳(./Tables_zh.md)|English)
+
The聽original聽intention聽of聽the聽funasr-1.x.x聽version聽is聽to聽make聽model聽integration聽easier.聽The聽core聽feature聽is聽the聽registry聽and聽AutoModel:
* The聽introduction聽of聽the聽registry聽enables聽the聽development聽of聽building聽blocks聽to聽access聽the聽model,聽compatible聽with聽a聽variety聽of聽tasks;
@@ -209,20 +211,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