Yelp/yelp_review_full
Viewer • Updated • 700k • 30.7k • 151
How to use wonscha/my-awesome-model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="wonscha/my-awesome-model") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("wonscha/my-awesome-model")
model = AutoModelForSequenceClassification.from_pretrained("wonscha/my-awesome-model", device_map="auto")This model is a fine-tuned version of bert-base-cased 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 | Validation Loss | Accuracy |
|---|---|---|---|---|
| No log | 1.0 | 125 | 1.1345 | 0.523 |
| No log | 2.0 | 250 | 1.5381 | 0.539 |
| No log | 3.0 | 375 | 1.5680 | 0.559 |