建立RoBERTa模型以发现Reddit小组的情绪

How do you feel when you log in to social media accounts and read the opening post? Is it put a smile on your face or make you sad or angry? I have a mixed experience. Most of the time, social media posts make me happy. How? Well, we can’t control what other people post, but we can control what we want to see on our social media accounts.

当您登录社交媒体帐户并阅读开头的帖子时,您感觉如何? 是让您的脸上露出微笑还是让您悲伤或生气? 我的经历很复杂。 大多数时候,社交媒体上的帖子使我感到高兴。 怎么样? 好吧,我们无法控制其他人发布的内容,但是我们可以控制我们希望在社交媒体帐户上看到的内容。

If you joined a group having high negative comments, then you will read those comments more often. That makes you angry and sad. Leave those toxic group before it takes a toll on your mental health.

如果您加入了负面评价很高的小组,那么您将更常阅读这些评论。 那会让你生气和悲伤。 离开这些有毒物质组,以免损害您的心理健康。

So if I tell you to find out the toxic group of your social media account, can you do that?

因此,如果我告诉您找出您的社交媒体帐户中的有害人群,您可以这样做吗?

Well, this article will help you to create a model which help you to summarize the sentiment of all post or comment. So you can leave those groups before they make you feel like quitting social media.

好吧,本文将帮助您创建一个模型,该模型可以帮助您总结所有文章或评论的观点。 因此,您可以在这些小组让您感到退出社交媒体之前就离开他们。

We will use Reddit social media references for this article. I will analyze my Reddit subgroup. And check whether these subgroups have a high count of negative comments or not.

我们将在本文中使用Reddit社交媒体参考。 我将分析我的Reddit子组。 并检查这些亚组是否有很多否定评论。

为什么要Reddit? (Why Reddit?)

Social media like Reddit and twitter will let you access the user’s post and comments via API. You can test and implement the sentiment analysis model on Reddit data.

像Reddit和Twitter这样的社交媒体将使您可以通过API访问用户的帖子和评论。 您可以在Reddit数据上测试并实现情感分析模型。

This article has divided into two parts. In the first part, I will build a RoBERTa model. And in the second part, we analyze the sentiment of the Reddit subgroup.

本文分为两个部分。 在第一部分中,我将构建一个RoBERTa模型。 在第二部分中,我们分析了Reddit小组的情绪。

RoBERTa模型的建立 (Building of RoBERTa Model)

We will train and fine-tune the pre-trained model RoBERTa with a twitter dataset. You can find the data here. The dataset contains positive and negative sentiment tweets. I have chosen binary sentiment data to increase accuracy. It’s easy to interpret binary prediction. Also, it makes the decision process easy.

我们将使用Twitter数据集对预训练模型RoBERTa进行训练和微调。 您可以在此处找到数据。 数据集包含正面和负面情绪鸣叫。 我选择了二进制情感数据来提高准确性。 二进制预测很容易解释。 而且,它使决策过

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值