mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
docs(tutorial): 更新表格配置文档
This commit is contained in:
parent
811c516932
commit
d2fb3a8fad
@ -209,20 +209,20 @@ Path resolution: configuration.json (not required)
|
|||||||
"ms":"",
|
"ms":"",
|
||||||
"hf":""},
|
"hf":""},
|
||||||
"file_path_metas": {
|
"file_path_metas": {
|
||||||
"init_param":"model.Pt"
|
"init_param":"model.pt",
|
||||||
"Config": "config.yaml"
|
"config":"config.yaml",
|
||||||
Languagename_conf: {"bpemodel": "chn_jpn_yue_eng_spectok.bpe.Model"},
|
"tokenizer_conf": {"bpemodel": "chn_jpn_yue_eng_ko_spectok.bpe.model"},
|
||||||
"Frontend_conf":{"cmvn_file": "am.mvn"}}
|
"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):
|
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
|
```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:
|
tokenizer_conf:
|
||||||
Bmodeler: /home/Zhifu.gzf/init_model/SenseVoiceSmall/chn_jpn_yue_eng_ko_spectok.bpe.model
|
bpemodel: /home/Zhifu.gzf/init_model/SenseVoiceSmall/chn_jpn_yue_eng_ko_spectok.bpe.model
|
||||||
|
|
||||||
frontend_conf:
|
frontend_conf:
|
||||||
cmvn_file: /home/zhifu.Gzf/init_model/SenseVoiceSmall/am.mvn
|
cmvn_file: /home/zhifu.Gzf/init_model/SenseVoiceSmall/am.mvn
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user