nyu-mll/glue
Viewer โข Updated โข 1.49M โข 481k โข 501
How to use soonbob/mnli-finetuned-bert-base-cased with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="soonbob/mnli-finetuned-bert-base-cased") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("soonbob/mnli-finetuned-bert-base-cased")
model = AutoModelForSequenceClassification.from_pretrained("soonbob/mnli-finetuned-bert-base-cased")MNLI ๋ฐ์ดํฐ์ ์ ํ์ต์ํจ BERT ํ์ธํ๋ ์ฐ์ต์ฉ์ผ๋ก ๋ง๋ ๊ฒ์ ๋๋ค.
This is a BERT-based model fine-tuned on the Multi-Genre Natural Language Inference (MultiNLI) dataset for the task of natural language inference (NLI), using Hugging Face's Trainer.
It classifies a pair of sentences into one of the following classes:
This model can be used for:
It achieves the following results on the evaluation set:
bert-base-casednyu-mll/glue, subset: mnliThe following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.8662 | 1.0 | 2455 | 0.8682 | 0.6033 | 0.5946 |
| 0.7964 | 2.0 | 4910 | 0.8449 | 0.6242 | 0.6242 |
| 0.7323 | 3.0 | 7365 | 0.8673 | 0.6237 | 0.6231 |
Base model
google-bert/bert-base-cased