nyu-mll/glue
Viewer โข Updated โข 1.49M โข 521k โข 808
How to use DFJ-Growth/model-train-1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="DFJ-Growth/model-train-1") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("DFJ-Growth/model-train-1")
model = AutoModelForSequenceClassification.from_pretrained("DFJ-Growth/model-train-1", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("DFJ-Growth/model-train-1")
model = AutoModelForSequenceClassification.from_pretrained("DFJ-Growth/model-train-1", 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 | F1 |
|---|---|---|---|---|---|
| No log | 1.0 | 459 | 0.3981 | 0.8358 | 0.8810 |
| 0.5416 | 2.0 | 918 | 0.4840 | 0.8578 | 0.9040 |
| 0.3144 | 3.0 | 1377 | 0.5075 | 0.8775 | 0.9141 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="DFJ-Growth/model-train-1")