Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

找不到latest_checkpointed_iteration.txt文件 #16

Open
chenchun0629 opened this issue Feb 13, 2023 · 1 comment
Open

找不到latest_checkpointed_iteration.txt文件 #16

chenchun0629 opened this issue Feb 13, 2023 · 1 comment

Comments

@chenchun0629
Copy link

chenchun0629 commented Feb 13, 2023

运行demo的时候 bash scripts/generate_text.sh data/workspace/models/Chinese-Transformer-XL/txl-2.9B/,提示WARNING: could not find the metadata file data/workspace/models/Chinese-Transformer-XL/txl-2.9B/latest_checkpointed_iteration.txt, will not load any checkpoints and will start from random 。 找不到在那里可以下载!

image

@duzx16
Copy link
Member

duzx16 commented Feb 21, 2023

代码在找不到latest_checkpointed_iteration.txt的情况下会尝试直接从给定的路径加载。请确保data/workspace/models/Chinese-Transformer-XL/txl-2.9B是一个目录并且下面有下载的mp_rank_00_model_states.pt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants