fancyzhx/yelp_polarity
Viewer • Updated • 598k • 14.7k • 21
How to use Siki-77/sbert_yelp2class_fast with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Siki-77/sbert_yelp2class_fast") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Siki-77/sbert_yelp2class_fast")
model = AutoModelForSequenceClassification.from_pretrained("Siki-77/sbert_yelp2class_fast")This model is a fine-tuned version of sentence-transformers/all-MiniLM-L6-v2 on the yelp_polarity 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 |
|---|---|---|---|---|
| 0.0915 | 1.0 | 17500 | 0.0855 | 0.9710 |
| 0.0676 | 2.0 | 35000 | 0.0831 | 0.9733 |
Base model
sentence-transformers/all-MiniLM-L6-v2