CoolFace
Modelpublic

hf-tuner/bert-banking-intent

sourceHugging Faceapache-2.0updated 10mo agoView on Hugging Face
0likes12downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

bert-banking-intent

This model is a fine-tuned version of google-bert/bert-base-uncased on hf-tuner/banking-intent dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0079
  • —Accuracy: 0.9993

How to Get Started with the Model

py

from transformers import pipeline

classifier = pipeline("text-classification", model = "hf-tuner/bert-banking-intent")
classifier("Please help me get a new card, I reside in the United States.")
## [{'label': 'country_support', 'score': 0.997}]

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 2e-05
  • —trainbatchsize: 16
  • —evalbatchsize: 16
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 10

Training results

Training LossEpochStepValidation LossAccuracy
1.99011.06261.54370.8104
0.82282.012520.53280.9335
0.39013.018780.22140.9678
0.18894.025040.10410.9830
0.09735.031300.05180.9920
0.07336.037560.03220.9944
0.04057.043820.01670.9976
0.02148.050080.01140.9988
0.01759.056340.00910.9993
0.013810.062600.00790.9993

Framework versions

  • —Transformers 4.57.1
  • —Pytorch 2.8.0+cu126
  • —Datasets 4.0.0
  • —Tokenizers 0.22.1