Instructions to use ilhkn/OUTSOURCING with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ilhkn/OUTSOURCING with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ilhkn/OUTSOURCING") 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 ilhkn/OUTSOURCING with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("ilhkn/OUTSOURCING") 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 ilhkn/OUTSOURCING: direct link, hf CLI and curl.
- Browser
- Download file 25.5 kB
-
https://huggingface.co/ilhkn/OUTSOURCING/resolve/main/model_head.pkl
- Command line
-
hf download hf://ilhkn/OUTSOURCING/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/ilhkn/OUTSOURCING/resolve/main/model_head.pkl
25.5 kB
- Xet hash:
- 836619a991c0bfa0a563b7aa726697911b509b3c79c79d594e55e75458e3a7ba
- Size of remote file:
- 25.5 kB
- SHA256:
- 26c7801dfe2db78001d58e889b49c313a4ea501c03558dd08bbbedcdadca1b4d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.