8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8185710 commit f56c418Copy full SHA for f56c418
examples/embedding/README.md
@@ -1,3 +1,21 @@
1
-# embedding
+# llama.cpp/example/embedding
2
3
-TODO
+This example demonstrates generate high-dimensional embedding vector of a given text with llama.cpp.
4
+
5
+## Quick Start
6
7
+To get started right away, run the following command, making sure to use the correct path for the model you have:
8
9
+### Unix-based systems (Linux, macOS, etc.):
10
11
+```bash
12
+./embedding -m ./path/to/model --log-disable -p "Hello World!" 2>/dev/null
13
+```
14
15
+### Windows:
16
17
+```powershell
18
+embedding.exe -m ./path/to/model --log-disable -p "Hello World!" 2>$null
19
20
21
+The above command will output space-separated float values.
0 commit comments