Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# Download and Compile LLaMA.cpp
|
| 6 |
+
https://github.com/ggerganov/llama.cpp/blob/master/examples/main/README.md#quick-start
|
| 7 |
+
|
| 8 |
+
# Unix-based systems (Linux, macOS, etc.):
|
| 9 |
+
## Input prompt (One-and-done)
|
| 10 |
+
```
|
| 11 |
+
./llama-cli -m LLaMA-O1-Supervised-1129-Q2_K.bin --prompt "Once upon a time"
|
| 12 |
+
```
|
| 13 |
+
## Conversation mode (Allow for continuous interaction with the model)
|
| 14 |
+
```
|
| 15 |
+
./llama-cli -m LLaMA-O1-Supervised-1129-Q2_K.bin -cnv --chat-template gemma
|
| 16 |
+
```
|
| 17 |
+
## Infinite text from a starting prompt (you can use Ctrl-C to stop it):
|
| 18 |
+
```
|
| 19 |
+
./llama-cli -m LLaMA-O1-Supervised-1129-Q2_K.bin --ignore-eos -n -1
|
| 20 |
+
```
|