--- base_model: NousResearch/Llama-2-7b-hf tags: - generated_from_trainer model-index: - name: llama-2-7b-chat-medical results: [] --- # llama-2-7b-chat-medical This model is a fine-tuned version of [NousResearch/Llama-2-7b-hf](https://huggingface.co/NousResearch/Llama-2-7b-hf) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 1.1590 ## 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: 3e-05 - train_batch_size: 8 - eval_batch_size: 8 - seed: 42 - gradient_accumulation_steps: 2 - total_train_batch_size: 16 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - lr_scheduler_warmup_ratio: 0.1 - num_epochs: 4 ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | No log | 0.98 | 31 | 2.0531 | | 2.2737 | 2.0 | 63 | 1.2585 | | 2.2737 | 2.98 | 94 | 1.1848 | | 1.3031 | 3.94 | 124 | 1.1590 | ### Framework versions - Transformers 4.31.0 - Pytorch 2.2.1+cu121 - Datasets 2.18.0 - Tokenizers 0.13.3