├── .gitignore ├── LICENSE ├── README.md ├── data ├── CREAK │ └── 1_gen │ │ ├── dev.G.pkl │ │ └── dev.Q.json ├── CSQA2 │ └── 1_gen │ │ ├── dev.G.pkl │ │ └── dev.Q.json └── Com2Sense │ └── 1_gen │ ├── dev.G.pkl │ └── dev.Q.json ├── generation ├── generation.py ├── generation_config.py └── prompts │ ├── CREAK │ ├── Q.prompt.txt │ ├── abductive.prompt.txt │ ├── belief.prompt.txt │ └── negation.prompt.txt │ ├── CSQA2 │ ├── Q.prompt.txt │ ├── abductive.prompt.txt │ ├── belief.prompt.txt │ └── negation.prompt.txt │ └── Com2Sense │ ├── Q.prompt.txt │ ├── abductive.prompt.txt │ ├── belief.prompt.txt │ └── negation.prompt.txt ├── inference ├── inference.py └── verifier.py ├── main_generate.py ├── main_inference.py └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/README.md -------------------------------------------------------------------------------- /data/CREAK/1_gen/dev.G.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/data/CREAK/1_gen/dev.G.pkl -------------------------------------------------------------------------------- /data/CREAK/1_gen/dev.Q.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/data/CREAK/1_gen/dev.Q.json -------------------------------------------------------------------------------- /data/CSQA2/1_gen/dev.G.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/data/CSQA2/1_gen/dev.G.pkl -------------------------------------------------------------------------------- /data/CSQA2/1_gen/dev.Q.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/data/CSQA2/1_gen/dev.Q.json -------------------------------------------------------------------------------- /data/Com2Sense/1_gen/dev.G.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/data/Com2Sense/1_gen/dev.G.pkl -------------------------------------------------------------------------------- /data/Com2Sense/1_gen/dev.Q.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/data/Com2Sense/1_gen/dev.Q.json -------------------------------------------------------------------------------- /generation/generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/generation.py -------------------------------------------------------------------------------- /generation/generation_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/generation_config.py -------------------------------------------------------------------------------- /generation/prompts/CREAK/Q.prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/prompts/CREAK/Q.prompt.txt -------------------------------------------------------------------------------- /generation/prompts/CREAK/abductive.prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/prompts/CREAK/abductive.prompt.txt -------------------------------------------------------------------------------- /generation/prompts/CREAK/belief.prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/prompts/CREAK/belief.prompt.txt -------------------------------------------------------------------------------- /generation/prompts/CREAK/negation.prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/prompts/CREAK/negation.prompt.txt -------------------------------------------------------------------------------- /generation/prompts/CSQA2/Q.prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/prompts/CSQA2/Q.prompt.txt -------------------------------------------------------------------------------- /generation/prompts/CSQA2/abductive.prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/prompts/CSQA2/abductive.prompt.txt -------------------------------------------------------------------------------- /generation/prompts/CSQA2/belief.prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/prompts/CSQA2/belief.prompt.txt -------------------------------------------------------------------------------- /generation/prompts/CSQA2/negation.prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/prompts/CSQA2/negation.prompt.txt -------------------------------------------------------------------------------- /generation/prompts/Com2Sense/Q.prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/prompts/Com2Sense/Q.prompt.txt -------------------------------------------------------------------------------- /generation/prompts/Com2Sense/abductive.prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/prompts/Com2Sense/abductive.prompt.txt -------------------------------------------------------------------------------- /generation/prompts/Com2Sense/belief.prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/prompts/Com2Sense/belief.prompt.txt -------------------------------------------------------------------------------- /generation/prompts/Com2Sense/negation.prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/generation/prompts/Com2Sense/negation.prompt.txt -------------------------------------------------------------------------------- /inference/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/inference/inference.py -------------------------------------------------------------------------------- /inference/verifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/inference/verifier.py -------------------------------------------------------------------------------- /main_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/main_generate.py -------------------------------------------------------------------------------- /main_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/main_inference.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaehunjung1/Maieutic-Prompting/HEAD/requirements.txt --------------------------------------------------------------------------------