Downloads · 30 days
13
17% of all-time downloads
yevhenkost/cutiesRun28-05-2020-roberta-base-evidenceAlignment
cutiesRun28-05-2020-roberta-base-evidenceAlignment is a text classification model from yevhenkost. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
Pretrained model for evidence alignment on cutietestrun28May2020 dataset. The task was binary prediction whether the claim and evidence are relevant to each other. The model was built as a part of CEASystem.
Downloads · 30 days
13
17% of all-time downloads
All-time downloads
78
Public
Parameters
125M
499 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors499 MB · 99%
From the Hugging Face model README
Pretrained model for evidence alignment on cutietestrun28May2020 dataset. The task was binary prediction whether the claim and evidence are relevant to each other. The model was built as a part of CEASystem.
model = transformers.AutoModelForSequenceClassification.from_pretrained("yevhenkost/cutiesRun28-05-2020-roberta-base-evidenceAlignment")
tokenizer = transformers.AutoTokenizer.from_pretrained("yevhenkost/cutiesRun28-05-2020-roberta-base-evidenceAlignment")
claim_evidence_pairs = [
["The water is wet", "The sky is blue"],
["The car crashed", "Driver could not see the road"]
]
tokenized_inputs = tokenizer.batch_encode_plus(
predict_pairs,
return_tensors="pt",
padding=True,
truncation=True
)
preds = model(**tokenized_batch_input)
# logits: preds.logits