peft safetensors generated_from_trainer base_model:codellama/CodeLlama-13b-Instruct-hf license:llama2 region:us
---
license: llama2
library_name: peft
tags:
- generated_from_trainer
base_model: codellama/CodeLlama-13b-Instruct-hf
model-index:
- name: stg-cli13b-t6-cdp-ca.mt.him.cln.inter-b4s1e1-20231219-1611
  results: []
---

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

# stg-cli13b-t6-cdp-ca.mt.him.cln.inter-b4s1e1-20231219-1611

This model is a fine-tuned version of [codellama/CodeLlama-13b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-13b-Instruct-hf) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0488

## 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: 4
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- num_epochs: 1
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 0.3427        | 0.03  | 100  | 0.0761          |
| 0.0683        | 0.07  | 200  | 0.0660          |
| 0.0619        | 0.1   | 300  | 0.0600          |
| 0.057         | 0.14  | 400  | 0.0576          |
| 0.0552        | 0.17  | 500  | 0.0561          |
| 0.056         | 0.21  | 600  | 0.0566          |
| 0.055         | 0.24  | 700  | 0.0545          |
| 0.0535        | 0.28  | 800  | 0.0551          |
| 0.0533        | 0.31  | 900  | 0.0538          |
| 0.0542        | 0.35  | 1000 | 0.0553          |
| 0.0532        | 0.38  | 1100 | 0.0539          |
| 0.0523        | 0.42  | 1200 | 0.0535          |
| 0.0518        | 0.45  | 1300 | 0.0522          |
| 0.0515        | 0.49  | 1400 | 0.0527          |
| 0.0517        | 0.52  | 1500 | 0.0516          |
| 0.0527        | 0.56  | 1600 | 0.0516          |
| 0.0506        | 0.59  | 1700 | 0.0509          |
| 0.0516        | 0.63  | 1800 | 0.0506          |
| 0.0504        | 0.66  | 1900 | 0.0504          |
| 0.0496        | 0.7   | 2000 | 0.0502          |
| 0.0497        | 0.73  | 2100 | 0.0499          |
| 0.0493        | 0.77  | 2200 | 0.0499          |
| 0.0497        | 0.8   | 2300 | 0.0496          |
| 0.0494        | 0.83  | 2400 | 0.0493          |
| 0.0494        | 0.87  | 2500 | 0.0490          |
| 0.0488        | 0.9   | 2600 | 0.0489          |
| 0.0483        | 0.94  | 2700 | 0.0488          |
| 0.0483        | 0.97  | 2800 | 0.0488          |


### Framework versions

- Transformers 4.37.0.dev0
- Pytorch 2.1.2+cu121
- Datasets 2.15.0
- Tokenizers 0.15.0
## Training procedure


The following `bitsandbytes` quantization config was used during training:
- quant_method: QuantizationMethod.BITS_AND_BYTES
- load_in_8bit: False
- load_in_4bit: True
- llm_int8_threshold: 6.0
- llm_int8_skip_modules: None
- llm_int8_enable_fp32_cpu_offload: False
- llm_int8_has_fp16_weight: False
- bnb_4bit_quant_type: nf4
- bnb_4bit_use_double_quant: True
- bnb_4bit_compute_dtype: bfloat16

### Framework versions


- PEFT 0.6.2
