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
|
Download README.md from odunola/Hack_embedder: direct link, hf CLI and curl.
- Browser
- Download file 112 Bytes
-
https://huggingface.co/odunola/Hack_embedder/resolve/main/README.md
- Command line
-
hf download hf://odunola/Hack_embedder/README.md
-
curl -L -o README.md https://huggingface.co/odunola/Hack_embedder/resolve/main/README.md
112 Bytes
metadata
license: apache-2.0
language:
- en
library_name: sentence-transformers
pipeline_tag: sentence-similarity