Skip to content

Commit 74204f4

Browse files
digantdesaifacebook-github-bot
authored andcommitted
Update README.md (#3094)
Summary: Fix Android adb shell quotes. Tested prompt quote escapes locally. Pull Request resolved: #3094 Reviewed By: mergennachin Differential Revision: D56318301 Pulled By: digantdesai fbshipit-source-id: f9bf1b62a905006a8b440c57cf0bc29510a30637
1 parent 8fd92bc commit 74204f4

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
@@ -230,7 +230,7 @@ adb push cmake-out-android/examples/models/llama2/llama_main /data/local/tmp/lla
230230
231231
**2.3 Run model**
232232
```
233-
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
233+
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"
234234
```
235235
## Step 6: Build Mobile apps
236236

0 commit comments

Comments
 (0)