Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
sameersingh committed Mar 10, 2019
1 parent c552935 commit 4944bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ There are a few files in this folder:

* `viterbi.py`: General purpose interface to a sequence Viterbi decoder, which currently has an incorrect implementation. Once you have implemented the Viterbi implementation, running `python viterbi_test.py` should result in successful execution without any exceptions.

* `informed\_seq2seq.py`: The main model file containing an implementation of the \textbf{naive} sequence to sequence model, simlar to the default sequence decoder in AllenNLP available [here](https://github.com/allenai/allennlp/blob/master/allennlp/models/encoder_decoders/simple_seq2seq.py).
* `informed_seq2seq.py`: The main model file containing an implementation of the \textbf{naive} sequence to sequence model, simlar to the default sequence decoder in AllenNLP available [here](https://github.com/allenai/allennlp/blob/master/allennlp/models/encoder_decoders/simple_seq2seq.py).
We have included additional hooks into the code for supporting the "informed" version, however the implementation of the extra part is mostly incomplete; the additional hooks exist to support the extra column in the data, the extra fields in the configuration, etc. This is the only Python file you need to change.
* `naive_{java,python}.json`: The configuration files for training and running the naive sequence to sequence model, on respective language.
These configuration files "turn off" the extra embedding part, and run the model in `informed_seq2seq.py`.
Expand Down

0 comments on commit 4944bd6

Please # to comment.