Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.57 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.57 KB

category-generator

Codebase for "Generating CCG Categories" (AAAI 2021)

Requirements

Results

description dev test Download
CC category classifier 95.00 95.14 link (218M)
CG category generator 95.09 95.27 link (222M)
CGNG2 category generator with deterministic 2-gram oracle 95.21 95.38 link (222M)

Training

$ python train.py --name AAAI2020 (your experiment name) --gpu 0 (your gpu id) --model generator (which model, classifier or generator)

Before training, please make sure everything is all you want in configs/connfig.cfg. Such as the filepath of the pre-trained embeddings (we use Turian embedding, 84.3MB), model storage path and whether to use different oracles.

Testing

$ python test.py --gpu 0 (your gou id) --model (run which model)

Contact

For questions and usage issues, please contact [email protected] .