Instructions to use thenlpresearcher/Qwen_Qwen2_5-7B_StereoDetect_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use thenlpresearcher/Qwen_Qwen2_5-7B_StereoDetect_Model with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("Qwen/Qwen2.5-7B") model = PeftModel.from_pretrained(base_model, "thenlpresearcher/Qwen_Qwen2_5-7B_StereoDetect_Model") - Transformers
How to use thenlpresearcher/Qwen_Qwen2_5-7B_StereoDetect_Model with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("thenlpresearcher/Qwen_Qwen2_5-7B_StereoDetect_Model", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Qwen_Qwen2_5-7B_StereoDetect_Model
This model is a fine-tuned version of Qwen/Qwen2.5-7B on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.3888
- Accuracy: 0.9516
- Balanced Accuracy: 0.9514
- F1 Weighted: 0.9517
- F1 Macro: 0.9516
- Precision: 0.9518
- 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: 8
- 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: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Balanced Accuracy | F1 Weighted | F1 Macro | Precision | Recall |
|---|---|---|---|---|---|---|---|---|---|
| 1.0277 | 1.0 | 760 | 0.3188 | 0.9182 | 0.9199 | 0.9188 | 0.9190 | 0.9210 | 0.9182 |
| 0.22 | 2.0 | 1520 | 0.3112 | 0.9274 | 0.9267 | 0.9274 | 0.9280 | 0.9310 | 0.9274 |
| 0.0974 | 3.0 | 2280 | 0.3345 | 0.9355 | 0.9354 | 0.9355 | 0.9361 | 0.9388 | 0.9355 |
| 0.0642 | 4.0 | 3040 | 0.2738 | 0.9470 | 0.9475 | 0.9472 | 0.9477 | 0.9476 | 0.9470 |
| 0.0275 | 5.0 | 3800 | 0.3541 | 0.9516 | 0.9518 | 0.9518 | 0.9522 | 0.9523 | 0.9516 |
| 0.0185 | 6.0 | 4560 | 0.3427 | 0.9539 | 0.9540 | 0.9541 | 0.9542 | 0.9545 | 0.9539 |
| 0.005 | 7.0 | 5320 | 0.4126 | 0.9459 | 0.9455 | 0.9460 | 0.9459 | 0.9466 | 0.9459 |
| 0.01 | 8.0 | 6080 | 0.3939 | 0.9539 | 0.9537 | 0.9540 | 0.9538 | 0.9543 | 0.9539 |
| 0.0029 | 9.0 | 6840 | 0.3795 | 0.9505 | 0.9503 | 0.9506 | 0.9504 | 0.9507 | 0.9505 |
| 0.0023 | 10.0 | 7600 | 0.3888 | 0.9516 | 0.9514 | 0.9517 | 0.9516 | 0.9518 | 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
- 43
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for thenlpresearcher/Qwen_Qwen2_5-7B_StereoDetect_Model
Base model
Qwen/Qwen2.5-7B