transformers-blenderbot-cn icon indicating copy to clipboard operation
transformers-blenderbot-cn copied to clipboard

an error when run python train.py

Open RyanYip-Kat opened this issue 3 years ago • 3 comments

When I run python train.py,I got an error :TypeError: call() missing 1 required positional argument: 'inputs'.And How can I fix it?Thanks!

RyanYip-Kat avatar Jul 27 '21 10:07 RyanYip-Kat

Did you change the code? If so, please send it to have a look. Because of the original code, I run well. It should also be noted that tokenizer is written by individuals. It is only applicable to Chinese and does not support English for the time being.

tang-ed avatar Jul 30 '21 15:07 tang-ed

I haven't changed anything. Re downloaded your updated code, re run or report the same error,. I don't know how to fix this issue

RyanYip-Kat avatar Jul 31 '21 02:07 RyanYip-Kat

That shouldn't be. My guess is that there is a problem with your programming environment, because I didn't see the complete error report. You can try to run it in Google-colab, where the programming environment is quite friendly. My project link is: https://colab.research.google.com/drive/1j6EdS0fLIqqQT0Gg-mGk6vLvqV-h4q_ N?usp=sharing

tang-ed avatar Jul 31 '21 02:07 tang-ed