in eval/lmms_eval_wrapper.py [0:0]
def flatten(self, input): new_list = [] for sublist in input: for i in sublist: new_list.append(i) return new_list