-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import transformers #1
Comments
Post the error, please. Also, which version of transformer are you using? |
I'm using google colab. |
That's because transformer module was installed on my local machine but is not installed by default on colab servers. Hence add a |
Paste the complete code snippet |
from sklearn import preprocessing This is after installing transformers |
Where is that line where u install? |
Please post a complete ss. Also please paste code |
!pip install transformers==3.5.1 |
@Saumya1915 there are compatibility issues with transformer 3.5.1 and torch 1.8(version installed by default in colab). Do a |
Thank you for the fix! |
there are compatibility issues with transformer 3.5.1 and torch 1.8(version installed by default in colab). Do a !pip install torch==1.5.0 in the beginning. source: kamalojasv181/Hostility-Detection-in-Hindi-Posts#1
whenever I'm writing import transformers I'm getting a error. Kindly help me with this
The text was updated successfully, but these errors were encountered: