Skip to content

Commit 4f64e40

Browse files
rand-flyarthw
authored andcommitted
docs: fix outdated usage of llama-simple (ggml-org#10565)
1 parent 88f01a0 commit 4f64e40

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/android.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ $ curl -L {model-url} -o ~/{model}.gguf
2323
Then, if you are not already in the repo directory, `cd` into `llama.cpp` and:
2424

2525
```
26-
$ ./build/bin/llama-simple -m ~/{model}.gguf -c {context-size} -p "{your-prompt}"
26+
$ ./build/bin/llama-cli -m ~/{model}.gguf -c {context-size} -p "{your-prompt}"
2727
```
2828

29-
Here, we show `llama-simple`, but any of the executables under `examples` should work, in theory. Be sure to set `context-size` to a reasonable number (say, 4096) to start with; otherwise, memory could spike and kill your terminal.
29+
Here, we show `llama-cli`, but any of the executables under `examples` should work, in theory. Be sure to set `context-size` to a reasonable number (say, 4096) to start with; otherwise, memory could spike and kill your terminal.
3030

3131
To see what it might look like visually, here's an old demo of an interactive session running on a Pixel 5 phone:
3232

examples/simple/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The purpose of this example is to demonstrate a minimal usage of llama.cpp for generating text with a given prompt.
44

55
```bash
6-
./llama-simple -m ./models/llama-7b-v2/ggml-model-f16.gguf -p "Hello my name is"
6+
./llama-simple -m ./models/llama-7b-v2/ggml-model-f16.gguf "Hello my name is"
77

88
...
99

0 commit comments

Comments
 (0)