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