File size: 2,233 Bytes
5d03758 7102921 5d03758 7102921 5d03758 5a70129 7102921 5d03758 50f034b 5d03758 cee52cb 5d03758 cee52cb 5d03758 cee52cb 50f034b cee52cb 5d03758 5721852 cee52cb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
---
language:
- en
license: mit
library_name: transformers
tags:
- generated_from_trainer
datasets:
- squad_v2
metrics:
- exact_match
- f1
base_model: roberta-base
model-index:
- name: dangkhoa99/roberta-base-finetuned-squad-v2
results: []
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# roberta-base-finetuned-squad-v2
This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the squad_v2 dataset.
It achieves the following results on the evaluation set:
- Loss: 0.9173
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
```
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
```
### Training results
```
| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:-----:|:---------------:|
| 0.8796 | 1.0 | 8239 | 0.8010 |
| 0.6474 | 2.0 | 16478 | 0.8260 |
| 0.5056 | 3.0 | 24717 | 0.9173 |
```
### Performance
Evaluated on the SQuAD 2.0 dev set with the [QuestionAnsweringEvaluator](https://huggingface.co/docs/evaluate/v0.4.0/en/package_reference/evaluator_classes#evaluate.QuestionAnsweringEvaluator)
```
'exact': 80.28299503074201
'f1': 83.54728996177538
'total': 11873
'HasAns_exact': 78.77867746288798
'HasAns_f1': 85.31662849462904
'HasAns_total': 5928
'NoAns_exact': 81.7830109335576
'NoAns_f1': 81.7830109335576
'NoAns_total': 5945
'best_exact': 80.28299503074201
'best_exact_thresh': 0.9989414811134338
'best_f1': 83.54728996177576
'best_f1_thresh': 0.9989414811134338
'total_time_in_seconds': 220.1965392809998
'samples_per_second': 53.92001181657305
'latency_in_seconds': 0.01854599000092645
```
### Framework versions
- Transformers 4.30.2
- Pytorch 2.0.1+cu118
- Datasets 2.13.1
- Tokenizers 0.13.3 |