Yelp/yelp_review_full
Viewer โข Updated โข 700k โข 25.2k โข 158
How to use Shunian/yelp_review_rating_reberta_base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Shunian/yelp_review_rating_reberta_base") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Shunian/yelp_review_rating_reberta_base")
model = AutoModelForSequenceClassification.from_pretrained("Shunian/yelp_review_rating_reberta_base", device_map="auto")This model was trained from scratch on the yelp_review_full dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|---|---|---|---|---|
| 0.8355 | 1.0 | 40625 | 0.6449 | 0.8211 |
| 0.7709 | 2.0 | 81250 | 0.6615 | 0.7877 |
| 0.7141 | 3.0 | 121875 | 0.6712 | 0.7689 |
| 0.6511 | 4.0 | 162500 | 0.6724 | 0.7845 |
| 0.6229 | 5.0 | 203125 | 0.6719 | 0.8009 |
| 0.6036 | 6.0 | 243750 | 0.8071 | 0.6709 |