Skip to content

Code for paper "Open-Domain Hierarchical Event Schema Induction by Incremental Prompting and Verification"

License

Notifications You must be signed in to change notification settings

raspberryice/inc-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inc-schema

Code for paper "Open-Domain Hierarchical Event Schema Induction by Incremental Prompting and Verification"

The schema data structure is defined in base.py. Prompts are available in prompts.py. The entry point for schema induction is main.py.

Before you run the model, you will need to put your OpenAI API key in configs/local.yaml.

Options can either be specified through a YAML config file (see configs directory) or through the command line.

You can run the model by the following command

python schema/main.py --load_config=<your yaml file> --run_name=<your run name> --use_retrieval --use_cache

About

Code for paper "Open-Domain Hierarchical Event Schema Induction by Incremental Prompting and Verification"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages