banking77-electra-small-smoke

This model is a fine-tuned version of google/electra-small-discriminator on the legacy-datasets/banking77 dataset. It achieves the following results on the evaluation set:

  • Loss: 33.2788
  • Accuracy: 0.2910
  • Macro F1: 0.2275
  • Micro F1: 0.2910

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-05
  • train_batch_size: 256
  • eval_batch_size: 512
  • seed: 42
  • optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • num_epochs: 5.0

Training results

Training Loss Epoch Step Validation Loss Accuracy Macro F1 Micro F1
34.7398 1.0 24 34.4717 0.0621 0.0337 0.0621
34.7398 2.0 48 34.0773 0.1641 0.1237 0.1641
34.5159 3.0 72 33.6744 0.2447 0.1963 0.2447
34.5159 4.0 96 33.3887 0.2775 0.2182 0.2775
33.8528 5.0 120 33.2788 0.2910 0.2275 0.2910

Framework versions

  • Transformers 5.8.1
  • Pytorch 2.12.0+cu130
  • Datasets 4.8.5
  • Tokenizers 0.22.2

Generated by ML Intern

This model repository was generated by ML Intern, an agent for machine learning research and development on the Hugging Face Hub.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = 'CXBVSWEDRF/banking77-electra-small-smoke'
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)

For non-causal architectures, replace AutoModelForCausalLM with the appropriate AutoModel class.

Downloads last month
58
Safetensors
Model size
13.6M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for CXBVSWEDRF/banking77-electra-small-smoke

Finetuned
(49)
this model

Dataset used to train CXBVSWEDRF/banking77-electra-small-smoke

Evaluation results