Prompt Engineering | Prompt Versioning | Use GPT or other prompt based models to get structured output. Join our discord for Prompt-Engineering, LLMs and other latest research
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.
Facing this error, from the opensai_model.py file. This error sometimes comes and sometimes everything runs smooth