All Projects → uwnlp → taggerflow

uwnlp / taggerflow

Licence: other
Training code for LSTM CCG Parsing

Programming Languages

python
139335 projects - #7 most used programming language

Taggerflow

This repository contains the code for training the supertagging model from LSTM CCG Parsing at NAACL (Lewis et al., 2016).

Dependencies

Training and Evaluation

  • python taggerflow.py grid.json
    • Trains a supertagging model.
    • Logs evaluation results.
    • Writes checkpoints to the log directory.

Exporting to EasySRL

  • python taggerflow.py grid.json -c <checkpoint_path>
    • Evaluates the checkpoint on the dev set as a sanity check.
    • Exports the model information to a temporary directory.
    • Prints the temporary directory with the exported model.
  • The temporary directory should contain graph.pb and various .txt files.
  • Download and extract http://lil.cs.washington.edu/resources/model_tritrain_finetune.tgz, which provides the correct file structure.
  • Remove the existing taggerflow directory and replace it with the temporary directory.

Running EasySRL

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].