Skip to content

Yufang-Liu/category-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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] .

About

Code for "Generating CCG Categories" ( AAAI 2021)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages