--- 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-rank32-5epochs results: [] --- # CodeLlama-7b-Instruct-hf-FaVe-rank32-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.4204 ## 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.2379 | | 1.9976 | 0.5369 | 20 | 1.1101 | | 1.9976 | 0.8054 | 30 | 0.7295 | | 0.7928 | 1.0738 | 40 | 0.6305 | | 0.7928 | 1.3423 | 50 | 0.5909 | | 0.5658 | 1.6107 | 60 | 0.5420 | | 0.5658 | 1.8792 | 70 | 0.5110 | | 0.4536 | 2.1477 | 80 | 0.4825 | | 0.4536 | 2.4161 | 90 | 0.4757 | | 0.3663 | 2.6846 | 100 | 0.4401 | | 0.3663 | 2.9530 | 110 | 0.4342 | | 0.3023 | 3.2215 | 120 | 0.4362 | | 0.3023 | 3.4899 | 130 | 0.4198 | | 0.2704 | 3.7584 | 140 | 0.4218 | | 0.2704 | 4.0268 | 150 | 0.4129 | | 0.2137 | 4.2953 | 160 | 0.4259 | | 0.2137 | 4.5638 | 170 | 0.4258 | | 0.2135 | 4.8322 | 180 | 0.4204 | ### Framework versions - PEFT 0.10.0 - Transformers 4.40.2 - Pytorch 2.2.1+cu121 - Datasets 2.19.1 - Tokenizers 0.19.1