Anshoo Mehra commited on
Commit
9886bfc
1 Parent(s): d68253d

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +64 -0
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - squad
7
+ model-index:
8
+ - name: roberta-base-fineTuned-squadV1QA
9
+ results: []
10
+ ---
11
+
12
+ # t5-v1_1-base-squadV2AutoQgen
13
+
14
+ This model is a fine-tuned version of [roberta-base](roberta-base) on SQUAD dataset.
15
+ It achieves the following results on the evaluation set:
16
+ {'exact_match': 86.14001892147587, 'f1': 92.33036616751536}
17
+
18
+ ## Model description
19
+
20
+ roberta-base has been fine-tuned with SQUAD dataset with QuestionAnswering LM Head.
21
+
22
+ ## Intended uses & limitations
23
+
24
+ The model intended to be used for Q&A task, given the context and question, model would attempt to infer answer text, answer span and probability scores.
25
+
26
+ ## Training and evaluation data
27
+
28
+ SQUAD Split
29
+
30
+ ## Training procedure
31
+
32
+ Preprocessing:
33
+ 1. SQUAD Data longer chunks were sub-chunked with input context max-length 384 tokens and stride as 128 tokens.
34
+ 2. Target answers readjusted for sub-chunks, sub-chunks with no-answers or partial answers were set to target answer span as (0,0)
35
+
36
+ Metrics:
37
+ 1. Adjusted accordingly to handle sub-chunking.
38
+ 2. n best = 20
39
+ 3. skip answers with length zero or higher than max answer length (30)
40
+
41
+ ### Training hyperparameters
42
+ Custom Training Loop:
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 2e-5
45
+ - train_batch_size: 32
46
+ - eval_batch_size: 32
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 2
50
+
51
+ ### Training results
52
+
53
+ | Epoch | F1 | Exact Match |
54
+ |:-----:|:--------:|:-----------:|
55
+ | 1.0 | 91.3085 | 84.5412 |
56
+ | 2.0 | 92.3304 | 86.1400 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.23.0.dev0
62
+ - Pytorch 1.12.1+cu113
63
+ - Datasets 2.5.2
64
+ - Tokenizers 0.13.0