nyu-mll/glue
Viewer • Updated • 1.49M • 480k • 498
How to use chrisnb1/distilroberta-base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="chrisnb1/distilroberta-base") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("chrisnb1/distilroberta-base")
model = AutoModelForSequenceClassification.from_pretrained("chrisnb1/distilroberta-base")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("chrisnb1/distilroberta-base")
model = AutoModelForSequenceClassification.from_pretrained("chrisnb1/distilroberta-base")This model is a fine-tuned version of distilroberta-base on the glue and the mrpc datasets. 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 |
|---|---|---|---|---|---|
| 0.5429 | 1.09 | 500 | 0.5987 | 0.7794 | 0.8295 |
| 0.384 | 2.18 | 1000 | 0.5023 | 0.8284 | 0.8741 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="chrisnb1/distilroberta-base")