mirror of
https://github.com/NousResearch/atropos.git
synced 2026-05-02 17:45:50 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
aa66b09c13
commit
65682d160a
1 changed files with 2 additions and 2 deletions
|
|
@ -838,7 +838,7 @@ class PairwiseJudgementEnv(BaseEnv):
|
|||
else:
|
||||
# Fallback if generation fails
|
||||
answers = [
|
||||
"This is a comprehensive and well-structured response that addresses the question thoroughly with detailed examples and clear explanations.", # noqa
|
||||
"This is a comprehensive and well-structured response that addresses the question thoroughly with detailed examples and clear explanations.", # noqa
|
||||
"Brief response.",
|
||||
]
|
||||
# Pad to required number of choices
|
||||
|
|
@ -850,7 +850,7 @@ class PairwiseJudgementEnv(BaseEnv):
|
|||
answers = answers[: self.config.num_choices]
|
||||
random.shuffle(answers)
|
||||
correct_index = answers.index(
|
||||
"This is a comprehensive and well-structured response that addresses the question thoroughly with detailed examples and clear explanations." # noqa
|
||||
"This is a comprehensive and well-structured response that addresses the question thoroughly with detailed examples and clear explanations." # noqa
|
||||
)
|
||||
correct_answer = self.choice_letters[correct_index]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue