Skip to content
Snippets Groups Projects
Commit 1c380936 authored by der2933's avatar der2933
Browse files

llama3 0630

parent 8eb080a5
No related branches found
Tags submission-v0.3.9.1
No related merge requests found
......@@ -91,7 +91,7 @@ class llama3_8b_FewShot_vllm(ShopBenchBaseModel):
passage = ''
t_data = json.loads(i.strip())
if "input" in t_data:
passage = t_data['instruction'] + t_data['input'] + '\nOutput:' + str( t_data['output']) + '\n'
passage = t_data['instruction'] + str(t_data['input']) + '\nOutput:' + str( t_data['output']) + '\n'
else:
passage = t_data['instruction'] + str(t_data['output']) + '\n'
passage = passage.replace('\\n','\n')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment