Sentence Similarity
sentence-transformers
PyTorch
Transformers
mpnet
feature-extraction
text-embeddings-inference
Instructions to use gmsarti/setfit-ethos-multilabel-example with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use gmsarti/setfit-ethos-multilabel-example with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("gmsarti/setfit-ethos-multilabel-example") 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] - Transformers
How to use gmsarti/setfit-ethos-multilabel-example with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("gmsarti/setfit-ethos-multilabel-example") model = AutoModel.from_pretrained("gmsarti/setfit-ethos-multilabel-example", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from gmsarti/setfit-ethos-multilabel-example: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/gmsarti/setfit-ethos-multilabel-example/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://gmsarti/setfit-ethos-multilabel-example/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/gmsarti/setfit-ethos-multilabel-example/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- b067c57a09331731bd3cf98326e3886778124a3f851cc67a35053f71ed683ac1
- Size of remote file:
- 438 MB
- SHA256:
- 7f424441a773fbcb2dff96ace555dfb4d6206cb829f4b69be025a34c2a9ab76c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.