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