nyu-mll/glue
Viewer • Updated • 1.49M • 480k • 498
How to use Hartunka/tiny_bert_km_10_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_10_v1_sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_km_10_v1_sst2")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_km_10_v1_sst2")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_km_10_v1_sst2")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_km_10_v1_sst2")This model is a fine-tuned version of Hartunka/tiny_bert_km_10_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.4317 | 1.0 | 264 | 0.4589 | 0.7970 |
| 0.2421 | 2.0 | 528 | 0.4897 | 0.7970 |
| 0.1877 | 3.0 | 792 | 0.5510 | 0.8039 |
| 0.1548 | 4.0 | 1056 | 0.6199 | 0.7856 |
| 0.1267 | 5.0 | 1320 | 0.6628 | 0.7752 |
| 0.1068 | 6.0 | 1584 | 0.7954 | 0.7810 |
Base model
Hartunka/tiny_bert_km_10_v1
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/tiny_bert_km_10_v1_sst2")