Commit
•
0cdfd93
1
Parent(s):
7ac5554
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language: de
|
3 |
+
datasets:
|
4 |
+
- deepset/germanquad
|
5 |
+
license: mit
|
6 |
+
thumbnail: https://thumb.tildacdn.com/tild3433-3637-4830-a533-353833613061/-/resize/720x/-/format/webp/germanquad.jpg
|
7 |
+
tags:
|
8 |
+
- exbert
|
9 |
+
---
|
10 |
+
|
11 |
+
![bert_image](https://thumb.tildacdn.com/tild3433-3637-4830-a533-353833613061/-/resize/720x/-/format/webp/germanquad.jpg)
|
12 |
+
|
13 |
+
## Overview
|
14 |
+
**Language model:** gelectra-base-germanquad
|
15 |
+
**Language:** German
|
16 |
+
**Training data:** GermanQuAD train set (~ 12MB)
|
17 |
+
**Eval data:** GermanQuAD test set (~ 5MB)
|
18 |
+
**Infrastructure**: 1x V100 GPU
|
19 |
+
**Published**: Apr 21st, 2021
|
20 |
+
|
21 |
+
## Details
|
22 |
+
- We trained a German question answering model with a gelectra-base model as its basis.
|
23 |
+
- The dataset is GermanQuAD, a new, German language dataset, which we hand-annotated and published [online](https://deepset.ai/germanquad).
|
24 |
+
- The training dataset is one-way annotated and contains 11518 questions and 11518 answers, while the test dataset is three-way annotated so that there are 2204 questions and with 2204·3−76 = 6536answers, because we removed 76 wrong answers.
|
25 |
+
- In addition to the annotations in GermanQuAD, haystack's distillation feature was used for training. deepset/gelectra-large-germanquad was used as the teacher model.
|
26 |
+
|
27 |
+
See https://deepset.ai/germanquad for more details and dataset download in SQuAD format.
|
28 |
+
|
29 |
+
## Hyperparameters
|
30 |
+
```
|
31 |
+
batch_size = 24
|
32 |
+
n_epochs = 6
|
33 |
+
max_seq_len = 384
|
34 |
+
learning_rate = 3e-5
|
35 |
+
lr_schedule = LinearWarmup
|
36 |
+
embeds_dropout_prob = 0.1
|
37 |
+
temperature = 2
|
38 |
+
distillation_loss_weight = 0.75
|
39 |
+
```
|
40 |
+
## Performance
|
41 |
+
We evaluated the extractive question answering performance on our GermanQuAD test set.
|
42 |
+
Model types and training data are included in the model name.
|
43 |
+
For finetuning XLM-Roberta, we use the English SQuAD v2.0 dataset.
|
44 |
+
The GELECTRA models are warm started on the German translation of SQuAD v1.1 and finetuned on \\\\germanquad.
|
45 |
+
The human baseline was computed for the 3-way test set by taking one answer as prediction and the other two as ground truth.
|
46 |
+
```
|
47 |
+
"exact": 62.4773139745916
|
48 |
+
"f1": 80.9488017070188
|
49 |
+
```
|
50 |
+
![performancetable](https://lh3.google.com/u/0/d/1IFqkq8OZ7TFnGzxmW6eoxXSYa12f2M7O=w1970-h1546-iv1)
|
51 |
+
|
52 |
+
## Authors
|
53 |
+
- Timo Möller: `timo.moeller [at] deepset.ai`
|
54 |
+
- Julian Risch: `julian.risch [at] deepset.ai`
|
55 |
+
- Malte Pietsch: `malte.pietsch [at] deepset.ai`
|
56 |
+
- Michel Bartels: `michel.bartels [at] deepset.ai`
|
57 |
+
## About us
|
58 |
+
![deepset logo](https://workablehr.s3.amazonaws.com/uploads/account/logo/476306/logo)
|
59 |
+
We bring NLP to the industry via open source!
|
60 |
+
Our focus: Industry specific language models & large scale QA systems.
|
61 |
+
|
62 |
+
Some of our work:
|
63 |
+
- [German BERT (aka "bert-base-german-cased")](https://deepset.ai/german-bert)
|
64 |
+
- [GermanQuAD and GermanDPR datasets and models (aka "gelectra-base-germanquad", "gbert-base-germandpr")](https://deepset.ai/germanquad)
|
65 |
+
- [FARM](https://github.com/deepset-ai/FARM)
|
66 |
+
- [Haystack](https://github.com/deepset-ai/haystack/)
|
67 |
+
|
68 |
+
Get in touch:
|
69 |
+
[Twitter](https://twitter.com/deepset_ai) | [LinkedIn](https://www.linkedin.com/company/deepset-ai/) | [Slack](https://haystack.deepset.ai/community/join) | [GitHub Discussions](https://github.com/deepset-ai/haystack/discussions) | [Website](https://deepset.ai)
|
70 |
+
|
71 |
+
By the way: [we're hiring!](http://www.deepset.ai/jobs)
|