Question Answering
Transformers
PyTorch
English
roberta
Generated from Trainer
Eval Results (legacy)
Instructions to use lauraparra28/Roberta-base-finetuned-SQuAD2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lauraparra28/Roberta-base-finetuned-SQuAD2.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="lauraparra28/Roberta-base-finetuned-SQuAD2.0")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("lauraparra28/Roberta-base-finetuned-SQuAD2.0") model = AutoModelForQuestionAnswering.from_pretrained("lauraparra28/Roberta-base-finetuned-SQuAD2.0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit 路
075071f
1
Parent(s): ffd21a3
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,29 +7,46 @@ datasets:
|
|
| 7 |
- squad_v2
|
| 8 |
model-index:
|
| 9 |
- name: roberta-base-finetuned-squad
|
| 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 |
-
# roberta-base-finetuned-
|
| 17 |
|
| 18 |
-
This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the squad_v2
|
| 19 |
It achieves the following results on the evaluation set:
|
| 20 |
- Loss: 1.2340
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
##
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
More information needed
|
| 29 |
-
|
| 30 |
-
## Training and evaluation data
|
| 31 |
-
|
| 32 |
-
More information needed
|
| 33 |
|
| 34 |
## Training procedure
|
| 35 |
|
|
@@ -60,4 +77,4 @@ The following hyperparameters were used during training:
|
|
| 60 |
- Transformers 4.34.0
|
| 61 |
- Pytorch 1.12.1
|
| 62 |
- Datasets 2.14.5
|
| 63 |
-
- Tokenizers 0.14.1
|
|
|
|
| 7 |
- squad_v2
|
| 8 |
model-index:
|
| 9 |
- name: roberta-base-finetuned-squad
|
| 10 |
+
results:
|
| 11 |
+
- task:
|
| 12 |
+
type: question-answering
|
| 13 |
+
name: Question Answering
|
| 14 |
+
dataset:
|
| 15 |
+
name: squad_v2
|
| 16 |
+
type: squad_v2
|
| 17 |
+
config: squad_v2
|
| 18 |
+
split: validation
|
| 19 |
+
metrics:
|
| 20 |
+
- type: exact_match
|
| 21 |
+
value: 83.159
|
| 22 |
+
name: Exact Match
|
| 23 |
+
- type: f1
|
| 24 |
+
value: 79.684
|
| 25 |
+
name: F1
|
| 26 |
+
language:
|
| 27 |
+
- en
|
| 28 |
+
metrics:
|
| 29 |
+
- exact_match
|
| 30 |
+
- f1
|
| 31 |
---
|
| 32 |
|
| 33 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 34 |
should probably proofread and complete it, then remove this comment. -->
|
| 35 |
|
| 36 |
+
# roberta-base-finetuned-squad_v2
|
| 37 |
|
| 38 |
+
This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the [SQuAD2.0](https://huggingface.co/datasets/squad_v2).
|
| 39 |
It achieves the following results on the evaluation set:
|
| 40 |
- Loss: 1.2340
|
| 41 |
+
- Exact Match: 79.684
|
| 42 |
+
- F1-score: 83.159
|
| 43 |
|
| 44 |
+
## Overview
|
| 45 |
+
**Language model:** roberta-base
|
| 46 |
+
**Language:** English
|
| 47 |
+
**Downstream-task:** Extractive QA
|
| 48 |
+
**Training data:** SQuAD 2.0
|
| 49 |
+
**Eval data:** SQuAD 2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
|
| 51 |
## Training procedure
|
| 52 |
|
|
|
|
| 77 |
- Transformers 4.34.0
|
| 78 |
- Pytorch 1.12.1
|
| 79 |
- Datasets 2.14.5
|
| 80 |
+
- Tokenizers 0.14.1
|