Instructions to use ASethi04/llama-3.1-8b-arc-c-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-arc-c-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-arc-c-lora") - Notebooks
- Google Colab
- Kaggle
llama-3.1-8b-arc-c-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.6799
- Accuracy: 0.8289
- Precision: 0.8302
- Recall: 0.8290
- F1: 0.8295
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.313 | 0.9991 | 559 | 0.4802 | 0.8020 | 0.8102 | 0.7990 | 0.8026 |
| 0.2503 | 2.0 | 1119 | 0.3993 | 0.8255 | 0.8247 | 0.8280 | 0.8250 |
| 0.058 | 2.9991 | 1678 | 0.6145 | 0.8221 | 0.8211 | 0.8255 | 0.8222 |
| 0.0001 | 3.9964 | 2236 | 0.6799 | 0.8289 | 0.8302 | 0.8290 | 0.8295 |
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
- 6
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for ASethi04/llama-3.1-8b-arc-c-lora
Base model
meta-llama/Llama-3.1-8B