加载中…
加载中…
Fine-tuned DistilBERT for 3-class sentiment classification (negative/neutral/positive) on ~48k clothing reviews from Kaggle ("Consumer Review of Clothing", Jocelyn Dumlao).
| Model | Macro F1 | Accuracy |
|---|---|---|
| TF-IDF + Logistic Regression (baseline) | 0.68 | 0.82 |
| DistilBERT (this model) | 0.72 | 0.84 |
Most errors occur at class boundaries, particularly 4-star reviews predicted as neutral. 72% of these errors are 4-star reviews, and 76% contain contrast words ("but", "however") vs 36% of correctly classified positives — suggesting the model is reasonably picking up on genuinely mixed sentiment (praise + a caveat) rather than making random mistakes. Some errors likely trace to label noise (e.g. reviews describing returns or damage rated 4-5 stars).
0 = negative, 1 = neutral, 2 = positive