library_name: transformers
license: apache-2.0
base_model: cross-encoder/nli-MiniLM2-L6-H768
tags:
- generated_from_trainer
metrics: - accuracy
model-index: - name: nli-MiniLM2-L6-H768-trustairlab-jailbreak
results: []
nli-MiniLM2-L6-H768-trustairlab-jailbreak
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.1968
- Accuracy: 0.9317
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.3715 | 1.0 | 605 | 0.2312 | 0.9309 |
| 0.1321 | 2.0 | 1210 | 0.1960 | 0.9317 |
| 0.2498 | 3.0 | 1815 | 0.2272 | 0.9309 |
| 0.3177 | 4.0 | 2420 | 0.2359 | 0.9334 |
| 0.0712 | 5.0 | 3025 | 0.3115 | 0.9230 |
Framework versions
- Transformers 5.2.0
- Pytorch 2.10.0+cu128
- Datasets 4.5.0
- Tokenizers 0.22.2