legacy-datasets/banking77
Viewer • Updated • 13.1k • 10.8k • 51
How to use philschmid/bert-base-banking77-pt2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="philschmid/bert-base-banking77-pt2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("philschmid/bert-base-banking77-pt2")
model = AutoModelForSequenceClassification.from_pretrained("philschmid/bert-base-banking77-pt2")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("philschmid/bert-base-banking77-pt2")
model = AutoModelForSequenceClassification.from_pretrained("philschmid/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 |
|---|---|---|---|---|
| 0.1101 | 1.0 | 626 | 0.3595 | 0.9181 |
| 0.0658 | 2.0 | 1252 | 0.3570 | 0.9269 |
| 0.0308 | 3.0 | 1878 | 0.3333 | 0.9318 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="philschmid/bert-base-banking77-pt2")