def scorer(predictions, gts, k=3):
    """
    For model evaluation on InsuranceQA datset. Returns score@k.
    
    """
    score=0
    total=0
    for gt, prediction in zip(gts, predictions):
        if bool(set(gt) & set(prediction[:k])):
            score+=1
        total+=1
    return score/total