distilbert-base-uncased-swag

This model is a fine-tuned version of distilbert/distilbert-base-uncased on SWAG dataset. It achieves the following results on the evaluation set:

  • Loss: 0.8950
  • Accuracy: 0.6426

Model description

More information needed

Intended uses & limitations

This model should be used as an expert in the Meteor-of-LoRA framework.

Training and evaluation data

The data were splitted based on HuggingFace default dataset:

dataset = load_dataset("swag")

Training procedure

Our approach focuses explicitly on adapting the Transformers weights' Wq (query) and Wv (value) in the attention module for parameter efficiency.

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-05
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 5

Training results

Training Loss Epoch Step Validation Loss Accuracy
1.0589 1.0 4597 0.9717 0.6067
1.005 2.0 9194 0.9304 0.6264
1.0016 3.0 13791 0.9089 0.6353
0.9861 4.0 18388 0.9005 0.6390
0.9774 5.0 22985 0.8950 0.6426

Framework versions

  • PEFT 0.12.1.dev0
  • Transformers 4.45.0.dev0
  • Pytorch 2.3.1+cu121
  • Datasets 2.21.0
  • Tokenizers 0.19.1
Downloads last month
0
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no pipeline_tag.

Model tree for yefo-ufpe/distilbert-base-uncased-swag

Adapter
(242)
this model