From e616513b163f3feb2ee197cb0846ece37727580d Mon Sep 17 00:00:00 2001 From: zitian-gao Date: Tue, 27 May 2025 16:50:19 +0800 Subject: init eval --- Qwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 Qwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh (limited to 'Qwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh') diff --git a/Qwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh b/Qwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh new file mode 100755 index 0000000..566d911 --- /dev/null +++ b/Qwen2.5-Eval/evaluation/latex2sympy/scripts/compile.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +# Get relative path of the root directory of the project +rdir=`git rev-parse --git-dir` +rel_path="$(dirname "$rdir")" +# Change to that path and run the file +cd $rel_path + +java -jar antlr-4.11.1-complete.jar PS.g4 -o gen -- cgit v1.2.3