|
Download README.md from abelcetina/amazon-review-classifiers: direct link, hf CLI and curl.
- Browser
- Download file 701 Bytes
-
https://huggingface.co/abelcetina/amazon-review-classifiers/resolve/main/README.md
- Command line
-
hf download hf://abelcetina/amazon-review-classifiers/README.md
-
curl -L -o README.md https://huggingface.co/abelcetina/amazon-review-classifiers/resolve/main/README.md
701 Bytes
| license: apache-2.0 | |
| language: en | |
| tags: [text-classification, sentiment-analysis, amazon-reviews] | |
| # Amazon review polarity classifiers | |
| Two classifiers trained on the Amazon Review Polarity dataset (Zhang et al., 2015), labels | |
| 0 = negative, 1 = positive. Input: cleaned "title. text" (lowercase, HTML and URLs removed). | |
| - `tfidf_portable/`: TF-IDF (word 1-2-grams, sublinear TF) + logistic regression as plain files | |
| (term list JSON, NumPy weights). Test accuracy 0.9380 on the 400,000-review test split. | |
| - `review_dnn/`: Keras CNN (embedding + Conv1D kernels 3 and 5) weights, vocabulary and config. | |
| Test accuracy 0.9342. | |
| Metrics, 5-fold cross-validation and timings: `classifiers.json`. | |