sismetanin/sentiment-analysis-in-russian

Fine-tuned Multilingual BERT and Multilingual USE for sentiment analysis in Russian. RuReviews, RuSentiment, Kaggle Russian News Dataset, LINIS Crowd, and RuTweetCorp were utilized as training data.

52

7 commits

updated Feb 16, 2021

See the code

README

Sentiment Analysis in Russian

This repository contains links to models for sentiment analysis of texts in Russian, which were trained within Evaluation of Pre-Trained Transformers for Sentiment Analysis of Texts in Russian and Deep Transfer Learning Baselines for Sentiment Analysis in Russian articles.

Evaluation of Pre-Trained Transformers for Sentiment Analysis of Texts in Russian

ModelScore
RankDataset
SentiRuEval-2016
RuSentimentKRNDLINIS CrowdRuTweetCorpRuReviews
TCBanks
micro F1macro F1F1micro F1macro F1F1wighted F1F1F1F1F1F1
SOTAn/s76.7166.4070.6867.5169.5374.0678.50n/s73.6360.5183.6877.44
XLM-RoBERTa-Large76.37182.2676.3679.4276.3576.0880.8978.3175.2775.1760.0388.9178.81
SBERT-Large75.43278.4071.3675.1472.3971.8777.7278.5875.8574.2060.6488.6677.41
MBARTRuSumGazeta74.70376.0668.9573.0472.3471.9377.8376.7173.5674.1860.5487.2277.51
Conversational RuBERT74.44476.6969.0973.1169.4468.6875.5677.3174.4073.1059.9587.8677.78
LaBSE74.11577.0069.1973.5570.3469.8376.3874.9470.8473.2059.5287.8978.47
XLM-RoBERTa-Base73.60676.3569.3773.4268.4567.4574.0574.2670.4471.4060.1987.9078.28
RuBERT73.45774.0366.1470.7566.4666.4073.3775.4971.8672.1560.5586.9977.41
MBART-50-Large-Many-to-Many73.15875.3867.8172.2667.1366.9773.8574.7870.9871.9859.2087.0577.24
SlavicBERT71.96971.4563.0368.4464.3263.9971.3172.1367.5772.5458.7086.4377.16
EnRuDR-BERT71.511072.5664.7469.0761.4460.2168.3474.1969.9469.3356.5587.1277.95
RuDR-BERT71.141172.7964.2368.3661.8660.9268.4874.6570.6368.7454.4587.0477.91
MBART-50-Large69.461270.9162.6767.2461.1260.2568.4172.8868.6370.5246.3986.4877.52

Deep Transfer Learning Baselines for Sentiment Analysis in Russian

This repository contains the fine-tuned Multilingual Bidirectional Encoder Representations from Transformers (M-BERT), RuBERT, and two versions of Multilingual Universal Sentence Encoder (M-USE) for sentiment classification in Russian referenced in Deep Transfer Learning Baselines for Sentiment Analysis in Russian.

DatasetMeasureCurrent SOTAM-BERTRuBERTM-USE-CNNM-USE-Trans
SentiRuEval-2016 TCF168.4266.29
70.68
63.6468.27
macro F1PN66.0761.7866.4058.9762.77
micro F1PN74.1172.4576.7171.3175.00
SentiRuEval-2016 BanksF174.0665.3172.8366.7172.40
macro F1PN69.5358.0065.8958.7365.04
micro F1PN71.7660.5268.4362.4168.21
SentiRuEval-2016 TCF168.5460.4764.3960.5764.28
macro F1PN63.4753.1657.7652.3757.60
micro F1PN67.5157.0361.3857.7661.18
SentiRuEval-2016 BanksF179.5167.6570.5866.3269.62
macro F1PN67.4456.9760.9554.7459.12
micro F1PN70.0959.3263.3357.6162.17
RuSentimentF1n/s71.3772.0366.2768.60
weighted F178.5075.1375.7171.0573.42
Kaggle Russian News DatasetF170.0071.3673.6371.2772.66
LINIS CrowdF137.2942.7360.5156.3456.95
RuTweetCorp (binary)F175.9583.0483.6981.3483.17
RuTweetCorp (trinary)F178.180.1080.7978.3979.69
RuReviewsF175.4577.3177.4476.6376.94

SOTA approaches for RuReviews, RuSentiment, Kaggle Russian News Dataset, and RuTweetCorp were described in papers (Smetanin and Komarov, 2019), (Baymurzina et al., 2019), (Shalkarbayuli et al., 2018), and (Rubtsova, 2018), consequently. The SOTA approach for LINIS Crowd was implemented based on the paper (Koltsova et al., 2016).

Sentiment Datasets in Russian

Despite the fact that Russian is one of the most common languages in the World Wide Web, generally it is not as well-resourced as the English language, especially in the field of sentiment analysis. Even though many studies aim at sentiment classification, only few of them makes their datasets publicly available for the research community.

DatasetClassesAverage lengthsMax lengthsTrain SamplesTest SamplesOverall SamplesDownload Link
SentiRuEval-2016 (Loukachevitch and Rubtsova, 2016)387.092817218,0355,56023,595Project page
SentiRuEval-2015 Subtask (Loukachevitch et al., 2015)381.49861728,5807,73816,318Project page
RuTweetCorp (Rubtsova, 2013)389.1725189n/an/a334836Project page
LINIS Crowd (Koltsova et al., 2016)5n/an/an/an/an/aProject page
RuSentiment (Rogers et al., 2018)582.027980028218296731185Project page
Kaggle Russian News Dataset33911.8501381498n/an/a8263Kaggle page
RuReviews (Smetanin and Komarov, 2019)3130.06931007n/an/a90,000GitHub page

Fine-Tuned Models

To download fine-tuned models for Russian, please follow the link https://yadi.sk/d/Xp5vLG_5xCQL-Q.

Citation

@article{Smetanin2020Deep,
  title = {Deep transfer learning baselines for sentiment analysis in Russian},
  author = {Sergey Smetanin and Mikhail Komarov},
  journal = {Information Processing & Management},
  volume = {58},
  number = {3},
  pages = {102484},
  year = {2021},
  issn = {0306-4573},
  doi = {https://doi.org/10.1016/j.ipm.2020.102484},
  url = {https://www.sciencedirect.com/science/article/pii/S0306457320309730}
}

License

See LICENSE.

sismetanin/sentiment-analysis-in-russian

Fine-tuned Multilingual BERT and Multilingual USE for sentiment analysis in Russian. RuReviews, RuSentiment, Kaggle Russian News Dataset, LINIS Crowd, and RuTweetCorp were utilized as training data.

52

7 commits

updated Feb 16, 2021

See the code

README

Sentiment Analysis in Russian

This repository contains links to models for sentiment analysis of texts in Russian, which were trained within Evaluation of Pre-Trained Transformers for Sentiment Analysis of Texts in Russian and Deep Transfer Learning Baselines for Sentiment Analysis in Russian articles.

Evaluation of Pre-Trained Transformers for Sentiment Analysis of Texts in Russian

ModelScore
RankDataset
SentiRuEval-2016
RuSentimentKRNDLINIS CrowdRuTweetCorpRuReviews
TCBanks
micro F1macro F1F1micro F1macro F1F1wighted F1F1F1F1F1F1
SOTAn/s76.7166.4070.6867.5169.5374.0678.50n/s73.6360.5183.6877.44
XLM-RoBERTa-Large76.37182.2676.3679.4276.3576.0880.8978.3175.2775.1760.0388.9178.81
SBERT-Large75.43278.4071.3675.1472.3971.8777.7278.5875.8574.2060.6488.6677.41
MBARTRuSumGazeta74.70376.0668.9573.0472.3471.9377.8376.7173.5674.1860.5487.2277.51
Conversational RuBERT74.44476.6969.0973.1169.4468.6875.5677.3174.4073.1059.9587.8677.78
LaBSE74.11577.0069.1973.5570.3469.8376.3874.9470.8473.2059.5287.8978.47
XLM-RoBERTa-Base73.60676.3569.3773.4268.4567.4574.0574.2670.4471.4060.1987.9078.28
RuBERT73.45774.0366.1470.7566.4666.4073.3775.4971.8672.1560.5586.9977.41
MBART-50-Large-Many-to-Many73.15875.3867.8172.2667.1366.9773.8574.7870.9871.9859.2087.0577.24
SlavicBERT71.96971.4563.0368.4464.3263.9971.3172.1367.5772.5458.7086.4377.16
EnRuDR-BERT71.511072.5664.7469.0761.4460.2168.3474.1969.9469.3356.5587.1277.95
RuDR-BERT71.141172.7964.2368.3661.8660.9268.4874.6570.6368.7454.4587.0477.91
MBART-50-Large69.461270.9162.6767.2461.1260.2568.4172.8868.6370.5246.3986.4877.52

Deep Transfer Learning Baselines for Sentiment Analysis in Russian

This repository contains the fine-tuned Multilingual Bidirectional Encoder Representations from Transformers (M-BERT), RuBERT, and two versions of Multilingual Universal Sentence Encoder (M-USE) for sentiment classification in Russian referenced in Deep Transfer Learning Baselines for Sentiment Analysis in Russian.

DatasetMeasureCurrent SOTAM-BERTRuBERTM-USE-CNNM-USE-Trans
SentiRuEval-2016 TCF168.4266.29
70.68
63.6468.27
macro F1PN66.0761.7866.4058.9762.77
micro F1PN74.1172.4576.7171.3175.00
SentiRuEval-2016 BanksF174.0665.3172.8366.7172.40
macro F1PN69.5358.0065.8958.7365.04
micro F1PN71.7660.5268.4362.4168.21
SentiRuEval-2016 TCF168.5460.4764.3960.5764.28
macro F1PN63.4753.1657.7652.3757.60
micro F1PN67.5157.0361.3857.7661.18
SentiRuEval-2016 BanksF179.5167.6570.5866.3269.62
macro F1PN67.4456.9760.9554.7459.12
micro F1PN70.0959.3263.3357.6162.17
RuSentimentF1n/s71.3772.0366.2768.60
weighted F178.5075.1375.7171.0573.42
Kaggle Russian News DatasetF170.0071.3673.6371.2772.66
LINIS CrowdF137.2942.7360.5156.3456.95
RuTweetCorp (binary)F175.9583.0483.6981.3483.17
RuTweetCorp (trinary)F178.180.1080.7978.3979.69
RuReviewsF175.4577.3177.4476.6376.94

SOTA approaches for RuReviews, RuSentiment, Kaggle Russian News Dataset, and RuTweetCorp were described in papers (Smetanin and Komarov, 2019), (Baymurzina et al., 2019), (Shalkarbayuli et al., 2018), and (Rubtsova, 2018), consequently. The SOTA approach for LINIS Crowd was implemented based on the paper (Koltsova et al., 2016).

Sentiment Datasets in Russian

Despite the fact that Russian is one of the most common languages in the World Wide Web, generally it is not as well-resourced as the English language, especially in the field of sentiment analysis. Even though many studies aim at sentiment classification, only few of them makes their datasets publicly available for the research community.

DatasetClassesAverage lengthsMax lengthsTrain SamplesTest SamplesOverall SamplesDownload Link
SentiRuEval-2016 (Loukachevitch and Rubtsova, 2016)387.092817218,0355,56023,595Project page
SentiRuEval-2015 Subtask (Loukachevitch et al., 2015)381.49861728,5807,73816,318Project page
RuTweetCorp (Rubtsova, 2013)389.1725189n/an/a334836Project page
LINIS Crowd (Koltsova et al., 2016)5n/an/an/an/an/aProject page
RuSentiment (Rogers et al., 2018)582.027980028218296731185Project page
Kaggle Russian News Dataset33911.8501381498n/an/a8263Kaggle page
RuReviews (Smetanin and Komarov, 2019)3130.06931007n/an/a90,000GitHub page

Fine-Tuned Models

To download fine-tuned models for Russian, please follow the link https://yadi.sk/d/Xp5vLG_5xCQL-Q.

Citation

@article{Smetanin2020Deep,
  title = {Deep transfer learning baselines for sentiment analysis in Russian},
  author = {Sergey Smetanin and Mikhail Komarov},
  journal = {Information Processing & Management},
  volume = {58},
  number = {3},
  pages = {102484},
  year = {2021},
  issn = {0306-4573},
  doi = {https://doi.org/10.1016/j.ipm.2020.102484},
  url = {https://www.sciencedirect.com/science/article/pii/S0306457320309730}
}

License

See LICENSE.

Significant stargazers

yurakuratov

50 followers · starred Dec 2022