/ Модель

Характеристики

Контекст
512 токенов
Параметры
137 млн
Лицензия
Apache 2.0
Архитектура
bert · dense
Базовая модель
finbert
Опубликована
28 июл 2026

wsb-finbert

Классификация текстаТекст → label

Модель на базе FinBERT определяет отрицательную, нейтральную или положительную тональность англоязычных публикаций r/wallstreetbets о выбранных акциях компаний, связанных с ИИ.

7скачиваний за 30 дней0лайковвеса обновлены28 июл 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

WSB-FinBERT — модель классификации тональности, созданная AnonymousResearchICAIF путём дообучения ProsusAI/finbert на сообщениях r/wallstreetbets. Она относит текст к одному из трёх классов: отрицательная, нейтральная или положительная тональность. Модель предназначена для анализа обсуждений розничных инвесторов, в том числе сленга, иронии и эмодзи, в публикациях об ограниченном наборе акций компаний, связанных с ИИ.

Модель основана на архитектуре BERT, содержит 136,7 млн параметров и принимает текст длиной до 512 токенов. Она поддерживает английский язык; веса доступны в формате Safetensors, лицензия — Apache-2.0. На отложенной выборке из 376 сообщений точность составила 52,4%, а macro F1 — 0,495; результат выше базовой FinBERT и предсказания наиболее частого класса, но абсолютное качество остаётся умеренным.

Обучающая выборка содержит 2 503 сообщения r/wallstreetbets об ограниченном наборе тикеров, а метки тональности созданы LLM и не являются экспертной разметкой. Перенос на другие сообщества, сектора, периоды и формальные финансовые тексты не проверен. Модель не предназначена для самостоятельного использования при принятии торговых решений.

Сценарии применения

  • классификация тональности постов и комментариев r/wallstreetbets
  • анализ отношения розничных инвесторов к выбранным акциям компаний, связанных с ИИ
  • сравнение долей отрицательных, нейтральных и положительных сообщений в обсуждениях

Ограничения

Точность на отложенной выборке умеренная, а метки получены от LLM, а не размечены людьми. Обучение охватывало ограниченный набор сообщений r/wallstreetbets об отдельных AI-акциях; качество на других сообществах, секторах, периодах и формальных финансовых текстах не проверено, поэтому модель не подходит для принятия торговых решений самостоятельно.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

WSB-FinBERT

A FinBERT model fine-tuned on r/wallstreetbets text for three-class sentiment classification (negative / neutral / positive).

Off-the-shelf financial sentiment models are trained on formal financial English — earnings calls, analyst reports, newswire. Retail social-media text is a different register: irony, slang, emoji, and self-deprecation. On the held-out set below, vanilla FinBERT scores below the majority-class floor, i.e. worse than ignoring the text entirely. This model is a domain-adaptation check on that gap.

This is the frozen checkpoint behind the results reported in Beyond the Volume of Attention: Domain-Adapted Sentiment and the Content of Retail Investor Discussion (ICAIF '26) — not a retrained copy. The replication package for that paper is distributed separately; this repository is the model only.

Labels

idlabel
0negative
1neutral
2positive

Usage

You do not need to download anything by hand. transformers fetches the weights on first use and caches them under ~/.cache/huggingface/, so the first call takes a moment (~440 MB) and every call after that is instant.

pip install transformers torch
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch

model_id = "AnonymousResearchICAIF/wsb-finbert"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForSequenceClassification.from_pretrained(model_id)

text = "NVDA printing again, loaded calls for next week"
inputs = tok(text, return_tensors="pt", truncation=True, max_length=128)
with torch.no_grad():
    probs = model(**inputs).logits.softmax(-1)[0]

print({model.config.id2label[i]: round(p.item(), 3) for i, p in enumerate(probs)})

A continuous sentiment score in [-1, 1] is formed as P(positive) - P(negative). This is the sentiment_wsb variable used throughout the paper — the sign gives the direction and the magnitude gives the confidence. Use max_length=128: that is what the model was trained with, and longer inputs are truncated to it.

For many texts at once, batch them rather than looping:

texts = ["...", "...", "..."]
batch = tok(texts, return_tensors="pt", truncation=True, max_length=128, padding=True)
with torch.no_grad():
    p = model(**batch).logits.softmax(-1)
scores = (p[:, 2] - p[:, 0]).tolist()

Training data

2,503 r/wallstreetbets posts and comments mentioning a fixed universe of AI-related tickers, labelled for sentiment by an LLM teacher (Claude) and split 70/15/15 stratified by label with seed 42 — 1,752 train / 375 validation / 376 test. The sample is stratified across tickers and balanced 50/50 between the first and second halves of the collection period.

Training procedure

Base modelProsusAI/finbert
Max sequence length128
Learning rate2e-5
Epochs4
Train batch size8
Weight decay0.01
Warmup ratio0.1
Seed42

Evaluation

On the 376 held-out texts:

ModelAccuracyMacro F1
WSB-FinBERT (this model)0.5240.495
Vanilla ProsusAI/finbert0.4100.400
Majority-class baseline ("always positive")0.434—

Cohen's κ = 0.252.

Per-class (this model):

labelprecisionrecallf1support
negative0.4480.3120.36896
neutral0.5130.5130.513117
positive0.5570.6560.603163

Limitations

  • Absolute accuracy is modest. 52.4% on a three-class problem is only ~9 points above the majority-class floor. The gain over vanilla FinBERT (+11.4 points) is the meaningful result; the model is not a strong standalone classifier.
  • Labels are LLM-generated, not human gold standard. They inherit the teacher's biases. They do correlate with past five-day returns, as a text-only annotator should, and show no positive correlation with forward returns (no evidence of look-ahead leakage).
  • Narrow domain. Trained on r/wallstreetbets text about a small universe of AI-related tickers over a specific period. Generalisation to other subreddits, other sectors, other periods, or to formal financial text is untested and unlikely.
  • Positive skew. The forum's labels run ~1.7 to 1 positive and the model inherits this (51.1% of predictions positive vs 43.4% in truth). Use within-entity demeaning if the level matters for your application.
  • Not investment advice; not suitable for trading decisions on its own.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · text-classification

Можно запустить

Подбираем GPU…

Класс архитектуры
BertForSequenceClassification
Ревизия весов
06204ae

0 моделей