polakowo / gpt2bot

Your new Telegram buddy powered by transformers
MIT License
429 stars 107 forks source link

It is not running in the console #21

Open baponkar opened 1 year ago

baponkar commented 1 year ago

When I am typing this

python run_bot.py --type=console and getting Parsing the config... Loading the pipeline 'microsoft/DialoGPT-medium'... Running the console bot... Bot: Just start texting me. If I'm getting annoying, type "/reset". To quit the chat, press Ctrl-C. User: I don't know what should I put in there... then I put random user then I am getting ....\gpt2bot\venv\lib\site-packages\transformers\generation\utils.py", line 2484, in sample raise ValueError("If eos_token_id is defined, make sure that pad_token_id is defined.") ValueError: If eos_token_id is defined, make sure that pad_token_id is defined.

I have put my telegram and giphy token id in my_chatbot.cfg file How can I resolve this problem