CoCoGen
CoCoGen copied to clipboard
Language Models of Code are Few-Shot Commonsense Learners (EMNLP 2022)
Hi, In the code below from the script `src/api/query_openai_over_tasks.py` : ``` if task['input_prompt_code'] in cache: logging.info( f"Task {task_idx} > Using cached result for {task['input_prompt_code']}") codex_response = cache[task['input_prompt_code']]["codex_response"] else: codex_response =...
Hi @madaan , Thanks for the great work! I wonder which code structure you used for proscript to get the best results? According to fig1(b) is the Node class with...