Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use leomaurodesenv/nli-MiniLM2-L6-H768-jailbreakv-28k-augmented with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leomaurodesenv/nli-MiniLM2-L6-H768-jailbreakv-28k-augmented with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="leomaurodesenv/nli-MiniLM2-L6-H768-jailbreakv-28k-augmented")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("leomaurodesenv/nli-MiniLM2-L6-H768-jailbreakv-28k-augmented") model = AutoModelForSequenceClassification.from_pretrained("leomaurodesenv/nli-MiniLM2-L6-H768-jailbreakv-28k-augmented", device_map="auto") - Notebooks
- Google Colab
- Kaggle
nli-MiniLM2-L6-H768-jailbreakv-28k-augmented
This model is a fine-tuned version of cross-encoder/nli-MiniLM2-L6-H768 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0053
- Accuracy: 0.9982
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: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 16
- optimizer: Use 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: 10
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.0450 | 1.0 | 7840 | 0.0136 | 0.9957 |
| 0.0001 | 2.0 | 15680 | 0.0114 | 0.9968 |
| 0.0186 | 3.0 | 23520 | 0.0122 | 0.9970 |
| 0.0127 | 4.0 | 31360 | 0.0088 | 0.9977 |
| 0.0201 | 5.0 | 39200 | 0.0071 | 0.9981 |
| 0.0047 | 6.0 | 47040 | 0.0063 | 0.9979 |
| 0.0701 | 7.0 | 54880 | 0.0084 | 0.9974 |
| 0.0000 | 8.0 | 62720 | 0.0052 | 0.9982 |
| 0.0137 | 9.0 | 70560 | 0.0062 | 0.9978 |
| 0.0151 | 10.0 | 78400 | 0.0057 | 0.9980 |
Framework versions
- Transformers 5.2.0
- Pytorch 2.10.0+cu128
- Datasets 4.5.0
- Tokenizers 0.22.2
- Downloads last month
- 311
Model tree for leomaurodesenv/nli-MiniLM2-L6-H768-jailbreakv-28k-augmented
Quantized
cross-encoder/nli-MiniLM2-L6-H768