MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / get_answer_option

Method get_answer_option

test/general/lm_eval/tasks/race.py:97–99  ·  view source on GitHub ↗
(cls, problem)

Source from the content-addressed store, hash-verified

95
96 @classmethod
97 def get_answer_option(cls, problem):
98 answer = cls.letter_to_num[problem["answer"]]
99 return problem["options"][answer]
100
101 @classmethod
102 def last_problem(cls, doc):

Callers 2

doc_to_textMethod · 0.95
doc_to_targetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected