Coder Social home page Coder Social logo

bert_rus_sentiment's Introduction

bert_rus_sentiment

Bert Models for Russian Sentiment Analysis

Trained Bert-BASE models for russian sentiment analysis. There are PyTorch (transformers) and TensorFlow (deeppavlov) versions available. Models are available for download from Google Drive.

Used Data

5 dataset was used in this work: Fun, News, RuSentiment, SentiRuEval and TwitterMokoron.

Firstly, 5 separate models were trained on datasets. After that each model was used to predict probability of label to unseen data, probabilities were summarized using model's F1-score as weights and new labels were applied to data. Dataset with new labels from models' predictions are stated as joined dataset later.

Finally, there are 6 labels available for sentiment analysis: positive, negative, neutral, humor, skip and speech.

Models Training

Models were pretrained from DeepPavlov's Conversational RuBERT on russian sentiment data and after that fine-tuned on joined dataset.

Examples

The example of models loading and using is availabe in Use BertClassifier Models for Sentiment Analysis.ipynb.

Updates

2020-06-07

DistilBert model is also available to download from Google Drive.

bert_rus_sentiment's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bert_rus_sentiment's Issues

Models' scores

Hey!

Thank you for your work. Could you provide approximate F1-scores that the models achieved on RuSentiment dataset, please? And if it is possible, on others too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.