CoolFace
Modelpublic

sarthak247/codellama-7b-humaneval-java-fim

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes8downloads
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. -->

codellama-7b-humaneval-java-fim

This model was trained from scratch on an this dataset for FIM task. It achieves the following results on the evaluation set:

  • Loss: 0.6155

Model description

Codellama-7b model trained for FIM on Java code dataset.

Intended uses & limitations

Bleh

Training and evaluation data

Dataset mentioned above

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

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.0005
  • trainbatchsize: 4
  • evalbatchsize: 4
  • seed: 42
  • gradientaccumulationsteps: 4
  • totaltrainbatch_size: 16
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: cosine
  • lrschedulerwarmup_steps: 30
  • training_steps: 2000

Training results

Training LossEpochStepValidation Loss
0.65940.051000.6927
0.67010.12000.6784
0.63290.153000.6690
0.63610.24000.6629
0.59640.255000.6545
0.62470.36000.6461
0.61460.357000.6407
0.58920.48000.6364
0.59160.459000.6308
0.60690.510000.6267
0.58040.5511000.6242
0.57930.612000.6212
0.58360.6513000.6195
0.58390.714000.6174
0.5970.7515000.6162
0.60420.816000.6158
0.57770.8517000.6155
0.56830.918000.6155
0.56130.9519000.6155
0.55971.020000.6155

Framework versions

  • PEFT 0.5.0
  • Transformers 4.34.0
  • Pytorch 2.1.0+cu118
  • Datasets 2.16.1
  • Tokenizers 0.14.1