Downloads · 30 days
1
0% of all-time downloads
harmanpreet-kaur/yelp-review-sentiment-analysis-model-1
yelp-review-sentiment-analysis-model-1 is a text classification model from harmanpreet-kaur. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
1
0% of all-time downloads
All-time downloads
253
Public
Parameters
167M
669 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors669 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of LiYuan/amazon-review-sentiment-analysis on yelp_review_full dataset with 650,000 Traning rows and 50,000 test rows. It achieves the following results on the evaluation set:
This a bert-base-multilingual-uncased model fine tuned for sentiment analysis on product reviews. It predicts the sentiment of the review as a number of stars (between 1 and 5). This model is intended for direct use as a sentiment analysis model for product reviews in any of the six languages above, or for further finetuning on related sentiment analysis tasks.
Bert-base is primarily aimed at being fine-tuned on tasks that use the whole sentence (potentially masked) to make decisions, such as sequence classification, token classification, or question answering. This fine-tuned version of BERT-base is used to predict review rating star given the review.
The limitations are this trained model focuses on reviews and products on Amazon. If you apply this model to other domains, it may perform poorly.
The Training and evaluation data can be found here.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.9292 | 1.0 | 625 | 0.8798 | 0.6142 | 0.6190 |
| 0.7543 | 2.0 | 1250 | 0.8765 | 0.6316 | 0.6294 |