nyu-mll/glue
Viewer • Updated • 1.49M • 481k • 501
How to use Hartunka/bert_base_km_50_v1_sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/bert_base_km_50_v1_sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_km_50_v1_sst2")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_km_50_v1_sst2")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_km_50_v1_sst2")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_km_50_v1_sst2")This model is a fine-tuned version of Hartunka/bert_base_km_50_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.4219 | 1.0 | 264 | 0.4366 | 0.8119 |
| 0.2286 | 2.0 | 528 | 0.4888 | 0.7947 |
| 0.1615 | 3.0 | 792 | 0.6224 | 0.7970 |
| 0.1168 | 4.0 | 1056 | 0.6124 | 0.7901 |
| 0.0868 | 5.0 | 1320 | 0.7038 | 0.7890 |
| 0.0646 | 6.0 | 1584 | 0.7527 | 0.7890 |
Base model
Hartunka/bert_base_km_50_v1
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_km_50_v1_sst2")