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