nyu-mll/glue
Viewer • Updated • 1.49M • 477k • 504
How to use Hartunka/bert_base_km_10_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_10_v1_sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_km_10_v1_sst2")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_km_10_v1_sst2")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_km_10_v1_sst2")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_km_10_v1_sst2")This model is a fine-tuned version of Hartunka/bert_base_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.3933 | 1.0 | 264 | 0.4427 | 0.8028 |
| 0.2191 | 2.0 | 528 | 0.5449 | 0.8016 |
| 0.1553 | 3.0 | 792 | 0.5948 | 0.7821 |
| 0.1123 | 4.0 | 1056 | 0.7206 | 0.8142 |
| 0.0838 | 5.0 | 1320 | 0.6723 | 0.8016 |
| 0.0619 | 6.0 | 1584 | 0.7456 | 0.8050 |
Base model
Hartunka/bert_base_km_10_v1
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_km_10_v1_sst2")