Skip to content

Commit

Permalink
Update gptqmodel test model
Browse files Browse the repository at this point in the history
  • Loading branch information
CL-ModelCloud committed Oct 25, 2024
1 parent ebdba64 commit 3c5de46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/models/test_gptqmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def assert_less_than(value, threshold, desc):

class Test_GPTQModel:
gptqmodel = pytest.importorskip("gptqmodel", minversion="1.0.9")
MODEL_ID = "ModelCloud/TinyLlama-1.1B-Chat-v1.0-GPTQ-4bit-10-25-2024"
MODEL_ID = "ModelCloud/Opt-125-GPTQ-4bit-10-25-2024"
task = "arc_easy"

def test_gptqmodel(self) -> None:
Expand Down Expand Up @@ -44,5 +44,5 @@ def test_gptqmodel(self) -> None:
if m == acc_norm:
acc_norm_value = "%.4f" % v if isinstance(v, float) else v

assert_less_than(acc_value, 0.6, "acc")
assert_less_than(acc_norm_value, 0.52, "acc_norm")
assert_less_than(acc_value, 0.43, "acc")
assert_less_than(acc_norm_value, 0.39, "acc_norm")

0 comments on commit 3c5de46

Please sign in to comment.