lingoose icon indicating copy to clipboard operation
lingoose copied to clipboard

Parse embedding error, expected all numeric but string is prefixed with "embedding 0:

Open kbrisso opened this issue 5 months ago • 7 comments

Describe the bug When using llama-embeddings.exe the embedding returns a string from the command out that is formatted like this "embedding 0:" 0.011059 -0.014784 -0.018492 0.020268 -0.027386 0.022915 " This part "embedding 0" is causing the issue.

To Reproduce Steps to reproduce the behavior: llama-embedding.exe -m mxbai-embed-large-v1-f16.gguf --pooling mean -p "Madam Speaker Madam Vice President our First Lady and Second Gentleman. Members of Congress and the Cabinet. Justices of the Supreme Court. My fellow Americans. Last year COVID-19 kept us apart. This year we are finally together again. Tonight we meet as Democrats Republicans and Independents. But most importantly as Americans. With a duty to one another to the American people to the Constitution. And with an u" >>log.text

Expected behavior String with spaces with no alpha text, all text should numeric.

Screenshots Posted issues in Discord.

Desktop (please complete the following information):

  • OS: Windows

Additional context Add any other context about the problem here.

kbrisso avatar Sep 02 '24 23:09 kbrisso