Back to all models
text-classification mask_token: <mask>
Query this model
🔥 This model is currently loaded and running on the Inference API. ⚠️ This model could not be loaded by the inference API. ⚠️ This model can be loaded on the Inference API on-demand.
JSON Output
API endpoint  

⚡️ Upgrade your account to access the Inference API

							curl -X POST \
-H "Authorization: Bearer YOUR_ORG_OR_USER_API_TOKEN" \
-H "Content-Type: application/json" \
-d '"json encoded string"' \
Share Copied link to clipboard

Monthly model downloads

prajjwal1/roberta-base-mnli prajjwal1/roberta-base-mnli
last 30 days



Contributed by

prajjwal1 Prajjwal
15 models

How to use this model directly from the 🤗/transformers library:

Copy to clipboard
from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("prajjwal1/roberta-base-mnli") model = AutoModelForSequenceClassification.from_pretrained("prajjwal1/roberta-base-mnli")
Uploaded in S3

Roberta-base trained on MNLI.

Task Accuracy
MNLI 86.32
MNLI-mm 86.43

You can also check out:

  • prajjwal1/roberta-base-mnli
  • prajjwal1/roberta-large-mnli
  • prajjwal1/albert-base-v2-mnli
  • prajjwal1/albert-base-v1-mnli
  • prajjwal1/albert-large-v2-mnli