Instructions to use rsvalerio/nomic-embed-code-coreml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use rsvalerio/nomic-embed-code-coreml with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("rsvalerio/nomic-embed-code-coreml") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
File size: 617 Bytes
e4e3df7 893bd00 e4e3df7 893bd00 e4e3df7 893bd00 e4e3df7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | {
"fileFormatVersion": "1.0.0",
"itemInfoEntries": {
"120985BA-C5F6-4BB9-83BB-2BBEDD2F38EC": {
"author": "com.apple.CoreML",
"description": "CoreML Model Specification",
"name": "model.mlmodel",
"path": "com.apple.CoreML/model.mlmodel"
},
"180EE7BE-0F86-474B-83C2-54C189AA7AAF": {
"author": "com.apple.CoreML",
"description": "CoreML Model Weights",
"name": "weights",
"path": "com.apple.CoreML/weights"
}
},
"rootModelIdentifier": "120985BA-C5F6-4BB9-83BB-2BBEDD2F38EC"
}
|