You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
I try to run this repo, but I met error below:
Traceback (most recent call last):
File "train_eval.py", line 481, in <module>
main()
File "train_eval.py", line 437, in main
num_added = tokenizer.add_tokens(add_tokens, offset=offset)
TypeError: add_tokens() got an unexpected keyword argument 'offset'
My environment:
Python: 3.7.0
Transformers: 2.2.0
Tensorflow: 2.0
I checked all of version of the transformer, but I haven't found version that has offset argument in the add_tokens method