Skip to content

Commit

Permalink
update code
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiYeungLaw authored Aug 29, 2023
1 parent c1f1420 commit 2f3ccc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WizardCoder/src/humaneval_gen_vllm.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def main():
num_samples = len(prompts)
print("Number of samples: {}".format(num_samples))

llm = LLM(base_model, tensor_parallel_size=args.num_gpus)
llm = LLM(base_model=args.model, tensor_parallel_size=args.num_gpus)
sampling_params = SamplingParams(temperature=args.temperature, top_p=1, max_tokens=args.max_len)

print(f"Loaded {args.model}.")
Expand Down

0 comments on commit 2f3ccc7

Please sign in to comment.