Downloads · 30 days
19
4% of all-time downloads
ctu-aic/xlm-roberta-large-squad2-csfever_v2-precision
xlm-roberta-large-squad2-csfever_v2-precision is a text classification model from ctu-aic. Use it when you need a label for a piece of text. It is set up for sentence-transformers. The card lists the license as cc-by-sa-4.0.
Model for natural language inference trained as a part of bachelor thesis.
Downloads · 30 days
19
4% of all-time downloads
All-time downloads
443
Public
Parameters
560M
4.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin2.2 GB · 50%
How the weights are stored.
F32560M · 100%
From the Hugging Face model README
Model for natural language inference trained as a part of bachelor thesis.
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")
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."]])