Views
No views yet
llama-server -hf ggml-org/embeddinggemma-300m-qat-q8_0-GGUF --embeddingscurl:1curl --request POST \
2 --url http://localhost:8080/embedding \
3 --header "Content-Type: application/json" \
4 --data '{"input": "Hello embeddings"}' \
5 --silentllama-embedding command line tool can be used:llama-embedding -hf ggml-org/embeddinggemma-300m-qat-q8_0-GGUF --verbose-prompt -p "Hello embeddings"--pooling,
the normalization can be controlled by the embd_normalize parameter.2 which means that the embeddings are normalized using
the Euclidean norm (L2). Other options are:llama-server, for example: --data '{"input": "Hello embeddings", "embd_normalize": -1}' \llama-embedding, by passing --embd-normalize <value>, for example:llama-embedding -hf ggml-org/embeddinggemma-300m-qat-q8_0-GGUF --embd-normalize -1 -p "Hello embeddings"