模型:

maxpe/twitter-roberta-base-jun2022_sem_eval_2018_task_1

数字对象标识符:

10.57967/hf/0033

其他:

roberta
英文

Twitter-roBERTa-base-jun2022_sem_eval_2018_task1

这个模型是在英语中标注了11个情感类别的约7000条推文上训练得到的,该数据集可以在 Hugging Face Dataset Hub 上获取到。

底层模型是一个基于RoBERTa-base架构,在2022年6月份之前的1.3226亿条推文上进行了训练。详细信息请查看 model page 。

若要在本地快速测试,可使用pipeline功能:

from transformers import pipeline

pipe = pipeline("text-classification",model="maxpe/twitter-roberta-base-jun2022_sem_eval_2018_task_1")

pipe("I couldn't see any seafood for a year after I went to that restaurant that they send all the tourists to!",top_k=11)