Update README.md
Browse files
README.md
CHANGED
@@ -8,29 +8,38 @@ model-index:
|
|
8 |
results: []
|
9 |
datasets:
|
10 |
- rajpurkar/squad
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
14 |
probably proofread and complete it, then remove this comment. -->
|
15 |
|
16 |
-
|
17 |
|
18 |
This model is a fine-tuned version of [deepset/roberta-base-squad2](https://huggingface.co/deepset/roberta-base-squad2) on an [squad](https://huggingface.co/datasets/rajpurkar/squad) dataset.It's been trained on question-answer pairs, including unanswerable questions, for the task of Question Answering for 6 Epochs.
|
19 |
-
It achieves the following results
|
20 |
- Train Loss: 0.1434
|
21 |
- Validation Loss: 0.4821
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
- Accuracy: 0.9100
|
23 |
- Precision: 0.9099
|
24 |
- Recall: 0.9099
|
25 |
- F1 Score: 0.9603
|
|
|
|
|
26 |
|
27 |
-
## Model description
|
28 |
-
|
29 |
-
More information needed
|
30 |
-
|
31 |
-
## Usage
|
32 |
-
|
33 |
-
### In Transformers
|
34 |
```python
|
35 |
from transformers import pipeline
|
36 |
|
|
|
8 |
results: []
|
9 |
datasets:
|
10 |
- rajpurkar/squad
|
11 |
+
metrics:
|
12 |
+
- accuracy
|
13 |
+
- precision
|
14 |
+
- recall
|
15 |
+
- f1
|
16 |
---
|
17 |
|
18 |
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
19 |
probably proofread and complete it, then remove this comment. -->
|
20 |
|
21 |
+
## Model description
|
22 |
|
23 |
This model is a fine-tuned version of [deepset/roberta-base-squad2](https://huggingface.co/deepset/roberta-base-squad2) on an [squad](https://huggingface.co/datasets/rajpurkar/squad) dataset.It's been trained on question-answer pairs, including unanswerable questions, for the task of Question Answering for 6 Epochs.
|
24 |
+
It achieves the following results after training:
|
25 |
- Train Loss: 0.1434
|
26 |
- Validation Loss: 0.4821
|
27 |
+
|
28 |
+
## Model Training
|
29 |
+
|
30 |
+
- **Training Dataset**: [squad](https://huggingface.co/datasets/rajpurkar/squad)
|
31 |
+
- **Pretrained Model**: [deepset/roberta-base-squad2](https://huggingface.co/deepset/roberta-base-squad2)
|
32 |
+
|
33 |
+
## Evaluation
|
34 |
+
|
35 |
+
The model's performance can be evaluated using various metrics such as Accuracy, Recall, Precision, F1 score.
|
36 |
- Accuracy: 0.9100
|
37 |
- Precision: 0.9099
|
38 |
- Recall: 0.9099
|
39 |
- F1 Score: 0.9603
|
40 |
+
|
41 |
+
## Example Usage
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
```python
|
44 |
from transformers import pipeline
|
45 |
|