Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use leomaurodesenv/nli-MiniLM2-L6-H768-answerable-or-not with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leomaurodesenv/nli-MiniLM2-L6-H768-answerable-or-not with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="leomaurodesenv/nli-MiniLM2-L6-H768-answerable-or-not")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("leomaurodesenv/nli-MiniLM2-L6-H768-answerable-or-not") model = AutoModelForSequenceClassification.from_pretrained("leomaurodesenv/nli-MiniLM2-L6-H768-answerable-or-not", device_map="auto") - Notebooks
- Google Colab
- Kaggle
nli-MiniLM2-L6-H768-answerable-or-not
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.0394
- Accuracy: 0.9924
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
- 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.1594 | 1.0 | 198 | 0.3216 | 0.9367 |
| 0.1780 | 2.0 | 396 | 0.0628 | 0.9873 |
| 0.0012 | 3.0 | 594 | 0.0394 | 0.9924 |
| 0.0020 | 4.0 | 792 | 0.0611 | 0.9924 |
| 0.0004 | 5.0 | 990 | 0.0801 | 0.9899 |
| 0.0003 | 6.0 | 1188 | 0.0631 | 0.9924 |
Framework versions
- Transformers 5.2.0
- Pytorch 2.10.0+cu128
- Datasets 4.5.0
- Tokenizers 0.22.2
- Downloads last month
- 77
Model tree for leomaurodesenv/nli-MiniLM2-L6-H768-answerable-or-not
Quantized
cross-encoder/nli-MiniLM2-L6-H768