--- library_name: peft license: llama2 base_model: meta-llama/CodeLlama-7b-hf tags: - generated_from_trainer metrics: - accuracy model-index: - name: codellama-pycodestyle-tok results: [] --- # codellama-pycodestyle-tok This model is a fine-tuned version of [meta-llama/CodeLlama-7b-hf](https://huggingface.co/meta-llama/CodeLlama-7b-hf) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.7047 - Accuracy: 0.4917 ## 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.001 - train_batch_size: 8 - eval_batch_size: 8 - seed: 42 - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments - lr_scheduler_type: linear - num_epochs: 3 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:--------:| | 0.9262 | 1.0 | 60 | 0.8122 | 0.5417 | | 0.7149 | 2.0 | 120 | 0.6990 | 0.4583 | | 0.7235 | 3.0 | 180 | 0.7047 | 0.4917 | ### Framework versions - PEFT 0.14.0 - Transformers 4.47.1 - Pytorch 2.5.1+cu121 - Datasets 3.2.0 - Tokenizers 0.21.0