metadata
base_model: meta-llama/Llama-2-7b-hf
library_name: peft
license: llama2
metrics:
- accuracy
tags:
- generated_from_trainer
model-index:
- name: llama2-pycodestyle
results: []
llama2-pycodestyle
This model is a fine-tuned version of meta-llama/Llama-2-7b-hf on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0828
- Accuracy: 0.9917
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: 4
- eval_batch_size: 4
- 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 |
---|---|---|---|---|
1.0202 | 1.0 | 120 | 0.8542 | 0.9417 |
0.4746 | 2.0 | 240 | 0.1135 | 0.975 |
0.1739 | 3.0 | 360 | 0.1190 | 0.975 |
0.076 | 4.0 | 480 | 0.0993 | 0.9833 |
0.0 | 5.0 | 600 | 0.0828 | 0.9917 |
Framework versions
- PEFT 0.11.1
- Transformers 4.41.2
- Pytorch 2.3.0+cu121
- Datasets 2.20.0
- Tokenizers 0.19.1