Hugging Face Blog

Getting Started with Sentiment Analysis using Python

OpenAI Blog
Apr 6, 2017

Unsupervised sentiment neuron

We’ve developed an unsupervised system which learns an excellent representation of sentiment, despite being trained only to predict the next character in the text of Amazon reviews.

Hugging Face Trending Papers
Jul 27

LLM-Based vs. Lexicon-Based Sentiment Signals for Tail-Risk Detection in Meme Stocks

This paper presents an empirical comparison of lexicon-based and Large Language Model (LLM)-based sentiment analysis for extracting market-relevant signals from social media discourse in highly volatile equity markets. Using Reddit data from r/WallStreetBets and focusing on meme stocks (GME, AMC, NOK), we construct time-aligned sentiment indicators and evaluate their relationship with market returns, with particular attention to extreme positive return events in the upper tail of the return distribution.

arXiv Computation and Language
Aug 31

Quantifying Affective Bias in Low-Resource Media: Large-Scale Emotion Profiling of Bengali Headlines

The paper investigates affective framing in Bengali digital journalism by analyzing 300,000 news headlines with zero‑shot inference using Gemma 3 4B to estimate dominant emotions and overall affective tone. Results reveal frequent negative emotions—especially anger, sadness, disappointment, and fear—across the corpus, and a pilot validation on 200 headlines indicates the model’s estimates are useful yet not definitive benchmarks. The authors suggest a bias‑sensitive news interface that visualizes emotional cues to help readers detect affective framing patterns in daily news.

By Mohd Ruhul Ameen, Akif Islam, Ayesha Siddiqua, Abu Saleh Musa Miah, Jungpil Shin
arXiv AI
Aug 7

Beyond Sentiment: Comparing Traditional NLP and LLM-Based Multi-Dimensional Analysis for Political News Evaluation

arXiv:2608. 05155v1 Announce Type: cross Abstract: Traditional sentiment analysis (SA) models, while effective for polarity classification, provide limited insight into the rhetorical, ideological, and framing dimensions of political discourse -- dimensions that are central to research in the social sciences and humanities (SSH).

By Maryam Fooladi, Federico Bottino