Sentence Similarity
sentence-transformers
Safetensors
qwen2
feature-extraction
text-embeddings-inference
Instructions to use nomic-ai/nomic-embed-code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nomic-ai/nomic-embed-code with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nomic-ai/nomic-embed-code") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
GGUF version?
#1
by limcheekin - opened
Thanks for sharing the model.
It seems like no one created a GGUF version of the model, I tried to create one but no luck.
It will be great if you guys publish the GGUF version of the model.
Thanks in advance.
I'm working on a GGUF version of the model, but it does require changes to llama.cpp to run as well. Working on it.
manyoso changed discussion status to closed