Skip to content

Commit

Permalink
remove absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
Omni-MATH committed Sep 14, 2024
1 parent 5aac08b commit 463096b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions GPT_eval/detailed_evaluation/domain_specific_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
from collections import defaultdict

def update_domain(target_entry):
cnt = 0
data_1 = []
with open('/mnt/workspace/hard_math/OmniPic_Bench/OmniPic_Bench_v1_final.jsonl') as f:
with open('../Omni-Math.jsonl') as f:
for line in f.readlines():
data_1.append(json.loads(line))

Expand Down
4 changes: 2 additions & 2 deletions GPT_eval/get_result.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
INFILE="/cpfs01/shared/public/gaobofei.gbf/hard_math/Omni-MATH/GPT_eval/examples/meta_llama_3-1_70b_instruct_gpteval.jsonl"
INFILE="./examples/meta_llama_3-1_70b_instruct_gpteval.jsonl"

python get_result.py \
python3 get_result.py \
-i $INFILE \

python3 ./detailed_evaluation/domain_specific_evaluation.py \
Expand Down

0 comments on commit 463096b

Please sign in to comment.