Instructions to use yjlee1011/ncodeR_data_setfit_multilabel_16_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_16_samples with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("yjlee1011/ncodeR_data_setfit_multilabel_16_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_16_samples with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("yjlee1011/ncodeR_data_setfit_multilabel_16_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_16_samples: direct link, hf CLI and curl.
- Browser
- Download file 39.9 kB
-
https://huggingface.co/yjlee1011/ncodeR_data_setfit_multilabel_16_samples/resolve/main/model_head.pkl
- Command line
-
hf download hf://yjlee1011/ncodeR_data_setfit_multilabel_16_samples/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/yjlee1011/ncodeR_data_setfit_multilabel_16_samples/resolve/main/model_head.pkl
39.9 kB
- Xet hash:
- 94521a29ac20ac64ec16294467c45f19fcb6c5bd22b67a249be6c0f32edb71ef
- Size of remote file:
- 39.9 kB
- SHA256:
- ed6bff04be7fa6987554caa89720fa177818854ec7d936ef9d98f7c273f68d45
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.