CoolFace
Modelpublic

smangrul/peft-lora-starcoderbase7b-personal-copilot-A100-40GB-colab

sourceHugging Facebigcode-openrail-mupdated 3y agoView on Hugging Face
1likes25downloads
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. -->

peft-lora-starcoderbase7b-personal-copilot-A100-40GB-colab

This model is a fine-tuned version of bigcode/starcoderbase-7b on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.4253

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

The following bitsandbytes quantization config was used during training:

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

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 0.0002
  • —trainbatchsize: 8
  • —evalbatchsize: 8
  • —seed: 42
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 16
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: constant
  • —lrschedulerwarmup_steps: 30
  • —training_steps: 2000

Training results

Training LossEpochStepValidation Loss
0.73350.051000.6803
0.70720.12000.6197
0.7190.153000.5627
0.62170.24000.5389
0.54150.255000.5378
0.58810.36000.5238
0.54960.357000.5092
0.62260.48000.5070
0.52910.459000.5037
0.6120.510000.4923
0.57520.5511000.4780
0.59210.612000.4620
0.47290.6513000.4635
0.63160.714000.4600
0.47380.7515000.4574
0.86650.816000.4555
0.48050.8517000.4509
0.5150.918000.4531
0.46740.9519000.4402
0.56111.020000.4253

Framework versions

  • —PEFT 0.5.0.dev0
  • —Transformers 4.32.0.dev0
  • —Pytorch 2.0.1+cu118
  • —Datasets 2.14.4
  • —Tokenizers 0.13.3