Skip to content

Commit

Permalink
grammar file no contents
Browse files Browse the repository at this point in the history
  • Loading branch information
mike dupont committed Feb 21, 2024
1 parent 57f8668 commit 0b793c5
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion chess.sh
Original file line number Diff line number Diff line change
@@ -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}"
2 changes: 1 addition & 1 deletion clang.sh
Original file line number Diff line number Diff line change
@@ -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}"
1 change: 0 additions & 1 deletion gen_fold_simple.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
GRAMMAR=./grammars/ebnf.ebnf
GRAMMAR_C=$(cat $GRAMMAR)

DS=$(date -Iseconds)
PROMPT_NAME=lib/folder.ml
Expand Down
2 changes: 0 additions & 2 deletions gen_grammar_simple.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion simple_grammar.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0b793c5

Please sign in to comment.