[GH-ISSUE #963] create Sentence Transformer models #62506

Closed
opened 2026-05-03 09:16:28 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @antonio-castellon on GitHub (Nov 1, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/963

Hi Everyone,

Download and create a model from Hugginface works like a charm, but the problem is when we are trying to create a transformer model like: jinaai/jina-embeddings-v2-base-en or all-MiniLM-L6-v2.bin, we are not able to create amodel to be used for example in langchain like:

  ollama = OllamaEmbeddings(base_url=ollama_url,
                              model="jina-embeddings-v2-base-en",
                              temperature=0.0)

How we can include new Sentence Transformer model to be used by ollama when embeddings?

Many thanks
Antonio

Originally created by @antonio-castellon on GitHub (Nov 1, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/963 Hi Everyone, Download and create a model from Hugginface works like a charm, but the problem is when we are trying to create a transformer model like: **jinaai/jina-embeddings-v2-base-en** or **all-MiniLM-L6-v2.bin**, we are not able to create amodel to be used for example in langchain like: ``` ollama = OllamaEmbeddings(base_url=ollama_url, model="jina-embeddings-v2-base-en", temperature=0.0) ``` How we can include new Sentence Transformer model to be used by ollama when embeddings? Many thanks Antonio
Author
Owner

@flavioVitoriano commented on GitHub (Nov 2, 2023):

Up

<!-- gh-comment-id:1789904980 --> @flavioVitoriano commented on GitHub (Nov 2, 2023): Up
Author
Owner

@technovangelist commented on GitHub (Dec 4, 2023):

Thanks for submitting this but this seems to be a duplicate of #327 which asks to support these models. So I will go ahead and close it now. If you think there is anything we left out, reopen and we can address. Thanks for being part of this great community.

<!-- gh-comment-id:1839443877 --> @technovangelist commented on GitHub (Dec 4, 2023): Thanks for submitting this but this seems to be a duplicate of #327 which asks to support these models. So I will go ahead and close it now. If you think there is anything we left out, reopen and we can address. Thanks for being part of this great community.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62506