CoolFace
Modelpublic

s3nh/phi-2_dolly_instruction_polish

sourceHugging Faceotherupdated 3y agoView on Hugging Face
2likes
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>

phi-2-sft-out

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

  • Loss: 1.2813

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: 3e-06
  • trainbatchsize: 1
  • evalbatchsize: 1
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.95) and epsilon=1e-05
  • lrschedulertype: cosine
  • lrschedulerwarmup_steps: 10
  • num_epochs: 4

Training results

Training LossEpochStepValidation Loss
No log0.011.7973
1.97670.2552901.4832
1.84740.5105801.4356
1.81210.75158701.4022
1.83331.0211601.3678
1.66011.25264501.3508
1.54521.5317401.3357
1.73811.75370301.3191
1.62562.0423201.3090
1.55212.25476101.2961
1.83182.5529001.2910
1.67612.75581901.2901
1.63123.0634801.2879
1.70033.25687701.2820
1.69153.5740601.2814
1.57573.75793501.2813

Framework versions

  • Transformers 4.37.0.dev0
  • Pytorch 2.1.2+cu121
  • Datasets 2.16.0
  • Tokenizers 0.15.0

Training procedure

The following bitsandbytes quantization config was used during training:

  • quant_method: bitsandbytes
  • loadin8bit: False
  • loadin4bit: True
  • llmint8threshold: 6.0
  • llmint8skip_modules: None
  • llmint8enablefp32cpu_offload: False
  • llmint8hasfp16weight: False
  • bnb4bitquant_type: nf4
  • bnb4bitusedoublequant: True
  • bnb4bitcompute_dtype: bfloat16

Framework versions

  • PEFT 0.6.0