Skip to main content
Model: DistilBERT SST-2 INT8 · Text Classification

AI Sentiment Analyzer With DistilBERT

Analyze customer feedback, product reviews, or support messages with the INT8 quantized DistilBERT SST-2 INT8 classifier. View exact positive and negative probability scores, measure inference latency, and copy ready-to-run API code.

Selected Model

DistilBERT SST-2 INT8

Hugging Face · 66M Parameters (INT8)

Cloudflare Workers AI

Transport: Stateless proxy · Key setup guide

Not Set
93 chars
Press Ctrl + Enter to run

API Call Cost Estimator

Published RatePre-Run Char Estimate

Input (24 tok)

$0.000001

$0.026 / 1M

Approx. Call Cost

$0.000001

Est. ~4 chars/tok

Total Tokens

24

Estimated count


How to Analyze Text Sentiment

Follow these steps to execute verified API requests directly from your browser.

  1. Select a confirmed provider above and connect your API key.
  2. Enter customer feedback, a review, or a support message in the text input.
  3. Run DistilBERT SST-2 INT8 to inspect POSITIVE and NEGATIVE probability scores.
  4. Review latency and estimated cost, then copy ready-to-use API snippets.

Reading Positive and Negative Confidence Scores

Practical guidance on parameters, outputs, and production usage.

Quantized INT8 Inference Benefits

INT8 quantization shrinks model weight precision to deliver millisecond classification latency at a fraction of the compute cost of full generative LLMs.

When to Use Classification Over Generation

Dedicated text classifiers return calibrated probabilities over fixed labels without prompt-injection risk or token generation overhead, making them ideal for high-throughput triage.

Frequently Asked Questions

Which Model Runs Inside the Sentiment Analyzer?

The tool runs DistilBERT SST-2 INT8 via your selected supported provider credentials and displays every label and confidence score returned by the API.

Can DistilBERT Classify Neutral Sentiment?

SST-2 is a binary sentiment dataset trained on POSITIVE and NEGATIVE labels; neutral sentences typically produce split probabilities closer to 50 percent.

Related Classification Tools