TypeError: expected str, bytes or os.PathLike object, not NoneType #1147
Answered
by
XY2323819551
XY2323819551
asked this question in
Q&A
-
Hello, I tried to reproduce the code of “ance-prf” followed by "experiments-ance-prf.md", but the following error occurred. I the "encoders/ance-msmarco-passage" is downloaded from huggingface. Could you help me if it's convenient for you. Thanks very much!!
|
Beta Was this translation helpful? Give feedback.
Answered by
XY2323819551
May 6, 2022
Replies: 1 comment 2 replies
-
I got it! The checkpoint provided by the original author was missing the merges.txt file, I added this file to the checkpoint directory and then the code ran successfully! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
XY2323819551
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got it! The checkpoint provided by the original author was missing the merges.txt file, I added this file to the checkpoint directory and then the code ran successfully!