--- license: llama2 library_name: peft tags: - trl - sft - generated_from_trainer base_model: meta-llama/CodeLlama-7b-Instruct-hf model-index: - name: CodeLlama-7b-Instruct-hf-FaVe-rank16-5epochs results: [] --- # CodeLlama-7b-Instruct-hf-FaVe-rank16-5epochs This model is a fine-tuned version of [meta-llama/CodeLlama-7b-Instruct-hf](https://huggingface.co/meta-llama/CodeLlama-7b-Instruct-hf) on the None dataset. It achieves the following results on the evaluation set: - Loss: 0.4131 ## 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: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_steps: 10 - num_epochs: 5 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:------:|:----:|:---------------:| | No log | 0.2685 | 10 | 2.2540 | | 2.2036 | 0.5369 | 20 | 1.4976 | | 2.2036 | 0.8054 | 30 | 0.9705 | | 1.0292 | 1.0738 | 40 | 0.7546 | | 1.0292 | 1.3423 | 50 | 0.6841 | | 0.6735 | 1.6107 | 60 | 0.6245 | | 0.6735 | 1.8792 | 70 | 0.5752 | | 0.5321 | 2.1477 | 80 | 0.5541 | | 0.5321 | 2.4161 | 90 | 0.5309 | | 0.4611 | 2.6846 | 100 | 0.4981 | | 0.4611 | 2.9530 | 110 | 0.4775 | | 0.3997 | 3.2215 | 120 | 0.4544 | | 0.3997 | 3.4899 | 130 | 0.4403 | | 0.3704 | 3.7584 | 140 | 0.4247 | | 0.3704 | 4.0268 | 150 | 0.4199 | | 0.2725 | 4.2953 | 160 | 0.4201 | | 0.2725 | 4.5638 | 170 | 0.4147 | | 0.2931 | 4.8322 | 180 | 0.4131 | ### Framework versions - PEFT 0.10.0 - Transformers 4.40.2 - Pytorch 2.2.1+cu121 - Datasets 2.19.1 - Tokenizers 0.19.1