Edit model card

model_phi_2_d_political_bias_hate_bias_ep_1_7_a_sqn_a_b_p_100_5_v_16

This model is a fine-tuned version of microsoft/phi-2 on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.8377
  • Accuracy: 0.8084
  • F1 Micro: 0.8084
  • Auc: 0.8939

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

Training results

Training Loss Epoch Step Validation Loss Accuracy F1 Micro Auc
0.568 1.0 38 0.7912 0.6554 0.6554 0.7416
0.3811 2.0 76 0.4819 0.7993 0.7993 0.8744
0.3865 3.0 114 0.4640 0.7977 0.7977 0.8817
0.0544 4.0 152 0.7133 0.8043 0.8043 0.8945
0.0295 5.0 190 0.8298 0.8100 0.8100 0.8867
0.006 6.0 228 0.7943 0.7985 0.7985 0.8943
0.0013 7.0 266 0.8377 0.8084 0.8084 0.8939

Framework versions

  • PEFT 0.11.1
  • Transformers 4.44.0
  • Pytorch 2.3.1+cu121
  • Datasets 2.20.0
  • Tokenizers 0.19.1
Downloads last month
0
Inference API
Unable to determine this model’s pipeline type. Check the docs .

Model tree for BogdanTurbal/model_phi_2_d_political_bias_hate_bias_ep_1_7_a_sqn_a_b_p_100_5_v_16

Base model

microsoft/phi-2
Adapter
(634)
this model

Collection including BogdanTurbal/model_phi_2_d_political_bias_hate_bias_ep_1_7_a_sqn_a_b_p_100_5_v_16