--- library_name: peft license: llama3.1 base_model: meta-llama/Llama-3.1-8B tags: - generated_from_trainer model-index: - name: llama3.1_8b_lawyer_finetuned results: [] --- # llama3.1_8b_lawyer_finetuned This model is a fine-tuned version of [meta-llama/Llama-3.1-8B](https://huggingface.co/meta-llama/Llama-3.1-8B) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.0646 ## 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-05 - train_batch_size: 6 - eval_batch_size: 6 - seed: 42 - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments - lr_scheduler_type: linear - num_epochs: 3 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:------:|:----:|:---------------:| | 0.1181 | 0.3794 | 500 | 0.1088 | | 0.0884 | 0.7587 | 1000 | 0.0817 | | 0.0792 | 1.1381 | 1500 | 0.0749 | | 0.0739 | 1.5175 | 2000 | 0.0710 | | 0.0705 | 1.8968 | 2500 | 0.0678 | | 0.0623 | 2.2762 | 3000 | 0.0661 | | 0.062 | 2.6555 | 3500 | 0.0646 | ### Framework versions - PEFT 0.13.2 - Transformers 4.46.3 - Pytorch 2.5.1+cu121 - Datasets 3.2.0 - Tokenizers 0.20.3