legacy-datasets/banking77
Viewer • Updated • 13.1k • 6.52k • 51
How to use szilard/bert-base-banking77-pt2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="szilard/bert-base-banking77-pt2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("szilard/bert-base-banking77-pt2")
model = AutoModelForSequenceClassification.from_pretrained("szilard/bert-base-banking77-pt2")This model is a fine-tuned version of bert-base-uncased on the banking77 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 |
|---|---|---|---|---|
| 1.2034 | 1.0 | 626 | 0.8513 | 0.8310 |
| 0.4223 | 2.0 | 1252 | 0.3760 | 0.9150 |
| 0.2017 | 3.0 | 1878 | 0.3046 | 0.9293 |