FinTwitBERT-wsb-sentiment

This model is a fine-tuned version of FinTwitBERT-sentiment, specifically adapted to understand the informal financial jargon, slang, and sarcasm used on retail trading subreddits like r/wallstreetbets.

Intended Uses

I finetuned this model so that it can also be used to analyze r/wallstreetbets posts. I noticed the slang and language usage differs compared to Twitter/X users.

Dataset

FinTwitBERT-wsb-sentiment has been finetuned on moonscape95/WSBS's dataset. Specifically on the WSB_all_agree.csv dataset.

Training Code

You can find the Python code here.

Usage

Using HuggingFace's transformers library the model and tokenizers can be converted into a pipeline for text classification.

from transformers import pipeline

# Create a sentiment analysis pipeline
pipe = pipeline(
    "sentiment-analysis",
    model="StephanAkkerman/FinTwitBERT-wsb-sentiment",
)

# Get the predicted sentiment
print(pipe("Nice 9% pre market move for $para, pump my calls Uncle Buffett 🤑"))

Labels

  • 0: NEUTRAL
  • 1: BULLISH
  • 2: BEARISH
Downloads last month
1,201
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for StephanAkkerman/FinTwitBERT-wsb-sentiment