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