Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions judgelm/llm_judge/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def to_gradio_chatbot(self):
ret[-1][-1] = msg
return ret

def copy(self, answer_num):
def copy(self, answer_num = None):
if answer_num is not None:
prompt = self.prompt\
.replace("two", num2words[int(answer_num)])\
Expand Down Expand Up @@ -294,4 +294,4 @@ def load_questions(question_file: str, begin: Optional[int], end: Optional[int])
sep_style=SeparatorStyle.SINGLE,
sep="</s>",
appendix="### Response:10"
)
)