[GH-ISSUE #13557] Embedding Model CLI Support #8928

Closed
opened 2026-04-12 21:44:46 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @shokrydev on GitHub (Dec 24, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/13557

Currently, running an embedding model via Ollama CLI throws an error:

~$ echo "Hello world" | ollama run qwen3-embedding:8b
Error: 400 Bad Request: "qwen3-embedding:8b" does not support generate

It would be useful if embedding models could be accessed via the CLI even though they don’t support conversations, as this would make it easier to quickly test them on low-compute hardware.

Originally created by @shokrydev on GitHub (Dec 24, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/13557 Currently, running an embedding model via Ollama CLI throws an error: ```bash ~$ echo "Hello world" | ollama run qwen3-embedding:8b Error: 400 Bad Request: "qwen3-embedding:8b" does not support generate ``` It would be useful if embedding models could be accessed via the CLI even though they don’t support conversations, as this would make it easier to quickly test them on low-compute hardware.
GiteaMirror added the feature request label 2026-04-12 21:44:46 -05:00
Author
Owner

@rick-github commented on GitHub (Dec 24, 2025):

Upgrade ollama.

$ ollama -v
ollama version is 0.13.5

$ echo "Hello world" | ollama run qwen3-embedding:8b | jq -c '.[0:3] + ["..."] + .[-3:]'
[0.018545961,0.0071068034,-0.01867784,"...",-0.017154008,-0.008224974,0.033630285]

<!-- gh-comment-id:3688767453 --> @rick-github commented on GitHub (Dec 24, 2025): [Upgrade ollama](https://docs.ollama.com/faq#how-can-i-upgrade-ollama). ```console $ ollama -v ollama version is 0.13.5 $ echo "Hello world" | ollama run qwen3-embedding:8b | jq -c '.[0:3] + ["..."] + .[-3:]' [0.018545961,0.0071068034,-0.01867784,"...",-0.017154008,-0.008224974,0.033630285] ```
Author
Owner

@shokrydev commented on GitHub (Dec 24, 2025):

Working now, thanks! For context, I was running 0.13.1

<!-- gh-comment-id:3689082252 --> @shokrydev commented on GitHub (Dec 24, 2025): Working now, thanks! For context, I was running 0.13.1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#8928