Problem embedding with new-line

#3
by planti - opened

Hi vonjack,
This model does not seem to support the new-line character (\n).
I tried with LLM Studio, and if I enter text with the character \n, I get this error:
Unknown exception caused embedding to stop: unordered_map::at: key not found.

Sentences without newline characters are embedded successfully.

planti

I encountered the same issue using bge-m3-f16.gguf to embed a text containing \n.
I am running the model using Ollama.
This error message is:

terminate called after throwing an instance of 'std::out_of_range'
  what():  _Map_base::at

which is basically the same error.

Sign up or log in to comment