Skip to content

Commit

Permalink
reduce ut time (#10)
Browse files Browse the repository at this point in the history
Signed-off-by: changwangss <[email protected]>
  • Loading branch information
changwangss authored May 13, 2024
1 parent 2c1428c commit 90be6c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_bigcode_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ def test_lm_eval(self):
user_model=user_model,
tokenizer=tokenizer,
tasks="humaneval",
n_samples=20,
batch_size=10,
n_samples=2,
batch_size=2,
allow_code_execution=True,
limit=20,
limit=10,
)
results = evaluate(args)
self.assertEqual(results["humaneval"]["pass@1"], 0.05)
self.assertEqual(results["humaneval"]["pass@1"], 0.1)


if __name__ == "__main__":
Expand Down

0 comments on commit 90be6c2

Please sign in to comment.