You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ To generate code samples from a model, you can use the following command:
92
92
```shell
93
93
bigcodebench.generate \
94
94
--model [model_name] \
95
-
--subset [c2c|nl2c] \
95
+
--subset [complete|instruct] \
96
96
--greedy \
97
97
--bs [bs] \
98
98
--temperature [temp] \
@@ -102,12 +102,12 @@ bigcodebench.generate \
102
102
--tp [gpu_number]
103
103
```
104
104
>
105
-
The generated code samples will be stored in a file named `[model_name]--bigcodebench-[nl2c|c2c]--[backend]-[temp]-[n_samples].jsonl`. Alternatively, you can use the following command to utilize our pre-built docker images for generating code samples:
105
+
The generated code samples will be stored in a file named `[model_name]--bigcodebench-[instruct|complete]--[backend]-[temp]-[n_samples].jsonl`. Alternatively, you can use the following command to utilize our pre-built docker images for generating code samples:
106
106
>
107
107
```shell
108
108
docker run --gpus '"device=$CUDA_VISIBLE_DEVICES"' -v $(pwd):/bigcodebench -t terryzho/bigcodebench-generate-cu11:latest \
109
109
--model [model_name] \
110
-
--subset [c2c|nl2c] \
110
+
--subset [complete|instruct] \
111
111
--greedy \
112
112
--bs [bs] \
113
113
--temperature [temp] \
@@ -186,9 +186,9 @@ You are strongly recommended to use a sandbox such as [docker](https://docs.dock
186
186
187
187
```shell
188
188
# mount the current directory to the container
189
-
docker run -v $(pwd):/bigcodebench terryzho/bigcodebench-evaluate:latest --subset [c2c|nl2c] --samples samples.jsonl
189
+
docker run -v $(pwd):/bigcodebench terryzho/bigcodebench-evaluate:latest --subset [complete|instruct] --samples samples.jsonl
0 commit comments