nyu-mll/glue
Viewer • Updated • 1.49M • 562k • 1.13k
How to use eormeno12/platzi-distilroberta-base-mrpc-glue with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="eormeno12/platzi-distilroberta-base-mrpc-glue") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("eormeno12/platzi-distilroberta-base-mrpc-glue")
model = AutoModelForSequenceClassification.from_pretrained("eormeno12/platzi-distilroberta-base-mrpc-glue", device_map="auto")YAML Metadata Error:"widget[0].text" must be a string
YAML Metadata Error:"widget[1].text" must be a string
This model is a fine-tuned version of bert-base-uncased 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.5624 | 1.09 | 500 | 0.4727 | 0.7990 | 0.8591 |
| 0.4063 | 2.18 | 1000 | 0.4414 | 0.8627 | 0.9 |
| 0.2612 | 3.27 | 1500 | 0.5972 | 0.8529 | 0.8986 |