Skip to content

Commit ee2a62f

Browse files
authored
Update README.md
Fix Android adb shell quotes. Tested prompt quote escapes locally.
1 parent 1f4b631 commit ee2a62f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/models/llama2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ adb push cmake-out-android/examples/models/llama2/llama_main /data/local/tmp/lla
227227
228228
**2.3 Run model**
229229
```
230-
adb shell "cd /data/local/tmp/llama && ./llama_main --model_path <model.pte> --tokenizer_path <tokenizer.bin> --prompt "Once upon a time" --seq_len 120
230+
adb shell "cd /data/local/tmp/llama && ./llama_main --model_path <model.pte> --tokenizer_path <tokenizer.bin> --prompt \"Once upon a time\" --seq_len 120"
231231
```
232232
## Step 6: Build Mobile apps
233233

0 commit comments

Comments
 (0)