mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
1
Signed-off-by: kit <101046518@qq.com>
This commit is contained in:
parent
ea699caeee
commit
a7fa56a75b
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ async def main():
|
|||
predictions.append(str(""))
|
||||
df = pd.DataFrame({"Label": labels, "Prediction": predictions, "T/F": is_true})
|
||||
df.to_excel("DABench_output.xlsx", index=False)
|
||||
print(DA.eval_all(id_list, predictions))
|
||||
logger.info(DA.eval_all(id_list, predictions))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ async def main(id=0):
|
|||
logger.info(result)
|
||||
save_history(role=di)
|
||||
_, is_correct = DA.eval(id, str(result))
|
||||
print(f"Prediction is {'correct' if is_correct else 'incorrect'}.")
|
||||
logger.info(f"Prediction is {'correct' if is_correct else 'incorrect'}.")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue