Instructions to use thenlpresearcher/meta-llama_Llama-3_2-3B_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-3B_StereoDetect_Model with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("meta-llama/Llama-3.2-3B") model = PeftModel.from_pretrained(base_model, "thenlpresearcher/meta-llama_Llama-3_2-3B_StereoDetect_Model") - Transformers
How to use thenlpresearcher/meta-llama_Llama-3_2-3B_StereoDetect_Model with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("thenlpresearcher/meta-llama_Llama-3_2-3B_StereoDetect_Model", dtype="auto") - Notebooks
- Google Colab
- Kaggle
meta-llama_Llama-3_2-3B_StereoDetect_Model
This model is a fine-tuned version of meta-llama/Llama-3.2-3B on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.3155
- Accuracy: 0.9516
- Balanced Accuracy: 0.9518
- F1 Weighted: 0.9516
- F1 Macro: 0.9520
- Precision: 0.9535
- Recall: 0.9516
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: 8
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Balanced Accuracy | F1 Weighted | F1 Macro | Precision | Recall |
|---|---|---|---|---|---|---|---|---|---|
| No log | 1.0 | 380 | 0.2469 | 0.9366 | 0.9378 | 0.9369 | 0.9367 | 0.9374 | 0.9366 |
| 0.3756 | 2.0 | 760 | 0.1898 | 0.9297 | 0.9299 | 0.9299 | 0.9308 | 0.9320 | 0.9297 |
| 0.1284 | 3.0 | 1140 | 0.1994 | 0.9482 | 0.9486 | 0.9480 | 0.9483 | 0.9513 | 0.9482 |
| 0.0501 | 4.0 | 1520 | 0.2381 | 0.9551 | 0.9540 | 0.9553 | 0.9553 | 0.9558 | 0.9551 |
| 0.0501 | 5.0 | 1900 | 0.2212 | 0.9447 | 0.9451 | 0.9449 | 0.9455 | 0.9452 | 0.9447 |
| 0.0167 | 6.0 | 2280 | 0.2934 | 0.9516 | 0.9518 | 0.9517 | 0.9521 | 0.9531 | 0.9516 |
| 0.0061 | 7.0 | 2660 | 0.3348 | 0.9516 | 0.9518 | 0.9517 | 0.9521 | 0.9534 | 0.9516 |
| 0.0042 | 8.0 | 3040 | 0.3155 | 0.9516 | 0.9518 | 0.9516 | 0.9520 | 0.9535 | 0.9516 |
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
- 39
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-3B_StereoDetect_Model
Base model
meta-llama/Llama-3.2-3B