nyu-mll/glue
Viewer โข Updated โข 1.49M โข 441k โข 525
How to use Ghost1/bert-base-uncased-finetuned_for_sentiment_analysis1-sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Ghost1/bert-base-uncased-finetuned_for_sentiment_analysis1-sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Ghost1/bert-base-uncased-finetuned_for_sentiment_analysis1-sst2")
model = AutoModelForSequenceClassification.from_pretrained("Ghost1/bert-base-uncased-finetuned_for_sentiment_analysis1-sst2", device_map="auto")This model is a fine-tuned version of bert-base-uncased on the glue 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 | 63 | 0.3697 | 0.8544 |
| No log | 2.0 | 126 | 0.2904 | 0.8956 |
| No log | 3.0 | 189 | 0.4000 | 0.8830 |
| No log | 4.0 | 252 | 0.4410 | 0.8911 |
| No log | 5.0 | 315 | 0.4723 | 0.8853 |