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