Download examples/model-conversion/scripts/utils/curl-embedding-server.sh from Brunobkr/llama.cpp_AlgMor24_github: direct link, hf CLI and curl.
- Browser
- Download file 193 Bytes
-
https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/9f63da05cd17e144eb118af61a784286378961ba/examples/model-conversion/scripts/utils/curl-embedding-server.sh
- Command line
-
hf download hf://datasets/Brunobkr/llama.cpp_AlgMor24_github@9f63da05cd17e144eb118af61a784286378961ba/examples/model-conversion/scripts/utils/curl-embedding-server.sh
-
curl -L -o curl-embedding-server.sh https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/9f63da05cd17e144eb118af61a784286378961ba/examples/model-conversion/scripts/utils/curl-embedding-server.sh
193 Bytes
| curl --request POST \ | |
| --url http://localhost:8080/embedding \ | |
| --header "Content-Type: application/json" \ | |
| --data '{"input": "Hello world today"}' \ | |
| --silent | |