Text Classification
setfit
PyTorch
sentence-transformers
bert
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use mann2107/BCMPIIRABSentSim with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use mann2107/BCMPIIRABSentSim with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("mann2107/BCMPIIRABSentSim") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use mann2107/BCMPIIRABSentSim with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("mann2107/BCMPIIRABSentSim") 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] - Notebooks
- Google Colab
- Kaggle
Download model_head.pkl from mann2107/BCMPIIRABSentSim: direct link, hf CLI and curl.
- Browser
- Download file 28.7 kB
-
https://huggingface.co/mann2107/BCMPIIRABSentSim/resolve/main/model_head.pkl
- Command line
-
hf download hf://mann2107/BCMPIIRABSentSim/model_head.pkl
-
curl -L -o model_head.pkl https://huggingface.co/mann2107/BCMPIIRABSentSim/resolve/main/model_head.pkl
28.7 kB
- Xet hash:
- 6505ffd04f5f716d1ae6a2bb9b943b015dd31e4196c60e15954205c9eab646b6
- Size of remote file:
- 28.7 kB
- SHA256:
- 15b6a70cdb3099c1bd608127f07be59a61058c34a5fc6bd783bc68339244294e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.