remove comments

This commit is contained in:
2025-10-29 16:18:10 +08:00
parent 285f8975c6
commit 4d4a4a7803

View File

@@ -39,7 +39,6 @@ class Validator:
api_key=self.config.api_key
)
# NOTE: for every dataset; need one of these
def default_correct(self, inputs: dict, outputs: dict, reference_outputs: dict) -> bool:
instructions = (
"Given an actual answer and an expected answer, determine whether"
@@ -72,7 +71,6 @@ class Validator:
tool_msgs = [e for e in outputs["output"] if isinstance(e, ToolMessage)]
# check if all tools are used
tool_used = []
for ref_tool in tool_uses:
st_cond = False
@@ -85,9 +83,7 @@ class Validator:
return sum(tool_used)/len(tool_uses)
# NOTE: for every dataset; need one of these
def default_inp_parse(self, inp, pipeline:Pipeline):
inp = inp["text"]