diff --git a/chess.sh b/chess.sh index f686999..e955fef 100755 --- a/chess.sh +++ b/chess.sh @@ -1,2 +1,2 @@ -GRAMMAR=`cat ./grammars/chess.gbnf` +GRAMMAR=./grammars/chess.gbnf dune exec ./bin/simple_grammar.exe -- --llamacpp -s test4 -u "http://localhost:8080" -p "consider a consecutive series of types to describe the universe and universe of universes, what is your ordering?" -n 4 -g "${GRAMMAR}" diff --git a/clang.sh b/clang.sh index 55dde3b..e316796 100755 --- a/clang.sh +++ b/clang.sh @@ -1,2 +1,2 @@ -GRAMMAR=`cat ./grammars/c.gbnf` +GRAMMAR=./grammars/c.gbnf dune exec ./bin/simple_grammar.exe -- --llamacpp -s clang2 -u "http://localhost:8080" -p "consider a consecutive series of types to describe the universe and universe of universes, what is your ordering? please create .c language declarations. " -n 4 -g "${GRAMMAR}" diff --git a/gen_fold_simple.sh b/gen_fold_simple.sh index 2f52e72..281bdcb 100755 --- a/gen_fold_simple.sh +++ b/gen_fold_simple.sh @@ -1,5 +1,4 @@ GRAMMAR=./grammars/ebnf.ebnf -GRAMMAR_C=$(cat $GRAMMAR) DS=$(date -Iseconds) PROMPT_NAME=lib/folder.ml diff --git a/gen_grammar_simple.sh b/gen_grammar_simple.sh index f513d43..549676d 100755 --- a/gen_grammar_simple.sh +++ b/gen_grammar_simple.sh @@ -1,6 +1,4 @@ GRAMMAR=./grammars/ebnf.ebnf -GRAMMAR_C=$(cat $GRAMMAR) - DS=$(date -Iseconds) PROMPT_NAME=grammars/ebnf.ebnf PROMPT_NAME2=grammars/ebnf.ebnf.prompt diff --git a/simple_grammar.sh b/simple_grammar.sh index e4874ea..966de9d 100755 --- a/simple_grammar.sh +++ b/simple_grammar.sh @@ -1,4 +1,4 @@ -GRAMMAR=$( cat ./grammars/ebnf.ebnf) +GRAMMAR=./grammars/ebnf.ebnf echo "consider a consecutive series of types to describe the universe and universe of universes, what is your ordering?" > prompt.txt dune exec ./bin/simple_grammar.exe -- --llamacpp -s test4 -u "http://localhost:8080" -n 4 -g "$GRAMMAR" -p prompt.txt