kiddothe2b/contract-nli
Viewer • Updated • 20.1k • 470 • 18
How to use osmanh/Bert-Contact-NLI with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("zero-shot-classification", model="osmanh/Bert-Contact-NLI") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("osmanh/Bert-Contact-NLI")
model = AutoModelForSequenceClassification.from_pretrained("osmanh/Bert-Contact-NLI")This model is a fine-tuned version of MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7 on the None dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Model Preparation Time | Accuracy | Precision | Recall | F1 | Ratio |
|---|---|---|---|---|---|---|---|---|---|
| No log | 1.0 | 95 | 0.9601 | 0.0101 | 0.6358 | 0.6154 | 0.6254 | 0.6161 | 0.4969 |