Bug: fixed multi_chain_reasoning test (#16192)
This commit is contained in:
@@ -89,7 +89,7 @@ async def multi_chain_gsm8k_async(question, num_chains, call_generate):
|
|||||||
|
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
lines = read_jsonl(args.data_path)
|
lines = list(read_jsonl(args.data_path))
|
||||||
|
|
||||||
# Construct prompts
|
# Construct prompts
|
||||||
k = args.num_shot
|
k = args.num_shot
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ prompt_lib = [
|
|||||||
|
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
lines = read_jsonl(args.data_path)
|
lines = list(read_jsonl(args.data_path))
|
||||||
|
|
||||||
# Construct prompts
|
# Construct prompts
|
||||||
# k = args.num_shot
|
# k = args.num_shot
|
||||||
|
|||||||
Reference in New Issue
Block a user