Skip to content

Commit 7823079

Browse files
author
anonymous
committed
Update docs
1 parent 0f440f6 commit 7823079

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@ pip install -r requirements.txt
4949

5050
We provide `inference.py` to generate code snippets based on the trained models. The following is an example of generating code snippets using the WizardCoder-Python-34B-V1.0 model.
5151

52+
We recommend that sample numbers should be set to 5 or more for precise evaluation results.
53+
5254
```bash
5355
python inference.py \
5456
--model-path WizardLM/WizardCoder-Python-34B-V1.0 \
55-
--num-sample 20 \
56-
--out-dir output/result-PA19/WizardCoder-Python-34B-V1.0 \
57+
--num-sample 5 \
58+
--output output/result-PA19/WizardCoder-Python-34B-V1.0/samples.jsonl \
5759
--data datasets/selective-context/data-PA19.jsonl \
5860
--mode holistic
5961
```
@@ -135,7 +137,7 @@ For example:
135137
```bash
136138
python evaluation.py test-wise \
137139
--output output/result-PA19/gpt-3.5-turbo/result-full.json \
138-
--tests data/dataset/testcase/test-PA19.jsonl \
140+
--test dataset/testcase/test-PA19.jsonl \
139141
output/result-PA19/gpt-3.5-turbo/samples.jsonl
140142
```
141143

0 commit comments

Comments
 (0)