Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
tags:
|
| 4 |
+
- bert
|
| 5 |
+
- sequence-classification
|
| 6 |
+
- mrpc
|
| 7 |
+
- paraphrase
|
| 8 |
+
license: mit
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
# Model description
|
| 12 |
+
|
| 13 |
+
Fine-tuned version of `bert-base-uncased` on the Microsoft Research Paraphrase Corpus (MRPC) dataset for paraphrase detection using the MRPC dataset.
|
| 14 |
+
|
| 15 |
+
## Intended uses & limitations
|
| 16 |
+
|
| 17 |
+
This model is intended for paraphrase detection tasks, particularly those similar to the MRPC dataset. It may not perform well on substantially different datasets or tasks.
|
| 18 |
+
|
| 19 |
+
## Training and evaluation data
|
| 20 |
+
|
| 21 |
+
The model was trained on the MRPC dataset, which contains 5,801 sentence pairs extracted from news sources on the web. 3,900 pairs were labeled as paraphrases by human annotators.
|
| 22 |
+
|
| 23 |
+
## Training procedure
|
| 24 |
+
|
| 25 |
+
The model was fine-tuned using the Hugging Face Transformers library. We used a batch size of 16, learning rate of 2e-5, and trained for 3 epochs.
|
| 26 |
+
|
| 27 |
+
## Evaluation results
|
| 28 |
+
|
| 29 |
+
The model achieved the following results on the MRPC validation set:
|
| 30 |
+
|
| 31 |
+
- Accuracy: 0.8480
|
| 32 |
+
- F1 Score: 0.8927
|