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