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