--- license: llama2 base_model: meta-llama/Llama-2-7b-hf tags: - generated_from_trainer model-index: - name: llama2-spin-llama2-data results: [] --- # llama2-spin-llama2-data This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the None dataset. It achieves the following results on the evaluation set: - Loss: 0.0006 - Rewards/real: 2.2530 - Rewards/generated: -19.7401 - Rewards/accuracies: 1.0 - Rewards/margins: 21.9931 - Logps/generated: -369.5714 - Logps/real: -156.9775 - Logits/generated: -0.1105 - Logits/real: -0.5282 ## 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: 5e-07 - train_batch_size: 8 - eval_batch_size: 8 - seed: 42 - distributed_type: multi-GPU - num_devices: 4 - total_train_batch_size: 32 - total_eval_batch_size: 32 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_ratio: 0.1 - num_epochs: 1 ### Training results | Training Loss | Epoch | Step | Validation Loss | Rewards/real | Rewards/generated | Rewards/accuracies | Rewards/margins | Logps/generated | Logps/real | Logits/generated | Logits/real | |:-------------:|:-----:|:----:|:---------------:|:------------:|:-----------------:|:------------------:|:---------------:|:---------------:|:----------:|:----------------:|:-----------:| | 0.0006 | 0.29 | 500 | 0.0024 | 1.7596 | -12.5613 | 1.0 | 14.3209 | -297.7838 | -161.9117 | -0.0675 | -0.5573 | | 0.0003 | 0.58 | 1000 | 0.0013 | 2.3476 | -16.6356 | 1.0 | 18.9832 | -338.5269 | -156.0320 | -0.0887 | -0.5339 | | 0.0002 | 0.87 | 1500 | 0.0006 | 2.2530 | -19.7401 | 1.0 | 21.9931 | -369.5714 | -156.9775 | -0.1105 | -0.5282 | ### Framework versions - Transformers 4.37.0 - Pytorch 2.1.2+cu121 - Datasets 2.14.6 - Tokenizers 0.15.2