Instructions to use spjabech/th_cl_5epochs_lora_pos_neg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use spjabech/th_cl_5epochs_lora_pos_neg with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("gradientai/Llama-3-8B-Instruct-262k") model = PeftModel.from_pretrained(base_model, "spjabech/th_cl_5epochs_lora_pos_neg") - Notebooks
- Google Colab
- Kaggle
th_cl_5epochs_lora_pos_neg
This model is a fine-tuned version of gradientai/Llama-3-8B-Instruct-262k on the None dataset. It achieves the following results on the evaluation set:
- Loss: 1.0568
- Balanced Accuracy: 0.4881
- Accuracy: 0.4889
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: 0.0001
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Balanced Accuracy | Accuracy |
|---|---|---|---|---|---|
| 1.1552 | 1.0 | 32 | 1.2025 | 0.5119 | 0.5111 |
| 0.7688 | 2.0 | 64 | 1.1112 | 0.4939 | 0.4889 |
| 0.4098 | 3.0 | 96 | 1.0448 | 0.4881 | 0.4889 |
| 0.1714 | 4.0 | 128 | 1.0591 | 0.4881 | 0.4889 |
| 0.1392 | 5.0 | 160 | 1.0568 | 0.4881 | 0.4889 |
Framework versions
- PEFT 0.10.0
- Transformers 4.40.0
- Pytorch 2.2.2+cu121
- Datasets 2.18.0
- Tokenizers 0.19.1
- Downloads last month
- 2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for spjabech/th_cl_5epochs_lora_pos_neg
Base model
gradientai/Llama-3-8B-Instruct-262k
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("gradientai/Llama-3-8B-Instruct-262k") model = PeftModel.from_pretrained(base_model, "spjabech/th_cl_5epochs_lora_pos_neg")