klue/klue
Viewer • Updated • 206k • 7.41k • 92
How to use bash1130/bert-base-finetuned-ynat with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="bash1130/bert-base-finetuned-ynat") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("bash1130/bert-base-finetuned-ynat")
model = AutoModelForSequenceClassification.from_pretrained("bash1130/bert-base-finetuned-ynat")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("bash1130/bert-base-finetuned-ynat")
model = AutoModelForSequenceClassification.from_pretrained("bash1130/bert-base-finetuned-ynat")This model is a fine-tuned version of klue/bert-base on the klue 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 | F1 |
|---|---|---|---|---|
| No log | 1.0 | 179 | 0.3979 | 0.8611 |
| No log | 2.0 | 358 | 0.3773 | 0.8669 |
| 0.3007 | 3.0 | 537 | 0.3609 | 0.8712 |
| 0.3007 | 4.0 | 716 | 0.3708 | 0.8708 |
| 0.3007 | 5.0 | 895 | 0.3720 | 0.8697 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="bash1130/bert-base-finetuned-ynat")