Instructions to use NoesisLab/Collins-Embedding-3M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use NoesisLab/Collins-Embedding-3M with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("NoesisLab/Collins-Embedding-3M") 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
Download modules.json from NoesisLab/Collins-Embedding-3M: direct link, hf CLI and curl.
- Browser
- Download file 119 Bytes
-
https://huggingface.co/NoesisLab/Collins-Embedding-3M/resolve/main/modules.json
- Command line
-
hf download hf://NoesisLab/Collins-Embedding-3M/modules.json
-
curl -L -o modules.json https://huggingface.co/NoesisLab/Collins-Embedding-3M/resolve/main/modules.json
119 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "0_CollinsSTWrapper", | |
| "type": "modeling_hf.CollinsSTWrapper" | |
| } | |
| ] |