Instructions to use yjlee1011/ncodeR_data_setfit_multilabel_64_samples with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use yjlee1011/ncodeR_data_setfit_multilabel_64_samples with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("yjlee1011/ncodeR_data_setfit_multilabel_64_samples") 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] - setfit
How to use yjlee1011/ncodeR_data_setfit_multilabel_64_samples with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("yjlee1011/ncodeR_data_setfit_multilabel_64_samples") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Download model_head.pkl from yjlee1011/ncodeR_data_setfit_multilabel_64_samples: direct link, hf CLI and curl.
- Browser
- Download file 39.9 kB
-
https://huggingface.co/yjlee1011/ncodeR_data_setfit_multilabel_64_samples/resolve/main/model_head.pkl
- Command line
-
hf download hf://yjlee1011/ncodeR_data_setfit_multilabel_64_samples/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/yjlee1011/ncodeR_data_setfit_multilabel_64_samples/resolve/main/model_head.pkl
39.9 kB
- Xet hash:
- 3b9b61dfd36c188df50f8c2a6c0161aa072cb23e7c2b5eb7db7fa81290ae26e5
- Size of remote file:
- 39.9 kB
- SHA256:
- a3751759c72b70c10d8604ee9776953d2a924e937e415604aa3929d4a44c6c3d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.