Downloads · 30 days
9
3% of all-time downloads
sid29/roberta-base-qnli-finetuned
roberta-base-qnli-finetuned is a text classification model from sid29. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/
Downloads · 30 days
9
3% of all-time downloads
All-time downloads
288
Public
Parameters
125M
2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors499 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of roberta-base on the QNLI-data It achieves the following results on the evaluation set:
This is a finetuned version of FacebookAI/roberta-base, it has been finetuned on the QNLI dataset, which contains "Question-Sentence" pairs, and labels them if they are an entailment of the question or not.
This model is intended to be used with similar dataset like the qnli-dataset, or it can be easily finetuned to another downstream task. This model contains no limitations for use, anyone can use it.
The dataset we used was Qnli-dataset, information about dataset: The Stanford Question Answering Dataset is a question-answering dataset consisting 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 authors of the benchmark convert the task 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. source: here <br>
roberta-base-qnli-finetuned, evaluation split contains about 5460 rows
of entry.The model was finetuned on a colab-environment, with GPU: T4 selected as the GPU of choice. The dataset was first tokenized with an appropriate tokenizer
(roberta's tokenizer), The training arguments are specified in the Training-Hyperparameters section.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.3191 | 0.9995 | 1636 | 0.2405 | 0.9023 |
| 0.2739 | 1.9997 | 3273 | 0.2214 | 0.9109 |
| 0.2467 | 2.9998 | 4910 | 0.2115 | 0.9180 |
| 0.231 | 3.9982 | 6544 | 0.2133 | 0.9176 |