We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b36bb86 commit 5d902d4Copy full SHA for 5d902d4
examples/inference/gpt/utils.py
@@ -309,7 +309,7 @@ def get_requests_from_file(
309
sampling_params_list = []
310
with open(args.prompt_file) as f:
311
for line in tqdm(f.readlines(), "read prompt file", total=n_prompts):
312
- line_dict = json.loads(line)]
+ line_dict = json.loads(line)
313
prompts.append(line_dict["text"])
314
315
sp = copy.deepcopy(sampling_params)
0 commit comments