Instructions to use thenlpresearcher/meta-llama_Llama-3_2-1B_StereoDetect_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use thenlpresearcher/meta-llama_Llama-3_2-1B_StereoDetect_Model with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-3.2-1B") model = PeftModel.from_pretrained(base_model, "thenlpresearcher/meta-llama_Llama-3_2-1B_StereoDetect_Model") - Transformers
How to use thenlpresearcher/meta-llama_Llama-3_2-1B_StereoDetect_Model with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("thenlpresearcher/meta-llama_Llama-3_2-1B_StereoDetect_Model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
meta-llama_Llama-3_2-1B_StereoDetect_Model
This model is a fine-tuned version of meta-llama/Llama-3.2-1B on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.2344
- Accuracy: 0.9505
- Balanced Accuracy: 0.9504
- F1 Weighted: 0.9505
- F1 Macro: 0.9508
- Precision: 0.9508
- Recall: 0.9505
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: 16
- eval_batch_size: 8
- 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: 7
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Balanced Accuracy | F1 Weighted | F1 Macro | Precision | Recall |
|---|---|---|---|---|---|---|---|---|---|
| No log | 1.0 | 380 | 0.2517 | 0.9021 | 0.9042 | 0.9020 | 0.9024 | 0.9100 | 0.9021 |
| 0.4339 | 2.0 | 760 | 0.2356 | 0.9171 | 0.9168 | 0.9168 | 0.9174 | 0.9209 | 0.9171 |
| 0.1562 | 3.0 | 1140 | 0.2387 | 0.9320 | 0.9316 | 0.9321 | 0.9327 | 0.9325 | 0.9320 |
| 0.0724 | 4.0 | 1520 | 0.2110 | 0.9447 | 0.9445 | 0.9445 | 0.9446 | 0.9449 | 0.9447 |
| 0.0724 | 5.0 | 1900 | 0.2325 | 0.9435 | 0.9435 | 0.9437 | 0.9441 | 0.9447 | 0.9435 |
| 0.0238 | 6.0 | 2280 | 0.2278 | 0.9516 | 0.9519 | 0.9516 | 0.9521 | 0.9518 | 0.9516 |
| 0.0057 | 7.0 | 2660 | 0.2344 | 0.9505 | 0.9504 | 0.9505 | 0.9508 | 0.9508 | 0.9505 |
Framework versions
- PEFT 0.19.1
- Transformers 4.51.3
- Pytorch 2.5.1+cu121
- Datasets 4.8.5
- Tokenizers 0.21.4
- Downloads last month
- 2
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for thenlpresearcher/meta-llama_Llama-3_2-1B_StereoDetect_Model
Base model
meta-llama/Llama-3.2-1B