Text Classification
PEFT
TensorBoard
Safetensors
Transformers
roberta
lora
text-embeddings-inference
Instructions to use Nirij3m/roberta-synth-vishing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Nirij3m/roberta-synth-vishing with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("roberta-base") model = PeftModel.from_pretrained(base_model, "Nirij3m/roberta-synth-vishing") - Transformers
How to use Nirij3m/roberta-synth-vishing with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Nirij3m/roberta-synth-vishing")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Nirij3m/roberta-synth-vishing") model = AutoModelForSequenceClassification.from_pretrained("Nirij3m/roberta-synth-vishing") - Notebooks
- Google Colab
- Kaggle
roberta-synth-vishing
This model is a fine-tuned version of roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.4288
- Accuracy: 0.8599
- F1: 0.8604
- Precision: 0.8220
- Recall: 0.9027
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: 2e-05
- train_batch_size: 32
- eval_batch_size: 16
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 50
- num_epochs: 1
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|---|---|---|---|---|---|---|---|
| 0.6814 | 0.2429 | 85 | 0.6566 | 0.8114 | 0.7944 | 0.8297 | 0.7621 |
| 0.6113 | 0.4857 | 170 | 0.5616 | 0.8181 | 0.8108 | 0.8071 | 0.8145 |
| 0.5307 | 0.7286 | 255 | 0.4665 | 0.8436 | 0.8415 | 0.8168 | 0.8677 |
| 0.4640 | 0.9714 | 340 | 0.4288 | 0.8599 | 0.8604 | 0.8220 | 0.9027 |
Framework versions
- PEFT 0.19.1
- Transformers 5.0.0
- Pytorch 2.11.0+cu128
- Datasets 4.8.5
- Tokenizers 0.22.2
- Downloads last month
- 92
Model tree for Nirij3m/roberta-synth-vishing
Base model
FacebookAI/roberta-base