nyu-mll/glue
Viewer • Updated • 1.49M • 388k • 516
How to use Hartunka/tiny_bert_rand_50_v2_sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/tiny_bert_rand_50_v2_sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_rand_50_v2_sst2")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_rand_50_v2_sst2")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_rand_50_v2_sst2")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_rand_50_v2_sst2")This model is a fine-tuned version of Hartunka/tiny_bert_rand_50_v2 on the GLUE SST2 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.4222 | 1.0 | 264 | 0.4656 | 0.8096 |
| 0.2394 | 2.0 | 528 | 0.5868 | 0.7913 |
| 0.1886 | 3.0 | 792 | 0.5450 | 0.7913 |
| 0.1585 | 4.0 | 1056 | 0.6403 | 0.7947 |
| 0.1306 | 5.0 | 1320 | 0.6642 | 0.7856 |
| 0.1116 | 6.0 | 1584 | 0.7983 | 0.7810 |
Base model
Hartunka/tiny_bert_rand_50_v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/tiny_bert_rand_50_v2_sst2")