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"' \
https://api-inference.huggingface.co/models/ishan/bert-base-uncased-mnli
Share Copied link to clipboard

Monthly model downloads

ishan/bert-base-uncased-mnli ishan/bert-base-uncased-mnli
413 downloads
last 30 days

pytorch

tf

Contributed by

ishan Ishan Tarunesh
2 models

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

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

bert-base-uncased finetuned on MNLI

Model Details and Training Data

We used the pretrained model from bert-base-uncased and finetuned it on MultiNLI dataset.

The training parameters were kept the same as Devlin et al., 2019 (learning rate = 2e-5, training epochs = 3, max_sequence_len = 128 and batch_size = 32).

Evaluation Results

The evaluation results are mentioned in the table below.

Test Corpus Accuracy
Matched 0.8456
Mismatched 0.8484