File size: 1,289 Bytes
ff1d6d2
 
2a0a3a4
ff1d6d2
 
 
 
 
 
 
 
 
2a0a3a4
 
 
 
3b0c444
 
2a0a3a4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
042095e
2a0a3a4
 
 
 
 
 
 
 
 
3b0c444
2a0a3a4
 
 
042095e
2a0a3a4
 
 
 
 
50297ec
 
a7a26fd
 
50297ec
2a0a3a4
 
 
 
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
---
datasets:
- SQuAD

language: 
- English

thumbnail: 

tags:
- roberta
- roberta-base
- question-answering
- qa

license: cc-by-4.0

---
# roberta-base + SQuAD QA

Objective:
  This is Roberta Base trained to do the SQuAD Task. This makes a QA model capable of answering questions. 
  
```
model_name = "thatdramebaazguy/roberta-base-squad"
pipeline(model=model_name, tokenizer=model_name, revision="v1.0", task="question-answering")
```

## Overview
**Language model:** roberta-base  
**Language:** English  
**Downstream-task:** QA  
**Training data:** SQuADv1  
**Eval data:** SQuAD  
**Infrastructure**: 2x Tesla v100   
**Code:**  See [example](https://github.com/adityaarunsinghal/Domain-Adaptation/blob/master/scripts/shell_scripts/train_movieR_just_squadv1.sh)    

## Hyperparameters
```
Num examples = 88567  
Num Epochs = 10
Instantaneous batch size per device = 32  
Total train batch size (w. parallel, distributed & accumulation) = 64 

``` 
## Performance

### Eval on SQuADv1
- epoch        =    10.0
- eval_samples =   10790
- exact_match  = 83.6045
- f1           = 91.1709 

### Eval on MoviesQA
- eval_samples =    5032
- exact_match = 51.6494
- f1 = 68.2615

Github Repo: 
- [Domain-Adaptation Project](https://github.com/adityaarunsinghal/Domain-Adaptation/)

---