[ColossalEval] support for vllm (#6056)

* support vllm

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* modify vllm and update readme

* run pre-commit

* remove dupilicated lines and refine code

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update param name

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* refine code

* update readme

* refine code

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Camille Zhong
2024-09-18 17:09:45 +08:00
committed by GitHub
parent 4fa6b9509c
commit f9546ba0be
19 changed files with 576 additions and 35 deletions

View File

@@ -15,7 +15,7 @@ default_inference_kwargs = {
"calculate_loss": False,
"all_classes": ["A", "B"],
"language": LANGUAGE,
"pretrain": False,
"calculate_overall_loss": False,
"max_new_tokens": 32,
}