[GH-ISSUE #12398] The ollama vector model supports customizing the number of dimensions #70294

Closed
opened 2026-05-04 20:58:15 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @ChenDianWzh on GitHub (Sep 24, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/12398

Can ollama come up with a parameter to support custom output dimensions of vector models? I want to ask if it is supported now. I am not particularly sure. I have tried many methods and it seems that none of them work.

Originally created by @ChenDianWzh on GitHub (Sep 24, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/12398 Can ollama come up with a parameter to support custom output dimensions of vector models? I want to ask if it is supported now. I am not particularly sure. I have tried many methods and it seems that none of them work.
GiteaMirror added the feature request label 2026-05-04 20:58:15 -05:00
Author
Owner

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

dimensions

<!-- gh-comment-id:3328423109 --> @rick-github commented on GitHub (Sep 24, 2025): [`dimensions`](https://github.com/ollama/ollama/blob/main/docs/api.md#generate-embeddings:~:text=dimensions,-%3A%20number%20of%20dimensions)
Author
Owner

@ChenDianWzh commented on GitHub (Sep 24, 2025):

dimensions

thank you ,bro

<!-- gh-comment-id:3328439845 --> @ChenDianWzh commented on GitHub (Sep 24, 2025): > [`dimensions`](https://github.com/ollama/ollama/blob/main/docs/api.md#generate-embeddings:~:text=dimensions,-%3A%20number%20of%20dimensions) thank you ,bro
Author
Owner

@pdevine commented on GitHub (Sep 24, 2025):

Going to close as answered (thanks @rick-github !)

<!-- gh-comment-id:3329834592 --> @pdevine commented on GitHub (Sep 24, 2025): Going to close as answered (thanks @rick-github !)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#70294