nyu-mll/glue
Viewer • Updated • 1.49M • 467k • 787
How to use Agita/Transformer with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="Agita/Transformer") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("Agita/Transformer")
model = AutoModel.from_pretrained("Agita/Transformer", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("Agita/Transformer")
model = AutoModel.from_pretrained("Agita/Transformer", device_map="auto")This model is a fine-tuned version of distilbert-base-uncased on the emotion 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 |
|---|---|---|---|---|---|
| 0.8042 | 1.0 | 250 | 0.3079 | 0.9075 | 0.9068 |
| 0.2448 | 2.0 | 500 | 0.2150 | 0.9255 | 0.9256 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Agita/Transformer")