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