Skip to main content
Hugging Face · Text Classification · 66M (INT8 quantized)

DistilBERT SST-2 INT8

DistilBERT SST-2 INT8 is a text classification model by Hugging Face (DistilBERT, 66M (INT8 quantized)). INT8-quantized DistilBERT sequence classifier fine-tuned on the Stanford Sentiment Treebank (SST-2) for fast binary POSITIVE and NEGATIVE sentiment scoring.

Selected Model

DistilBERT SST-2 INT8

distilbert-sst-2-int8

Connect Your API Key for the Selected Provider to Run Live

Cloudflare Workers AI

Transport: Stateless proxy · Key setup guide

Not Set
98 chars
Press Ctrl + Enter to run

API Call Cost Estimator

Published RatePre-Run Char Estimate

Input (25 tok)

$0.000001

$0.026 / 1M

Approx. Call Cost

$0.000001

Est. ~4 chars/tok

Total Tokens

25

Estimated count


Official Model Card

About DistilBERT SST-2 INT8

Model specifications sourced from the official model card, separated cleanly from provider-specific availability and pricing.

DistilBERT SST-2 INT8 model-card specifications
AttributeVerified Value
Model NameDistilBERT SST-2 INT8
Canonical IDdistilbert-sst-2-int8
MakerHugging Face
FamilyDistilBERT
TaskText Classification
Parameters66M (INT8 quantized)
ArchitectureDistilled BERT Encoder
Context Window512 tokens
CapabilitiesText Classification
LicenseApache 2.0
Release2020

Confirmed Providers

Where to Run DistilBERT SST-2 INT8

Only providers whose official model lists confirm this model are listed below, each with verified per-million token pricing, account requirements, key status, and a direct launch action.

Cloudflare Workers AIStandard AccessNo Key Saved
Model ID: @cf/huggingface/distilbert-sst-2-int8$0.026 per 1M input tokens

Included in Cloudflare Workers AI 10,000 free daily Neurons (resets 00:00 UTC).

Add Key

Benchmark Runner

Measured Results

Dated outputs, latency, and token metrics produced by scripts/run-benchmarks.ts with the provider used and measurement date.

No Measured Benchmark Results Yet for DistilBERT SST-2 INT8

Benchmark measurements are never fabricated. Run scripts/run-benchmarks.ts with a supported provider API key and commit data/results/{model-id}.json to publish dated outputs, latency, and token metrics.


Integration

API Code Snippets

Copy ready-to-run curl, JavaScript, and Python code snippets for any confirmed provider offering this model.

curl -X POST "https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/huggingface/distilbert-sst-2-int8" \
  -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "Explain the core capabilities and ideal use cases of DistilBERT SST-2 INT8 in two crisp sentences."
}'

Head-to-Head

Model Comparisons

Explore enabled comparison pages or launch an interactive side-by-side test in the Compare tool.

No Pre-Built Comparison Pages Enabled for DistilBERT SST-2 INT8

Launch the interactive Compare tool to test this model side by side against any other model or provider right now.

Frequently Asked Questions

What Is DistilBERT SST-2 INT8 Best Suited For?

DistilBERT SST-2 INT8 is designed for text classification workloads by Hugging Face. INT8-quantized DistilBERT sequence classifier fine-tuned on the Stanford Sentiment Treebank (SST-2) for fast binary POSITIVE and NEGATIVE sentiment scoring.

How Can I Run DistilBERT SST-2 INT8 Live in the Browser?

Select one of the 1 confirmed provider listed in the Where to Run section, add your browser-stored API key for that provider, and run prompts directly in the live playground above.

Related Models and Tools