SemEvalWorkshop/sem_eval_2014_task_1
Updated • 259 • 1
How to use AChierici84/sentiment-roberta-finetuned with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="AChierici84/sentiment-roberta-finetuned") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("AChierici84/sentiment-roberta-finetuned")
model = AutoModelForSequenceClassification.from_pretrained("AChierici84/sentiment-roberta-finetuned")This is a RoBERTa-base model trained on SamEval datasets and fine-tuned with customer tweets. The main task is sentiment analysis with the TweetEval benchmark. The original model can de found here This model is suitable for English. Labels:
from transformers import pipeline
sentiment_task = pipeline("sentiment-analysis", model=model_path, tokenizer=model_path)
sentiment_task("Delivery is late!")
Output format: Json
[{'label': 'Negative', 'score': 0.99836}]
Test application here.
This model is generated to evaluate costumer satisfaction and company reputation.
SemEval dataset and tweet sent to @AmazonHelp account
The following training strategies were implemented: