defunct-datasets/amazon_reviews_multi
Updated • 4.5k • 102
How to use NannyML/amazon-reviews-sentiment-bert-base-uncased-6000-samples with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="NannyML/amazon-reviews-sentiment-bert-base-uncased-6000-samples") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("NannyML/amazon-reviews-sentiment-bert-base-uncased-6000-samples")
model = AutoModelForSequenceClassification.from_pretrained("NannyML/amazon-reviews-sentiment-bert-base-uncased-6000-samples")This model is a fine-tuned version of nlptown/bert-base-multilingual-uncased-sentiment on the amazon_reviews_multi 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 | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| No log | 1.0 | 188 | 0.5745 | 0.7586 | 0.7149 |
| No log | 2.0 | 376 | 0.5890 | 0.7679 | 0.7168 |