Text Classification
setfit
Safetensors
sentence-transformers
mpnet
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use kneau007/my-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use kneau007/my-classifier with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("kneau007/my-classifier") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use kneau007/my-classifier with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("kneau007/my-classifier") 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 config_setfit.json from kneau007/my-classifier: direct link, hf CLI and curl.
- Browser
- Download file 430 Bytes
-
https://huggingface.co/kneau007/my-classifier/resolve/main/config_setfit.json
- Command line
-
hf download hf://kneau007/my-classifier/config_setfit.json
-
curl -L -o config_setfit.json https://huggingface.co/kneau007/my-classifier/resolve/main/config_setfit.json
430 Bytes
| { | |
| "normalize_embeddings": false, | |
| "labels": [ | |
| "Amalgamation", | |
| "Chief General Managers", | |
| "Disclaimer", | |
| "Featured Products / Services / Schemes", | |
| "IB Loan against Sovereign Gold Bond", | |
| "Ind Advantage (Reward Program)", | |
| "Loan / OD against NSC / KVP / Relief bonds of RBI / LIC policies", | |
| "Point of Sale (PoS)", | |
| "e-Allahabad Bank Journey", | |
| "\u00a0Centralized Pension Processing Centre" | |
| ] | |
| } |