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 spiece.model from danielpolok/test-run-flan: direct link, hf CLI and curl.
- Browser
- Download file 792 kB
-
https://huggingface.co/danielpolok/test-run-flan/resolve/main/spiece.model
- Command line
-
hf download hf://danielpolok/test-run-flan/spiece.model
-
curl -L -o spiece.model https://huggingface.co/danielpolok/test-run-flan/resolve/main/spiece.model
792 kB
- Xet hash:
- e7463c1c6b7c46ae0de79b004f3d7318bf4307ef0bef4de3be2e38ae80fab160
- Size of remote file:
- 792 kB
- SHA256:
- d60acb128cf7b7f2536e8f38a5b18a05535c9e14c7a355904270e15b0945ea86
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.