Instructions to use ishan/bert-base-uncased-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ishan/bert-base-uncased-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ishan/bert-base-uncased-mnli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ishan/bert-base-uncased-mnli") model = AutoModelForSequenceClassification.from_pretrained("ishan/bert-base-uncased-mnli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from ishan/bert-base-uncased-mnli: direct link, hf CLI and curl.
- Browser
- Download file 709 Bytes
-
https://huggingface.co/ishan/bert-base-uncased-mnli/resolve/main/README.md
- Command line
-
hf download hf://ishan/bert-base-uncased-mnli/README.md
-
curl -L -o README.md https://huggingface.co/ishan/bert-base-uncased-mnli/resolve/main/README.md
709 Bytes
metadata
language: en
thumbnail: null
tags:
- pytorch
- text-classification
datasets:
- MNLI
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 |