nyu-mll/glue
Viewer • Updated • 1.49M • 534k • 1.12k
How to use AbeerAlbashiti/distilbert-sentiment with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="AbeerAlbashiti/distilbert-sentiment") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("AbeerAlbashiti/distilbert-sentiment")
model = AutoModelForSequenceClassification.from_pretrained("AbeerAlbashiti/distilbert-sentiment", device_map="auto")This model is a fine-tuned version of distilbert-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 |
|---|---|---|---|---|
| 0.1839 | 1.0 | 4210 | 0.2905 | 0.0654 |
Base model
distilbert/distilbert-base-uncased