Pipeline module
Hi, I installed transformers following the instructions given on your website and when I try to use the pipeline function for example, I get the following error message :register_loss_scale_wrapper() takes 2 positional arguments but 3 were given
2022-04-04T10:40:40Z
HelloCan you post the code you used for me to reproduce the error?
2022-04-04T12:06:34Z
I just did this code to check if my installation went wrong or not :from transformers import pipeline
pipe = pipeline("sentiment-analysis")
print(pipe("I love you"))
2022-04-04T13:18:59Z
Can you post how you installed it?What I did and worked:!pip install transformers
from transformers import pipeline

pipe = pipeline("sentiment-analysis")

print(pipe("I love you"))The output:No model was supplied, defaulted to distilbert-base-uncased-finetuned-sst-2-english (https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english)

Downloading: 100%

629/629 [00:00<00:00, 14.2kB/s]

Downloading: 100%

255M/255M [00:06<00:00, 42.8MB/s]

Downloading: 100%

48.0/48.0 [00:00<00:00, 858B/s]

Downloading: 100%

226k/226k [00:00<00:00, 930kB/s]

[{'label': 'POSITIVE', 'score': 0.9998656511306763}]
2022-04-04T13:43:35Z
I already tried to unistall and reinstall (with pip) it didn’t work but this time it worked I don’t know why.