Commit cc568ebf authored by Baber's avatar Baber
Browse files

nit

parent d75cbc7a
......@@ -20,9 +20,7 @@ def pass_at_1(references: list[str], predictions: list[list[str]], k: list[int]
k=k,
)[0]
return {
key: val for key, val in res.items() if key in map(lambda x: f"pass@{x}", k)
}
return res
def build_references(doc):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment