Update README.md
Browse files
README.md
CHANGED
|
@@ -8,32 +8,50 @@ metrics:
|
|
| 8 |
model-index:
|
| 9 |
- name: roberta-base-qnli-finetuned
|
| 10 |
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
-
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
|
| 16 |
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/sarkarsiddhartha758/huggingface/runs/lft6vkrc)
|
| 17 |
# roberta-base-qnli-finetuned
|
| 18 |
|
| 19 |
-
This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
- Loss: 0.2133
|
| 22 |
- Accuracy: 0.9176
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
| 26 |
-
|
|
|
|
| 27 |
|
| 28 |
## Intended uses & limitations
|
| 29 |
|
| 30 |
-
|
|
|
|
| 31 |
|
| 32 |
## Training and evaluation data
|
| 33 |
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
## Training procedure
|
|
|
|
|
|
|
| 37 |
|
| 38 |
### Training hyperparameters
|
| 39 |
|
|
@@ -64,4 +82,4 @@ The following hyperparameters were used during training:
|
|
| 64 |
- Transformers 4.42.4
|
| 65 |
- Pytorch 2.3.1+cu121
|
| 66 |
- Datasets 2.20.0
|
| 67 |
-
- Tokenizers 0.19.1
|
|
|
|
| 8 |
model-index:
|
| 9 |
- name: roberta-base-qnli-finetuned
|
| 10 |
results: []
|
| 11 |
+
datasets:
|
| 12 |
+
- nyu-mll/glue
|
| 13 |
+
language:
|
| 14 |
+
- en
|
| 15 |
+
library_name: transformers
|
| 16 |
+
pipeline_tag: text-classification
|
| 17 |
---
|
| 18 |
|
|
|
|
|
|
|
| 19 |
|
| 20 |
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/sarkarsiddhartha758/huggingface/runs/lft6vkrc)
|
| 21 |
# roberta-base-qnli-finetuned
|
| 22 |
|
| 23 |
+
This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the [QNLI-data](https://huggingface.co/datasets/nyu-mll/glue/viewer/qnli)
|
| 24 |
It achieves the following results on the evaluation set:
|
| 25 |
- Loss: 0.2133
|
| 26 |
- Accuracy: 0.9176
|
| 27 |
|
| 28 |
## Model description
|
| 29 |
|
| 30 |
+
This is a finetuned version of [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base), it has been finetuned on the QNLI dataset,
|
| 31 |
+
which contains "Question-Sentence" pairs, and labels them if they are an entailment of the question or not.
|
| 32 |
|
| 33 |
## Intended uses & limitations
|
| 34 |
|
| 35 |
+
This model is intended to be used with similar dataset like the qnli-dataset, or it can be easily finetuned to another downstream task.
|
| 36 |
+
This model contains no limitations for use, anyone can use it.
|
| 37 |
|
| 38 |
## Training and evaluation data
|
| 39 |
|
| 40 |
+
The dataset we used was [Qnli-dataset](https://huggingface.co/datasets/nyu-mll/glue/viewer/qnli),
|
| 41 |
+
**information about dataset**: The Stanford Question Answering Dataset is a question-answering dataset consisting of question-paragraph pairs,
|
| 42 |
+
where one of the sentences in the paragraph (drawn from Wikipedia) contains the answer to the corresponding question (written by an annotator).
|
| 43 |
+
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,
|
| 44 |
+
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
|
| 45 |
+
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
|
| 46 |
+
assumptions that the answer is always present in the input and that lexical overlap is a reliable cue. source: [here](https://huggingface.co/datasets/nyu-mll/glue)
|
| 47 |
+
<br>
|
| 48 |
+
- Training dataset: The training split of QNLI data was used to train the finetuned version of roberta-base model, the training sample contains about 105,000 entries.
|
| 49 |
+
- Evaluation dataset: The validation split of Qnli dataset was used to evaluate the performance of `roberta-base-qnli-finetuned`, evaluation split contains about 5460 rows
|
| 50 |
+
of entry.
|
| 51 |
|
| 52 |
## Training procedure
|
| 53 |
+
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
|
| 54 |
+
(roberta's tokenizer), The training arguments are specified in the `Training-Hyperparameters` section.
|
| 55 |
|
| 56 |
### Training hyperparameters
|
| 57 |
|
|
|
|
| 82 |
- Transformers 4.42.4
|
| 83 |
- Pytorch 2.3.1+cu121
|
| 84 |
- Datasets 2.20.0
|
| 85 |
+
- Tokenizers 0.19.1
|