PolyAI/banking77
Updated • 8.71k • 71
This model is a fine-tuned version of bert-base-uncased on the None 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.0958 | 1.0 | 626 | 0.7854 | 0.8363 |
| 0.3958 | 2.0 | 1252 | 0.3744 | 0.9168 |
| 0.1894 | 3.0 | 1878 | 0.3111 | 0.9275 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
ckpt = 'pistachio7/bert-base-banking77-pt2'
tokenizer = AutoTokenizer.from_pretrained(ckpt)
model = AutoModelForSequenceClassification.from_pretrained(ckpt)
classifier = pipeline('text-classification', tokenizer=tokenizer, model=model)
classifier('What is the base of the exchange rates?')
# Output: [{'label': 'exchange_rate', 'score': 0.9961327314376831}]
Base model
google-bert/bert-base-uncased