with open(bpe_filename, "r", encoding="utf-8") as f: TypeError: expected str, bytes or os.PathLike object, not NoneType
badalgupta19 opened this issue · 2 comments
badalgupta19 commented
Facing this error, from the opensai_model.py file. This error sometimes comes and sometimes everything runs smooth
eren23 commented
It happens when you usually pass in a None type to a function when it's trying to read a file. Maybe bpe_filename is not always defined, you forgot to run the cell maybe. These are my initial thoughts though.