-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dan McPherson <[email protected]>
- Loading branch information
Showing
16 changed files
with
333 additions
and
1,173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,40 @@ | |
![Release](https://img.shields.io/github/v/release/instructlab/eval) | ||
![License](https://img.shields.io/github/license/instructlab/eval) | ||
|
||
Python library for Evaluation | ||
Python Library for Evaluation | ||
|
||
|
||
Check failure on line 10 in README.md GitHub Actions / markdown-lintMultiple consecutive blank lines
|
||
## MT-Bench Testing Steps | ||
|
||
TODO: Figure out the right version. Latest fails with openai.types not found | ||
|
||
```shell | ||
pip install vllm==0.3.3 | ||
``` | ||
|
||
You should run with `--tensor-parallel-size <NUM GPUS>` and possibly increase `--max-model-len` to increase the context length | ||
|
||
```shell | ||
python -m vllm.entrypoints.openai.api_server --model instructlab/granite-7b-lab | ||
``` | ||
|
||
```shell | ||
OPENAI_API_KEY="NO_API_KEY" python3 test_gen_answers.py | ||
``` | ||
|
||
results are in data/mt_bench/model_answer/instructlab/granite-7b-lab.jsonl | ||
|
||
For running judge model with vllm make sure you run with `--served-model-name gpt-4` | ||
|
||
You should run with `--tensor-parallel-size <NUM GPUS>` and possibly increase `--max-model-len` to increase the context length | ||
|
||
```shell | ||
python -m vllm.entrypoints.openai.api_server --model instructlab/granite-7b-lab --served-model-name gpt-4 | ||
``` | ||
|
||
```shell | ||
OPENAI_API_KEY="NO_API_KEY" python3 test_judge_answers.py | ||
``` | ||
|
||
results are in data/mt_bench/model_judgment/gpt-4_single.jsonl | ||
|
80 changes: 0 additions & 80 deletions
80
data/mt_bench/model_answer/instructlab/granite-7b-lab.jsonl
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
FastChat | ||
shortuuid | ||
openai<1.0.0 | ||
anthropic | ||
psutil | ||
torch | ||
transformers | ||
accelerate | ||
pandas | ||
pandas-stubs |
Oops, something went wrong.