Commit 53dc7e6e authored by zihanl's avatar zihanl
Browse files

add out_seq_length for api prompt

parent e755f6fd
...@@ -144,7 +144,7 @@ def generate_samples_by_calling_api(): ...@@ -144,7 +144,7 @@ def generate_samples_by_calling_api():
# get the output generations from the api, # get the output generations from the api,
# and write to the output file # and write to the output file
generations = call_model_api(inputs) generations = call_model_api(inputs, args.out_seq_length)
fname_out.write(generations) fname_out.write(generations)
fname_out.write("\n") fname_out.write("\n")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment