You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
出错代码为:(最后一行报错)
for i, his in enumerate(history):
round_idx = 0
for (q,a) in his:
history_str[i] = g_model.make_history(history_str[i], round_idx, q, a)
round_idx += 1
final_round = round_idx
prompts = [g_model.make_input(history_str[i], final_round, prompts[i])[-args.max_input_length:] for i in range(len(prompts))]
results = []
for response in g_model.batch_response(prompts, None, config):
报错:
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 72-73: invalid continuation byte
出错代码为:(最后一行报错)
for i, his in enumerate(history):
round_idx = 0
for (q,a) in his:
history_str[i] = g_model.make_history(history_str[i], round_idx, q, a)
round_idx += 1
final_round = round_idx
prompts = [g_model.make_input(history_str[i], final_round, prompts[i])[-args.max_input_length:] for i in range(len(prompts))]
results = []
for response in g_model.batch_response(prompts, None, config):
报错:
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 72-73: invalid continuation byte
输入格式为:{
"contents":["反光板复活复活复活南方女孩妇女和功能和发v飞鸟飞过发表过打不过打不过打不过打不过打不过打不过打不过打不过打不过打不过的不敢当不敢当不敢当不敢当不敢当不敢当吧"],
"prompt":[[["今天星期几","三"],["今天星期几", "四"]]],
"prefix":["给出结果"],
"system":"现在你是一名秘书"
}
The text was updated successfully, but these errors were encountered: