Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix modify #2436

Merged
merged 2 commits into from
Mar 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading