--- base_model: meta-llama/Llama-2-7b-hf library_name: peft license: llama2 metrics: - accuracy tags: - generated_from_trainer model-index: - name: llama2-pycodestyle-60 results: [] --- # llama2-pycodestyle-60 This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 1.2767 - Accuracy: 0.6667 ## 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: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 5 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:--------:| | 3.4668 | 1.0 | 8 | 0.8561 | 0.6667 | | 1.363 | 2.0 | 16 | 1.1190 | 0.7333 | | 0.261 | 3.0 | 24 | 1.2173 | 0.6667 | | 0.0947 | 4.0 | 32 | 1.2805 | 0.7333 | | 0.0433 | 5.0 | 40 | 1.2767 | 0.6667 | ### Framework versions - PEFT 0.11.1 - Transformers 4.41.2 - Pytorch 2.3.0+cu121 - Datasets 2.20.0 - Tokenizers 0.19.1