Jeopardy bot! (#17)

* support for jeopardy dataset

* commit the final config for jeopardy bot
This commit is contained in:
Wing Lian
2023-05-08 03:21:40 -04:00
committed by GitHub
parent a4329b1068
commit a12fb0a8da
4 changed files with 79 additions and 2 deletions

View File

@@ -31,6 +31,10 @@ class AlpacaPrompter:
return output.split(self.response_split)[1].strip()
class JeopardyPrompter(AlpacaPrompter):
prompt_input = "Below is a Jeopardy clue paired with input providing the category of the clue. Write a concise response that best answers tbe clue given the category.\n\n### Instruction:\n{instruction}\n\n### Input:\n{input}\n\n### Response:\n"
class GPTeacherPrompter(AlpacaPrompter):
...