Spaces:
Runtime error
Runtime error
|
Download llama-cpp-python/vendor/llama.cpp/examples/embedding/README.md from aelitta/BioMistral_gradio: direct link, hf CLI and curl.
- Browser
- Download file 564 Bytes
-
https://huggingface.co/spaces/aelitta/BioMistral_gradio/resolve/main/llama-cpp-python/vendor/llama.cpp/examples/embedding/README.md
- Command line
-
hf download hf://spaces/aelitta/BioMistral_gradio/llama-cpp-python/vendor/llama.cpp/examples/embedding/README.md
-
curl -L -o README.md https://huggingface.co/spaces/aelitta/BioMistral_gradio/resolve/main/llama-cpp-python/vendor/llama.cpp/examples/embedding/README.md
564 Bytes
A newer version of the Gradio SDK is available: 6.32.0
llama.cpp/example/embedding
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.):
./embedding -m ./path/to/model --log-disable -p "Hello World!" 2>/dev/null
Windows:
embedding.exe -m ./path/to/model --log-disable -p "Hello World!" 2>$null
The above command will output space-separated float values.