I'm running the following code:
ModelParameters modelParams = new ModelParameters()
.setModel("models/nomic-embed-text-v1.5.f16.gguf")
.setBatchSize(8192)
.setUbatchSize(8192);
LlamaModel model = new LlamaModel(modelParams)
But it's failing to load the model. I noticed the following issue in the above output, which seems to indicate the error:
/work/build/_deps/llama.cpp-src/src/llama.cpp:8666: GGML_ASSERT(strcmp(res->name, "result_output") == 0 && "missing result_output tensor") failed
A similar command line execution with latest llamacpp's llama-embedding works:
llama-embedding -m nomic-embed-text-v1.5.f16.gguf -b 8192 -p 'search_query: What is TSNE?'
I'm running the following code:
But it's failing to load the model. I noticed the following issue in the above output, which seems to indicate the error:
A similar command line execution with latest llamacpp's llama-embedding works:
llama-embedding -m nomic-embed-text-v1.5.f16.gguf -b 8192 -p 'search_query: What is TSNE?'