Remove normalized_prompt_logprobs from the engine to make code easier to maintain (#2902)
This commit is contained in:
1 parent
b803b395b7
commit
f65c13b559
12 files changed
+11
-153
No files matched your search
@@ -535,7 +535,7 @@ def test_hellaswag_select():
|
||||
|
||||
# Compute accuracy
|
||||
accuracy_gen = np.mean(np.array(preds_gen) == np.array(labels))
|
||||
assert np.abs(accuracy_gen - accuracy) < 0.01
|
||||
assert np.abs(accuracy_gen - accuracy) < 0.05
|
||||
assert np.abs(latency_gen - latency) < 1
|
||||
|
||||
return accuracy, latency
|
||||
|
||||
Reference in new issue
Block a user