Skip to content

Commit

Permalink
fix modify (#2436)
Browse files Browse the repository at this point in the history
* fix modify

* Update README.md
  • Loading branch information
Mddct authored Mar 22, 2024
1 parent 66899f0 commit bafff86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/aishell/paraformer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit bafff86

Please sign in to comment.