Instructions to use odunola/Hack_embedder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use odunola/Hack_embedder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("odunola/Hack_embedder") 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
File size: 134 Bytes
f97428a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5dc4f20b2adff8018249e414071a15f3c141a4218b7c0e9abaa4ca4914f7701b
size 133506729
|