Edit model card

SetFit_distilbert-base-uncased__hate_speech_offensive__train-16-1-finetuned-lora-ag_news

This model is a fine-tuned version of SetFit/distilbert-base-uncased__hate_speech_offensive__train-16-1 on the ag_news dataset. It achieves the following results on the evaluation set:

  • accuracy: 0.9399

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: 0.0004
  • train_batch_size: 24
  • eval_batch_size: 24
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 4

Training results

accuracy train_loss epoch
0.2504 None 0
0.9286 0.2482 0
0.9329 0.1917 1
0.9367 0.1693 2
0.9399 0.1530 3

Framework versions

  • PEFT 0.8.2
  • Transformers 4.37.2
  • Pytorch 2.2.0
  • Datasets 2.16.1
  • Tokenizers 0.15.2
Downloads last month
2
Inference Examples
Inference API (serverless) does not yet support peft models for this pipeline type.

Model tree for TransferGraph/SetFit_distilbert-base-uncased__hate_speech_offensive__train-16-1-finetuned-lora-ag_news

Dataset used to train TransferGraph/SetFit_distilbert-base-uncased__hate_speech_offensive__train-16-1-finetuned-lora-ag_news

Evaluation results