├── .gitignore ├── LICENSE.md ├── README.md ├── datasets.md ├── requirements.txt └── src ├── constants.py ├── data ├── classification │ ├── agnews.py │ ├── numersense.py │ ├── sst2.py │ └── trec.py ├── deptrees.py ├── drop.py ├── glue.py ├── mwp │ └── tabmwp.py └── semparse │ ├── break │ ├── break.py │ └── template_split.py │ ├── semparse.py │ └── smcalflow_cs │ └── preprocess.py ├── data_params.py ├── driver.py ├── eval.py ├── experiments.py ├── params.py ├── prompts ├── __init__.py ├── base.py ├── few_shot.py └── mwp.py ├── run.py ├── selector ├── __init__.py ├── base.py ├── bertscore.py ├── cosine.py ├── greedy.py ├── lf_coverage.py └── structural.py ├── selector_utils.py └── tools ├── __init__.py ├── eval.py ├── exp.py ├── gpt.py ├── lm.py ├── param_impl.py ├── structure ├── ast_parser.py ├── ftk.py └── substructs.py ├── track.py ├── typer_dataclass.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/README.md -------------------------------------------------------------------------------- /datasets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/datasets.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/constants.py -------------------------------------------------------------------------------- /src/data/classification/agnews.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data/classification/agnews.py -------------------------------------------------------------------------------- /src/data/classification/numersense.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data/classification/numersense.py -------------------------------------------------------------------------------- /src/data/classification/sst2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data/classification/sst2.py -------------------------------------------------------------------------------- /src/data/classification/trec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data/classification/trec.py -------------------------------------------------------------------------------- /src/data/deptrees.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data/deptrees.py -------------------------------------------------------------------------------- /src/data/drop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data/drop.py -------------------------------------------------------------------------------- /src/data/glue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data/glue.py -------------------------------------------------------------------------------- /src/data/mwp/tabmwp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data/mwp/tabmwp.py -------------------------------------------------------------------------------- /src/data/semparse/break/break.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data/semparse/break/break.py -------------------------------------------------------------------------------- /src/data/semparse/break/template_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data/semparse/break/template_split.py -------------------------------------------------------------------------------- /src/data/semparse/semparse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data/semparse/semparse.py -------------------------------------------------------------------------------- /src/data/semparse/smcalflow_cs/preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data/semparse/smcalflow_cs/preprocess.py -------------------------------------------------------------------------------- /src/data_params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/data_params.py -------------------------------------------------------------------------------- /src/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/driver.py -------------------------------------------------------------------------------- /src/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/eval.py -------------------------------------------------------------------------------- /src/experiments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/experiments.py -------------------------------------------------------------------------------- /src/params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/params.py -------------------------------------------------------------------------------- /src/prompts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/prompts/__init__.py -------------------------------------------------------------------------------- /src/prompts/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/prompts/base.py -------------------------------------------------------------------------------- /src/prompts/few_shot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/prompts/few_shot.py -------------------------------------------------------------------------------- /src/prompts/mwp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/prompts/mwp.py -------------------------------------------------------------------------------- /src/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/run.py -------------------------------------------------------------------------------- /src/selector/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/selector/__init__.py -------------------------------------------------------------------------------- /src/selector/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/selector/base.py -------------------------------------------------------------------------------- /src/selector/bertscore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/selector/bertscore.py -------------------------------------------------------------------------------- /src/selector/cosine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/selector/cosine.py -------------------------------------------------------------------------------- /src/selector/greedy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/selector/greedy.py -------------------------------------------------------------------------------- /src/selector/lf_coverage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/selector/lf_coverage.py -------------------------------------------------------------------------------- /src/selector/structural.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/selector/structural.py -------------------------------------------------------------------------------- /src/selector_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/selector_utils.py -------------------------------------------------------------------------------- /src/tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/tools/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/tools/eval.py -------------------------------------------------------------------------------- /src/tools/exp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/tools/exp.py -------------------------------------------------------------------------------- /src/tools/gpt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/tools/gpt.py -------------------------------------------------------------------------------- /src/tools/lm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/tools/lm.py -------------------------------------------------------------------------------- /src/tools/param_impl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/tools/param_impl.py -------------------------------------------------------------------------------- /src/tools/structure/ast_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/tools/structure/ast_parser.py -------------------------------------------------------------------------------- /src/tools/structure/ftk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/tools/structure/ftk.py -------------------------------------------------------------------------------- /src/tools/structure/substructs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/tools/structure/substructs.py -------------------------------------------------------------------------------- /src/tools/track.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/tools/track.py -------------------------------------------------------------------------------- /src/tools/typer_dataclass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/tools/typer_dataclass.py -------------------------------------------------------------------------------- /src/tools/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shivanshu-Gupta/icl-coverage/HEAD/src/tools/utils.py --------------------------------------------------------------------------------