From ee2a62f1173c845b2b772bfde5486e925e411c11 Mon Sep 17 00:00:00 2001 From: Digant Desai Date: Wed, 17 Apr 2024 09:24:58 -0500 Subject: [PATCH] Update README.md Fix Android adb shell quotes. Tested prompt quote escapes locally. --- examples/models/llama2/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/models/llama2/README.md b/examples/models/llama2/README.md index d1a2550acf7..7438c51fe3f 100644 --- a/examples/models/llama2/README.md +++ b/examples/models/llama2/README.md @@ -227,7 +227,7 @@ adb push cmake-out-android/examples/models/llama2/llama_main /data/local/tmp/lla **2.3 Run model** ``` -adb shell "cd /data/local/tmp/llama && ./llama_main --model_path --tokenizer_path --prompt "Once upon a time" --seq_len 120 +adb shell "cd /data/local/tmp/llama && ./llama_main --model_path --tokenizer_path --prompt \"Once upon a time\" --seq_len 120" ``` ## Step 6: Build Mobile apps