finetunedLLM_gpt2

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.0060

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: 1
  • eval_batch_size: 8
  • seed: 42
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 4
  • optimizer: Use OptimizerNames.PAGED_ADAMW_8BIT with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_steps: 1
  • training_steps: 500

Training results

Training Loss Epoch Step Validation Loss
0.8754 0.1918 50 0.0280
0.0186 0.3835 100 0.0104
0.0124 0.5753 150 0.0084
0.0108 0.7670 200 0.0092
0.0101 0.9588 250 0.0071
0.0092 1.1505 300 0.0060
0.0088 1.3423 350 0.0070
0.0085 1.5340 400 0.0065
0.0081 1.7258 450 0.0061
0.0078 1.9175 500 0.0060

Framework versions

  • PEFT 0.14.0
  • Transformers 4.46.3
  • Pytorch 2.3.1+cu121
  • Datasets 3.1.0
  • Tokenizers 0.20.3
Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for yuzhanghan1113/finetunedLLM_gpt2

Base model

microsoft/phi-2
Adapter
(994)
this model