llama-3.1-8b-piqa-lora

This model is a fine-tuned version of meta-llama/Llama-3.1-8B on the piqa dataset. It achieves the following results on the evaluation set:

  • Loss: 0.5498
  • Accuracy: 0.9010
  • Precision: 0.8907
  • Recall: 0.9191
  • F1: 0.9047

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: 1
  • eval_batch_size: 1
  • seed: 42
  • gradient_accumulation_steps: 2
  • total_train_batch_size: 2
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_steps: 10
  • num_epochs: 4

Training results

Training Loss Epoch Step Validation Loss Accuracy Precision Recall F1
0.1593 0.9999 8056 0.1965 0.8977 0.8852 0.9191 0.9019
0.02 2.0 16113 0.3301 0.8825 0.8851 0.8851 0.8851
0.0 2.9999 24169 0.4240 0.8988 0.8919 0.9128 0.9022
0.0 3.9998 32224 0.5498 0.9010 0.8907 0.9191 0.9047

Framework versions

  • PEFT 0.13.2
  • Transformers 4.45.2
  • Pytorch 2.4.1+cu121
  • Datasets 2.19.0
  • Tokenizers 0.20.1
Downloads last month
1
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ASethi04/llama-3.1-8b-piqa-lora

Adapter
(659)
this model

Dataset used to train ASethi04/llama-3.1-8b-piqa-lora