AnkitAI / Sensible-ModernBERT-Sentiment-Analysis

huggingface.co
Total runs: 73
24-hour runs: 0
7-day runs: 29
30-day runs: 51
Model's Last Updated: September 22 2026
text-classification

Introduction of Sensible-ModernBERT-Sentiment-Analysis

Model Details of Sensible-ModernBERT-Sentiment-Analysis

Sensible

๐Ÿฆ‰ Sensible โ€” ModernBERT Sentiment Analysis

The modern replacement for the classic SST-2 sentiment model โ€” 0.946 vs 0.913 on the exact same benchmark, one pipeline() line.
from transformers import pipeline

clf = pipeline("text-classification", model="AnkitAI/Sensible-ModernBERT-Sentiment-Analysis")
clf("This movie was absolutely wonderful!")
# [{'label': 'positive', 'score': 0.99}]

positive / negative for reviews, comments, feedback, social text. Built on ModernBERT-base โ€” Flash-Attention-fast, 149M params, CPU-friendly.


๐Ÿ“Š Benchmarks

SST-2 official validation set (872 examples) โ€” the same split every SST-2 model reports on:

Model Accuracy
๐Ÿ’ฌ This model 0.9461
distilbert-base-uncased-finetuned-sst-2-english (the 3.9M-downloads/month default) 0.9130

+3.3 points over the model most pipelines still default to โ€” from an encoder released five years later. Training script and raw eval outputs ship in this repo; the reported split was never used for training or checkpoint selection.

๐Ÿท Labels
id label
0 negative
1 positive

Batch scoring:

texts = ["Best purchase I've made all year.",
         "Waited 40 minutes and the order was still wrong."]
for t, r in zip(texts, clf(texts, batch_size=64)):
    print(f"{r['label']:<9} {r['score']:.2f}  {t}")
๐Ÿ’ผ Built for
  • Product & review analytics โ€” score feedback streams at scale
  • Social/comment moderation dashboards โ€” fast, CPU-deployable
  • Drop-in upgrade โ€” same task and label semantics as the distilbert-sst2 default your stack probably uses
โš ๏ธ Good to know
  • Two classes only (no neutral) โ€” SST-2 convention; genuinely neutral text gets forced to a side
  • English, sentence/short-paragraph level
  • Trained on movie-review sentences (SST-2); transfers well to general reviews/comments, less so to domain jargon โ€” for financial text use FinSense
๐Ÿ”ง Training details

Full fine-tune of ModernBERT-base on SST-2 (GLUE, 67k sentences): 2 epochs, lr 2e-5, batch 32, fp32, best checkpoint by held-back 5% of train โ€” the official validation set stayed untouched until final reporting.

๐Ÿ“– Citation
@misc{sensiblesentiment2026,
  author = {Aglawe, Ankit},
  title = {Sensible: ModernBERT Sentiment Analysis},
  year = {2026},
  publisher = {Hugging Face},
  url = {https://huggingface.co/AnkitAI/Sensible-ModernBERT-Sentiment-Analysis}
}
๐Ÿ“š Base & license

Apache-2.0 ( ModernBERT-base , Answer.AI). Trained on SST-2 (Socher et al., 2013 / GLUE).

๐Ÿงญ More from AnkitAI
Model Task Score
FinSense ModernBERT financial news sentiment (3-class) 0.8675
FinSense distilbert v2 financial news sentiment, tiny 0.8447
Parable local agent LLMs (GGUF) โ€”
๐Ÿ—‚ Version history
  • v1 (2026-07-20) โ€” initial release: ModernBERT-base, SST-2, seed 42.

Runs of AnkitAI Sensible-ModernBERT-Sentiment-Analysis on huggingface.co

73
Total runs
0
24-hour runs
3
3-day runs
29
7-day runs
51
30-day runs

More Information About Sensible-ModernBERT-Sentiment-Analysis huggingface.co Model

More Sensible-ModernBERT-Sentiment-Analysis license Visit here:

https://choosealicense.com/licenses/apache-2.0

Sensible-ModernBERT-Sentiment-Analysis huggingface.co

Sensible-ModernBERT-Sentiment-Analysis huggingface.co is an AI model on huggingface.co that provides Sensible-ModernBERT-Sentiment-Analysis's model effect (), which can be used instantly with this AnkitAI Sensible-ModernBERT-Sentiment-Analysis model. huggingface.co supports a free trial of the Sensible-ModernBERT-Sentiment-Analysis model, and also provides paid use of the Sensible-ModernBERT-Sentiment-Analysis. Support call Sensible-ModernBERT-Sentiment-Analysis model through api, including Node.js, Python, http.

Sensible-ModernBERT-Sentiment-Analysis huggingface.co Url

https://huggingface.co/AnkitAI/Sensible-ModernBERT-Sentiment-Analysis

AnkitAI Sensible-ModernBERT-Sentiment-Analysis online free

Sensible-ModernBERT-Sentiment-Analysis huggingface.co is an online trial and call api platform, which integrates Sensible-ModernBERT-Sentiment-Analysis's modeling effects, including api services, and provides a free online trial of Sensible-ModernBERT-Sentiment-Analysis, you can try Sensible-ModernBERT-Sentiment-Analysis online for free by clicking the link below.

AnkitAI Sensible-ModernBERT-Sentiment-Analysis online free url in huggingface.co:

https://huggingface.co/AnkitAI/Sensible-ModernBERT-Sentiment-Analysis

Sensible-ModernBERT-Sentiment-Analysis install

Sensible-ModernBERT-Sentiment-Analysis is an open source model from GitHub that offers a free installation service, and any user can find Sensible-ModernBERT-Sentiment-Analysis on GitHub to install. At the same time, huggingface.co provides the effect of Sensible-ModernBERT-Sentiment-Analysis install, users can directly use Sensible-ModernBERT-Sentiment-Analysis installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Sensible-ModernBERT-Sentiment-Analysis install url in huggingface.co:

https://huggingface.co/AnkitAI/Sensible-ModernBERT-Sentiment-Analysis

Url of Sensible-ModernBERT-Sentiment-Analysis

Sensible-ModernBERT-Sentiment-Analysis huggingface.co Url

Provider of Sensible-ModernBERT-Sentiment-Analysis huggingface.co

AnkitAI
ORGANIZATIONS

Other API from AnkitAI

huggingface.co

Total runs: 555
Run Growth: 555
Growth Rate: 100.00%
Updated:September 25 2026
huggingface.co

Total runs: 348
Run Growth: 348
Growth Rate: 100.00%
Updated:October 02 2026