def reset_eval_glue()

in 3_optimization-design-ptn/03_prompt-optimization/promptwizard/glue/paramlogger/__init__.py [0:0]


    def reset_eval_glue(self, base_path):
        # Path where all log files would be saved
        self.BASE_PATH = base_path
        makedirs(self.BASE_PATH, exist_ok=True)

        # Unique `id` for a sample in dataset
        self.SAMPLE_UNQ_ID = None

        # This dictionary can be used, when we want to log output and input of multiple components as a single jsonl
        self.CHAINED_LOG = []