RuolinZheng08 / twewy-discord-chatbot

Discord AI Chatbot using DialoGPT, trained on the game transcript of The World Ends With You
https://www.freecodecamp.org/news/discord-ai-chatbot/
MIT License
317 stars 156 forks source link

Error while Running the Main Function #21

Open OysterNeb opened 1 year ago

OysterNeb commented 1 year ago

WARNING:main:Process rank: -1, device: cuda, n_gpu: 1, distributed training: False, 16-bits training: False

FileNotFoundError Traceback (most recent call last) in ----> 1 main(trn_df, val_df)

4 frames /usr/local/lib/python3.9/dist-packages/transformers/configuration_utils.py in _dict_from_json_file(cls, json_file) 734 @classmethod 735 def _dict_from_json_file(cls, json_file: Union[str, os.PathLike]): --> 736 with open(json_file, "r", encoding="utf-8") as reader: 737 text = reader.read() 738 return json.loads(text)

FileNotFoundError: [Errno 2] No such file or directory: 'cached/models--microsoft--DialoGPT-small/snapshots/4e936e3a11f8e077b31eec8f045499c92c7cf087/config.json'

I'm having this error while trying to run main(trn_df, val_df) and I can't find anything about it Any help will be very apreciated!