Instructions to use ASethi04/llama-3.1-8b-stsb-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ASethi04/llama-3.1-8b-stsb-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.1-8B") model = PeftModel.from_pretrained(base_model, "ASethi04/llama-3.1-8b-stsb-lora") - Notebooks
- Google Colab
- Kaggle
llama-3.1-8b-stsb-lora
This model is a fine-tuned version of meta-llama/Llama-3.1-8B on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.8682
- Pearson: 0.8799
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 | Pearson |
|---|---|---|---|---|
| 0.5547 | 0.9998 | 2874 | 0.5223 | 0.8723 |
| 0.4043 | 2.0 | 5749 | 0.6872 | 0.8776 |
| 0.4044 | 2.9998 | 8623 | 0.8682 | 0.8799 |
| 0.0951 | 3.9993 | 11496 | 1.1905 | 0.8783 |
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
- 4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for ASethi04/llama-3.1-8b-stsb-lora
Base model
meta-llama/Llama-3.1-8B