Skip to content
Snippets Groups Projects
Commit fd27bbba authored by Julien Breton's avatar Julien Breton
Browse files

fix paths

parent 6721f6ae
Branches
No related tags found
No related merge requests found
...@@ -51,5 +51,5 @@ with alive_bar(len(loaded)) as bar: ...@@ -51,5 +51,5 @@ with alive_bar(len(loaded)) as bar:
print(f"Erreur avec la phrase : {sentence} | {e}") print(f"Erreur avec la phrase : {sentence} | {e}")
bar() bar()
with open('../../../results/GPT-4/GPT-4_zero_shot_answers.json', 'w', encoding='utf-8') as file: with open('../../../results/LLM/GPT-4/GPT-4_zero_shot_answers.json', 'w', encoding='utf-8') as file:
json.dump(output, file) # in 44:36.6 (0.08/s) json.dump(output, file) # in 44:36.6 (0.08/s)
...@@ -62,7 +62,7 @@ for sentence in loaded: ...@@ -62,7 +62,7 @@ for sentence in loaded:
i += 1 i += 1
with open('../../results/LLM/Mistral-7b/MISTRAL_zero_shot_raw_answers.json', 'w', encoding='utf-8') as file: with open('../../../results/LLM/Mistral-7b/MISTRAL_zero_shot_raw_answers.json', 'w', encoding='utf-8') as file:
json.dump(output, file) # in 44:36.6 (0.08/s) json.dump(output, file) # in 44:36.6 (0.08/s)
print("========== Program finished ==========") print("========== Program finished ==========")
\ No newline at end of file
...@@ -61,7 +61,7 @@ for sentence in loaded: ...@@ -61,7 +61,7 @@ for sentence in loaded:
output[sentence] = res[i][0]["generated_text"] output[sentence] = res[i][0]["generated_text"]
i += 1 i += 1
with open('../../results/LLM/Mixtral-8x7b/MIXTRAL_zero_shot_raw_answers.json', 'w', encoding='utf-8') as file: with open('../../../results/LLM/Mixtral-8x7b/MIXTRAL_zero_shot_raw_answers.json', 'w', encoding='utf-8') as file:
json.dump(output, file) # in 44:36.6 (0.08/s) json.dump(output, file) # in 44:36.6 (0.08/s)
print("========== Program finished ==========") print("========== Program finished ==========")
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment