YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
roberta-large-finetuned-mnli
roberta-large finetuned on mnli dataset https://huggingface.co/datasets/multi_nli
accuracy on val_match: 0.9013 accuracy on val_mismatch: 0.8995
usage
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained('roberta-large')
model = AutoModelForSequenceClassification
input_ids = tokenizer('I love English </s> I like English.',return_tensors='pt').input_ids
with torch.no_grad():
logits = model(input_ids).logits
- Downloads last month
- 1
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.