mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
Update accelerator (#1195)
* Add Math Evaluation with Judge Model Evaluator * Add Math Evaluation with Judge Model Evaluator * Add Math Evaluation with Judge Model Evaluator * Add Math Evaluation with Judge Model Evaluator * Fix Llama-3 meta template * Fix MATH with JudgeLM Evaluation * Fix MATH with JudgeLM Evaluation * Fix MATH with JudgeLM Evaluation * Fix MATH with JudgeLM Evaluation * Update acclerator * Update MathBench * Update accelerator --------- Co-authored-by: liuhongwei <liuhongwei@pjlab.org.cn>
This commit is contained in:
parent
9fa80b0f93
commit
ba620c4afe
@ -279,7 +279,8 @@ def change_accelerator(models, accelerator):
|
||||
else:
|
||||
raise ValueError(f'Unsupported accelerator {accelerator} for model type {model["type"]}')
|
||||
else:
|
||||
raise ValueError(f'Unsupported model type {model["type"]}')
|
||||
acc_model = model
|
||||
logger.warning(f'Unsupported model type {model["type"]}, will keep the original model.')
|
||||
model_accels.append(acc_model)
|
||||
return model_accels
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user