You have to use the Twitter-roBERTa-base for sentiment analysis. Download this model and classify a text in the dataset (download the dataset below). Your answer should contain a label (for example, a sentiment). If the score is closer to label 0, print Negative, if it's closer to label 1, print Neutral, and if it's closer to label 2, print Positive.
Implementation of transformers in Hugging Face
Text classification
Report a typo
Write code in your IDE to process the text file and display the results below
Time limit: 5 minutes
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.