Model Card for xlm-roberta-large-squad2-csfever_v2-precision
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-precision")
tokenizer = AutoTokenizer.from_pretrained("ctu-aic/xlm-roberta-large-squad2-csfever_v2-precision")
Sentence Transformers
from sentence_transformers.cross_encoder import CrossEncoder
model = CrossEncoder('ctu-aic/xlm-roberta-large-squad2-csfever_v2-precision')
scores = model.predict([["My first context.", "My first hypothesis."],
["Second context.", "Hypothesis."]])
- Downloads last month
- 6
Inference API (serverless) does not yet support sentence-transformers models for this pipeline type.