You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This model implements the work in the following paper:
4
+
5
+
Jonathan Raiman and John Miller. Globally Normalized Reader. Empirical Methods in Natural Language Processing (EMNLP), 2017.
6
+
7
+
If you use the dataset/code in your research, please cite the above paper:
8
+
9
+
```text
10
+
@inproceedings{raiman2015gnr,
11
+
author={Raiman, Jonathan and Miller, John},
12
+
booktitle={Empirical Methods in Natural Language Processing (EMNLP)},
13
+
title={Globally Normalized Reader},
14
+
year={2017},
15
+
}
16
+
```
17
+
18
+
You can also visit https://github.com/baidu-research/GloballyNormalizedReader to get more information.
19
+
20
+
21
+
# Installation
22
+
23
+
1. Please use [docker image](http://doc.paddlepaddle.org/develop/doc/getstarted/build_and_install/docker_install_en.html) to install the latest PaddlePaddle, by running:
24
+
```bash
25
+
docker pull paddledev/paddle
26
+
```
27
+
2. Download all necessary data by running:
28
+
```bash
29
+
cd data && ./download.sh
30
+
```
31
+
3. Featurize the data by running:
32
+
```
33
+
python featurize.py --datadir data --outdir featurized
34
+
```
35
+
36
+
# Training a Model
37
+
38
+
- Configurate the model by modifying `config.py` if needed, and then run:
0 commit comments