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:
liushz 2024-05-28 17:17:54 +08:00 committed by GitHub
parent 9fa80b0f93
commit ba620c4afe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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