mirror of https://github.com/hpcaitech/ColossalAI
parent
1a60dc07a8
commit
bfbf650588
|
@ -130,7 +130,7 @@ def evaluate(args):
|
||||||
assert answer1_jsons[i]['id'] == answer2_jsons[i]['id']
|
assert answer1_jsons[i]['id'] == answer2_jsons[i]['id']
|
||||||
answer_id = answer1_jsons[i]['id']
|
answer_id = answer1_jsons[i]['id']
|
||||||
|
|
||||||
ques = answer1_jsons[i]['instruction'] if answer1_jsons[i]['input'] == "" else answer1_jsons[i]['instuction'] + \
|
ques = answer1_jsons[i]['instruction'] if answer1_jsons[i]['input'] == "" else answer1_jsons[i]['instruction'] + \
|
||||||
" " + answer1_jsons[i]['input']
|
" " + answer1_jsons[i]['input']
|
||||||
cat = answer1_jsons[i]['category']
|
cat = answer1_jsons[i]['category']
|
||||||
ans1 = answer1_jsons[i]['output']
|
ans1 = answer1_jsons[i]['output']
|
||||||
|
|
Loading…
Reference in New Issue