Hugging Face
Interactive
Sentiment Analysis
Analyze the emotional tone of text using a DistilBERT model trained on sentiment data. Works entirely in your browser.
Transformers.js Demo
Run ML models directly in your browser
idle
Analyze sentiment of English text
Output
Results will appear here after running inference
Model Information
This demo uses Xenova/distilbert-base-uncased-finetuned-sst-2-english
How This Works
This demo uses Transformers.js to run machine learning models directly in your browser using WebAssembly. No data is sent to any server—all inference happens locally on your device.