Skip to content

uwnlp/taggerflow

Repository files navigation

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

About

Training code for LSTM CCG Parsing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages