Skip to content

Commit

Permalink
Add statement regarding the paper version of simple-lstm
Browse files Browse the repository at this point in the history
  • Loading branch information
h4iku committed Dec 21, 2021
1 parent 68983f6 commit 554afff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ You can find the paper here: https://arxiv.org/abs/2103.11626
4. Evaluate the model
- `bash ./scripts/simple-lstm/test.sh`

#### Running Simple LSTM Experiments using the legacy version of OpenNMT-py
### Running Simple LSTM Experiments using the legacy version of OpenNMT-py
**(This is the original version used to run the simple LSTM experiments in the paper.)**

1. Install [OpenNMT-py legacy](https://github.com/OpenNMT/OpenNMT-py/tree/legacy)
- `pip install OpenNMT-py==1.2.0`
2. Preprocess the MSR data
Expand Down
2 changes: 1 addition & 1 deletion scripts/simple-lstm/build_vocab.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

size=small # Can be: small OR large
type=repetition # Can be: repetition OR unique
type=unique # Can be: repetition OR unique
data_config=./scripts/simple-lstm/${type}_${size}_data.yaml
output_dir=./saved_models/simple-lstm/$type/$size

Expand Down

0 comments on commit 554afff

Please sign in to comment.