Skip to content

Commit

Permalink
embedding : update README.md (ggerganov#3224)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuiseki authored Sep 21, 2023
1 parent 8185710 commit f56c418
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions examples/embedding/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
# embedding
# llama.cpp/example/embedding

TODO
This example demonstrates generate high-dimensional embedding vector of a given text with llama.cpp.

## Quick Start

To get started right away, run the following command, making sure to use the correct path for the model you have:

### Unix-based systems (Linux, macOS, etc.):

```bash
./embedding -m ./path/to/model --log-disable -p "Hello World!" 2>/dev/null
```

### Windows:

```powershell
embedding.exe -m ./path/to/model --log-disable -p "Hello World!" 2>$null
```

The above command will output space-separated float values.

0 comments on commit f56c418

Please sign in to comment.