Open jastronaut opened 3 years ago
Hello @jastronaut, sorry for the delayed response! Could you please share how you downloaded the PyPI package? Did do "pip install" or did you get the code from the repo? Also, could you share your versions for the followings packages:
transformers==2.11.0
requests==2.24.0
pytorch-transformers==1.2.0
torch==1.7.1
torchvision==0.8.2
Necroing this thread as I had the same issue!
I installed using pip3 install bertmoticon
and got the same error. My versions were
Python implementation: CPython Python version : 3.7.9 IPython version : 7.19.0
transformers : 4.10.2 requests : 2.25.1 pytorch-transformers: 1.2.0 torch : 1.9.0+cu111 torchvision : 0.10.0+cu102 bertmoticon : 1.0.1
Downgrading my transformer package to 2.11.0 fixed the error. Hope this helps!
when running this example, i'm getting a TypeError: