diff --git a/src/lighteval/evaluator.py b/src/lighteval/evaluator.py index 883e5ef70..f6d5852d9 100644 --- a/src/lighteval/evaluator.py +++ b/src/lighteval/evaluator.py @@ -27,7 +27,7 @@ import copy from typing import Dict, Union -from pytablewriter import LatexTableWriter, MarkdownTableWriter +from pytablewriter import MarkdownTableWriter from lighteval.logging.evaluation_tracker import EvaluationTracker from lighteval.logging.hierarchical_logger import hlog @@ -124,9 +124,7 @@ def evaluate( # noqa: C901 def make_results_table(result_dict): """Generate table of results.""" md_writer = MarkdownTableWriter() - latex_writer = LatexTableWriter() md_writer.headers = ["Task", "Version", "Metric", "Value", "", "Stderr"] - latex_writer.headers = ["Task", "Version", "Metric", "Value", "", "Stderr"] values = [] @@ -145,6 +143,5 @@ def make_results_table(result_dict): k = "" version = "" md_writer.value_matrix = values - latex_writer.value_matrix = values return md_writer.dumps()