Instructions to use Jeongmoon/disease_detector_3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Jeongmoon/disease_detector_3B with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("Qwen/Qwen2.5-3B-Instruct") model = PeftModel.from_pretrained(base_model, "Jeongmoon/disease_detector_3B") - Transformers
How to use Jeongmoon/disease_detector_3B with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Jeongmoon/disease_detector_3B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
disease_detector_3B
This model is a fine-tuned version of Qwen/Qwen2.5-3B-Instruct on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.3141
- Accuracy: 0.8949
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: 1e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.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: 5
Training results
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|---|---|---|---|---|
| No log | 1.0 | 224 | 0.8037 | 0.4428 |
| No log | 2.0 | 448 | 0.8808 | 0.2934 |
| 0.4123 | 3.0 | 672 | 0.8808 | 0.2738 |
| 0.4123 | 4.0 | 896 | 0.8949 | 0.3141 |
| 0.1742 | 5.0 | 1120 | 0.8925 | 0.3097 |
Framework versions
- PEFT 0.17.1
- Transformers 4.57.1
- Pytorch 2.6.0+cu124
- Datasets 4.2.0
- Tokenizers 0.22.1
- Downloads last month
- 8
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support