Giter Club home page Giter Club logo

cyberpunk-sentiment-analysis's Introduction

The goal of this project is to analyze community sentiment before and after the release of Cyberpunk 2077. The expectation is that there will be a visible increase in excitement leading up to its release date and then a steep drop. The sentiment model is implemented using the Hugging Face transformer library. Specifically, I used the BERTForSequenceClassification model. For training, I used a large (2,000,000) pool of steam reviews and their associated rating (thumbs up/down). This dataset was perfect because steam reviews and reddit posts tend to exhibit a similar range of lengths and expressions.

Currently using the uncased-base set the accuracy reaches ~%80. Upon inspection of some of the reviews labeled incorrectly, I have realized that I should have set a floor on the length of the review. The model struggles when the reviews are only a few words. Additionally, there was of course a point at which I had to truncate reviews in order to feed them into the model. I often chose to take the first few hundred words in order to achieve this goal. However, typically reviews save their condensed opinion for the conclusion, so I should've taken the last few hundred words. The next round of training will reflect these changes.

note: The scraper is relatively easy to use. I plan on cleaning it and releasing it as a more general purpose tool for scrapping specified subreddits over a specified period of time.

note: the link below goes to a "write up" about this project.

https://share.streamlit.io/dleviminzi/cyberpunk_sentiment_analysis/main/st.py

cyberpunk-sentiment-analysis's People

Contributors

dleviminzi avatar

Stargazers

 avatar

Watchers

 avatar

cyberpunk-sentiment-analysis's Issues

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.