Model Card for xlm-roberta-large-squad2-csfever_v2-f1

Model Details

Model for natural language inference trained as a part of bachelor thesis.

Uses

Transformers

from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("ctu-aic/xlm-roberta-large-squad2-csfever_v2-f1")
tokenizer = AutoTokenizer.from_pretrained("ctu-aic/xlm-roberta-large-squad2-csfever_v2-f1")

Sentence Transformers

from sentence_transformers.cross_encoder import CrossEncoder
model = CrossEncoder('ctu-aic/xlm-roberta-large-squad2-csfever_v2-f1')
scores = model.predict([["My first context.", "My first hypothesis."],  
                        ["Second context.", "Hypothesis."]])
Downloads last month
138
Safetensors
Model size
560M params
Tensor type
I64
·
F32
·
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The HF Inference API does not support text-classification models for sentence-transformers library.

Dataset used to train ctu-aic/xlm-roberta-large-squad2-csfever_v2-f1