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