MCPcopy Create free account
hub / github.com/ZinYY/TreeLoRA / eval

Function eval

evaluations/eval_NumGLUE_cm.py:5–8  ·  view source on GitHub ↗
(predicted_sequences, ground_truths)

Source from the content-addressed store, hash-verified

3
4
5def eval(predicted_sequences, ground_truths):
6 accuracy = caculate_accuracy(predicted_sequences, ground_truths)
7 evaluation_result = {"accuracy": accuracy}
8 return evaluation_result

Callers

nothing calls this directly

Calls 1

caculate_accuracyFunction · 0.90

Tested by

no test coverage detected