-
Notifications
You must be signed in to change notification settings - Fork 515
[Test]Add accuracy test for model ERNIE-4.5-21B-A3B-PT #3658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| model_name: "PaddlePaddle/ERNIE-4.5-21B-A3B-PT" | ||
| tasks: | ||
| - name: "gsm8k" | ||
| metrics: | ||
| - name: "exact_match,flexible-extract" | ||
| value: 0.72 | ||
| - name: "ceval-valid" | ||
| metrics: | ||
| - name: "acc,none" | ||
| value: 0.85 | ||
|
Comment on lines
+9
to
+10
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to the |
||
| num_fewshot: 5 | ||
| tensor_parallel_size: 2 | ||
| batch_size: 16 | ||
| gpu_memory_utilization: 0.6 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The composite metric name
"exact_match,flexible-extract"will likely cause the test to fail with aKeyError. The test script (tests/e2e/models/test_lm_eval_correctness.py, lines 152-155) attempts to find the standard error by creating a key"exact_match_stderr,flexible-extract", which is probably not present in the evaluation results. The script doesn't seem to correctly parse compound metric names for stderr retrieval. This might require a fix in the test script itself, or splitting this into separate metric definitions if the framework supports it.