Instructions to use Sravanigunnu/sequence_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Sravanigunnu/sequence_classification with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("models/llama-guard-3-8b") model = PeftModel.from_pretrained(base_model, "Sravanigunnu/sequence_classification") - Notebooks
- Google Colab
- Kaggle
sequence_classification
This model was trained from scratch on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.3597
- Pearson: 0.7863
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: 32
- 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: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | Pearson |
|---|---|---|---|---|
| No log | 1.0 | 74 | 0.3711 | 0.7131 |
| No log | 2.0 | 148 | 0.3227 | 0.7641 |
| No log | 3.0 | 222 | 0.2954 | 0.7772 |
| No log | 4.0 | 296 | 0.3371 | 0.7700 |
| No log | 5.0 | 370 | 0.3597 | 0.7863 |
Framework versions
- PEFT 0.14.0
- Transformers 4.49.0.dev0
- Pytorch 2.1.0+cu121
- Datasets 3.2.0
- Tokenizers 0.21.0
- Downloads last month
- 4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support