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") - 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
| { | |
| "__version__": { | |
| "sentence_transformers": "3.4.1", | |
| "transformers": "4.48.3", | |
| "pytorch": "2.6.0+cu124" | |
| }, | |
| "prompts": {}, | |
| "default_prompt_name": null, | |
| "similarity_fn_name": "cosine" | |
| } |