From bafff86af37f00a7ae599d110658f94ebb7d931f Mon Sep 17 00:00:00 2001 From: Dinghao Zhou Date: Fri, 22 Mar 2024 17:57:12 +0800 Subject: [PATCH] fix modify (#2436) * fix modify * Update README.md --- examples/aishell/paraformer/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/aishell/paraformer/README.md b/examples/aishell/paraformer/README.md index 64482c44d..9fe648842 100644 --- a/examples/aishell/paraformer/README.md +++ b/examples/aishell/paraformer/README.md @@ -7,7 +7,7 @@ mkdir -p ${output_dir} --output_dir ${output_dir} # init ctc and embed(used in sampler) python local/modify_ckpt.py \ - --add_list "{\"ctc.ctc_lo.weight\": \"decoder.embed.0.weight\", \"embed.0.weight\": \"decoder.embed.0.weight\"}" \ + --add_list "{\"ctc.ctc_lo.weight\": \"embed.weight\"}" \ --input_ckpt exp/paraformer/large/wenet_paraformer.pt \ --output_ckpt exp/paraformer/large/wenet_paraformer.init-ctc.init-embed.pt ```