@@ -8,6 +9,7 @@ from lm_eval.tasks.ruler.prepare_niah import generate_samples, get_haystack
...
@@ -8,6 +9,7 @@ from lm_eval.tasks.ruler.prepare_niah import generate_samples, get_haystack
TEMPLATE="""Some special magic {type_needle_v} are hidden within the following text. Make sure to memorize it. I will quiz you about the {type_needle_v} afterwards.\n{context}\nWhat are all the special magic {type_needle_v} for {query} mentioned in the provided text?"""
TEMPLATE="""Some special magic {type_needle_v} are hidden within the following text. Make sure to memorize it. I will quiz you about the {type_needle_v} afterwards.\n{context}\nWhat are all the special magic {type_needle_v} for {query} mentioned in the provided text?"""