8000 embedding : update README.md (#3224) · a10y/llama.cpp@f56c418 · GitHub
[go: up one dir, main page]

Skip to content

Commit f56c418

Browse files
authored
embedding : update README.md (ggml-org#3224)
1 parent 8185710 commit f56c418

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

examples/embedding/README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1-
# embedding
1+
# llama.cpp/example/embedding
22

3-
TODO
3+
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

Comments
 (0)
0