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