--- library_name: peft license: llama2 base_model: meta-llama/Llama-2-7b-hf tags: - generated_from_trainer model-index: - name: Llama2-7B-lora-r-32-generic-epoch-5-labels_40.0 results: [] --- # Llama2-7B-lora-r-32-generic-epoch-5-labels_40.0 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: 3.9360 ## 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: 1e-05 - train_batch_size: 2 - eval_batch_size: 2 - seed: 42 - gradient_accumulation_steps: 4 - total_train_batch_size: 8 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: cosine - lr_scheduler_warmup_steps: 100 - training_steps: 150 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:------:|:----:|:---------------:| | 5.1569 | 0.0457 | 20 | 5.3968 | | 5.3987 | 0.0914 | 40 | 5.2553 | | 5.133 | 0.1371 | 60 | 5.0065 | | 4.6634 | 0.1829 | 80 | 4.6042 | | 4.3315 | 0.2286 | 100 | 4.2429 | | 4.0887 | 0.2743 | 120 | 4.0269 | | 3.9483 | 0.32 | 140 | 3.9360 | ### Framework versions - PEFT 0.15.2 - Transformers 4.45.2 - Pytorch 2.5.0+cu121 - Datasets 3.2.0 - Tokenizers 0.20.3