nyu-mll/glue
Viewer • Updated • 1.49M • 466k • 496
How to use Hartunka/tiny_bert_km_5_v1_sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/tiny_bert_km_5_v1_sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_km_5_v1_sst2")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_km_5_v1_sst2")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_km_5_v1_sst2")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_km_5_v1_sst2")This model is a fine-tuned version of Hartunka/tiny_bert_km_5_v1 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.4117 | 1.0 | 264 | 0.4539 | 0.8062 |
| 0.237 | 2.0 | 528 | 0.5017 | 0.8062 |
| 0.1818 | 3.0 | 792 | 0.5190 | 0.8108 |
| 0.1468 | 4.0 | 1056 | 0.5855 | 0.8028 |
| 0.1172 | 5.0 | 1320 | 0.6914 | 0.7959 |
| 0.0983 | 6.0 | 1584 | 0.6562 | 0.7970 |
Base model
Hartunka/tiny_bert_km_5_v1
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/tiny_bert_km_5_v1_sst2")