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