File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,14 +67,14 @@ $PYTHON_EXECUTABLE -m extension.llm.export.export_llm \
6767cmake_install_executorch_libraries
6868cmake_build_llama_runner
6969
70- PROMPT=" \" What happens if you eat watermelon seeds?\" "
70+ PROMPT=" What happens if you eat watermelon seeds?"
7171# Run llama runner
72- RUNTIME_ARGS=" --model_path=${EXPORTED_MODEL_NAME} --tokenizer_path=${DOWNLOADED_PATH} /tokenizer.model --prompt= ${PROMPT} -- temperature=0 --seq_len=20 --warmup=1"
72+ RUNTIME_ARGS=" --model_path=${EXPORTED_MODEL_NAME} --tokenizer_path=${DOWNLOADED_PATH} /tokenizer.model --temperature=0 --seq_len=20 --warmup=1"
7373
7474NOW=$( date +" %H:%M:%S" )
7575echo " Starting to run llama runner at ${NOW} "
7676# shellcheck source=/dev/null
77- cmake-out/examples/models/llama/llama_main ${RUNTIME_ARGS} > result.txt
77+ cmake-out/examples/models/llama/llama_main --prompt= " ${PROMPT} " ${RUNTIME_ARGS} > result.txt
7878NOW=$( date +" %H:%M:%S" )
7979echo " Finished at ${NOW} "
8080
You can’t perform that action at this time.
0 commit comments