Downloads · 30 days
29
1% of all-time downloads
Li/bert-base-uncased-qnli
bert-base-uncased-qnli is a text classification model from Li. Use it when you need a label for a piece of text. It is set up for transformers.
bert-base-uncased fine-tuned on the QNLI dataset for 2 epochs.
Downloads · 30 days
29
1% of all-time downloads
All-time downloads
3.2K
Public
Parameters
109M
876 MB on disk
Likes
2
Public
Click a slice to open those files.
.bin438 MB · 50%
How the weights are stored.
F32109M · 100%
From the Hugging Face model README
bert-base-uncased fine-tuned on the QNLI dataset for 2 epochs.
The fine-tuning process was performed on 2x NVIDIA GeForce GTX 1080 Ti GPUs (11GB). The parameters are:
max_seq_length=512
per_device_train_batch_size=8
gradient_accumulation_steps=2
total train batch size (w. parallel, distributed & accumulation) = 32
learning_rate=3e-5
eval_accuracy = 0.916895
The QNLI (Question-answering NLI) dataset is a Natural Language Inference dataset automatically derived from the Stanford Question Answering Dataset v1.1 (SQuAD). SQuAD v1.1 consists of question-paragraph pairs, where one of the sentences in the paragraph (drawn from Wikipedia) contains the answer to the corresponding question (written by an annotator). The dataset was converted into sentence pair classification by forming a pair between each question and each sentence in the corresponding context, and filtering out pairs with low lexical overlap between the question and the context sentence. The task is to determine whether the context sentence contains the answer to the question. This modified version of the original task removes the requirement that the model select the exact answer, but also removes the simplifying assumptions that the answer is always present in the input and that lexical overlap is a reliable cue. The QNLI dataset is part of GLEU benchmark.
(source: https://paperswithcode.com/dataset/qnli)