Model card
DistilBERT base uncased finetuned SST-2 is a lightweight, distilled version of BERT optimized for binary sentiment analysis. By reducing the model size while retaining most of the original's linguistic performance, it offers a significant speedup in inference latency and a smaller memory footprint, making it ideal for production environments with limited compute resources. Developers can integrate this model into pipelines for real-time sentiment monitoring, customer feedback sorting, or basic content moderation. Compared to full-scale BERT models, it provides a more efficient trade-off between accuracy and throughput without requiring complex quantization or pruning by the end-user.
Model files and versions
Download this model
We recommend using the ModelScope CLI or SDK. Install ModelScope first, then choose a full snapshot, single file, SDK or Git LFS workflow.
distilbert/distilbert-base-uncased-finetuned-sst-2-englishInstall the CLI and SDK dependency before downloading.
pip install modelscopeDownload the complete weights, configuration and model card.
modelscope download --model distilbert/distilbert-base-uncased-finetuned-sst-2-englishREADME.md is used as an example; replace it with another repository file when needed.
modelscope download --model distilbert/distilbert-base-uncased-finetuned-sst-2-english README.md --local_dir ./dirUseful in Python projects and automation scripts.
from modelscope import snapshot_download
model_dir = snapshot_download('distilbert/distilbert-base-uncased-finetuned-sst-2-english')Make sure Git LFS is installed correctly.
git lfs install
git clone https://www.modelscope.cn/distilbert/distilbert-base-uncased-finetuned-sst-2-english.gitFetch the repository structure first, then pull large files when needed.
GIT_LFS_SKIP_SMUDGE=1 git clone https://www.modelscope.cn/distilbert/distilbert-base-uncased-finetuned-sst-2-english.gitHow to use
- 01Step 1
Read the model card and source information.
- 02Step 2
Start with a small, non-sensitive evaluation.
- 03Step 3
Review quality, licensing and usage limits.
- 04Step 4
Adopt it only after validation.
Discussions
Use this space to keep checking source information, usage experience and maintenance status.
Open source page