[GH-ISSUE #13942] nomic-embed-text embedding incorrect for uppercase #34884

Open
opened 2026-04-22 18:49:45 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @holzman on GitHub (Jan 27, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/13942

What is the issue?

As of v0.13.1, nomic-embedding-text is returning the same embedding for uppercase no matter the content:

$ curl -s -X POST http://localhost:11434/api/embed -H "content-type: application/json" -d '{"model":"nomic-embed-text", "input": "REPLACE SUMP PUMP"}' | jq -c '.embeddings[0][0:3]'
[-0.0016069969,0.023146546,-0.18584801]

$ curl -s -X POST http://localhost:11434/api/embed -H "content-type: application/json" -d '{"model":"nomic-embed-text", "input": "CREATE A SPREADSHEET"}' | jq -c '.embeddings[0][0:3]'
[-0.0016069969,0.023146546,-0.18584801]

Relevant log output


OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.13.1 and above

Originally created by @holzman on GitHub (Jan 27, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/13942 ### What is the issue? As of v0.13.1, nomic-embedding-text is returning the same embedding for uppercase no matter the content: `$ curl -s -X POST http://localhost:11434/api/embed -H "content-type: application/json" -d '{"model":"nomic-embed-text", "input": "REPLACE SUMP PUMP"}' | jq -c '.embeddings[0][0:3]'` `[-0.0016069969,0.023146546,-0.18584801]` `$ curl -s -X POST http://localhost:11434/api/embed -H "content-type: application/json" -d '{"model":"nomic-embed-text", "input": "CREATE A SPREADSHEET"}' | jq -c '.embeddings[0][0:3]'` `[-0.0016069969,0.023146546,-0.18584801]` ### Relevant log output ```shell ``` ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.13.1 and above
GiteaMirror added the bug label 2026-04-22 18:49:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#34884