File size: 2,144 Bytes
0e14570
 
 
 
 
 
 
 
5a229ba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0e14570
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56b3907
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
tags:
- generated_from_trainer
datasets:
- squad_v2
model-index:
- name: distilroberta-base-finetuned-squad2-lwt
  results:
  - task:
      type: question-answering
      name: Question Answering
    dataset:
      name: squad_v2
      type: squad_v2
      config: squad_v2
      split: validation
    metrics:
    - name: Exact Match
      type: exact_match
      value: 69.9495
      verified: true
    - name: F1
      type: f1
      value: 73.1199
      verified: true
---

<!-- 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. -->

# distilroberta-base-finetuned-squad2-lwt

This model is a fine-tuned version of [distilroberta-base](https://huggingface.co/distilroberta-base) on the squad_v2 dataset.
It achieves the following results on the evaluation set:
- Loss: 1.1356

## 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: 32
- eval_batch_size: 32
- 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 |
|:-------------:|:-----:|:-----:|:---------------:|
| 1.1702        | 1.0   | 4120  | 1.1220          |
| 0.9787        | 2.0   | 8240  | 1.0500          |
| 0.8153        | 3.0   | 12360 | 1.1356          |


### Framework versions

- Transformers 4.17.0
- Pytorch 1.10.0+cu111
- Datasets 2.0.0
- Tokenizers 0.11.6

{'HasAns_exact': 71.39001349527665,
 'HasAns_f1': 77.71740687727831,
 'HasAns_total': 5928,
 'NoAns_exact': 68.59545836837678,
 'NoAns_f1': 68.59545836837678,
 'NoAns_total': 5945,
 'best_exact': 69.9991577528847,
 'best_exact_thresh': 0.0,
 'best_f1': 73.1583245993857,
 'best_f1_thresh': 0.0,
 'exact': 69.99073528173166,
 'f1': 73.1499021282327,
 'total': 11873}