Text Classification
setfit
Safetensors
sentence-transformers
bert
generated_from_setfit_trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use Maxim01/Intent_Classification_Test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use Maxim01/Intent_Classification_Test with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("Maxim01/Intent_Classification_Test") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - sentence-transformers
How to use Maxim01/Intent_Classification_Test with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Maxim01/Intent_Classification_Test") 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 Maxim01/Intent_Classification_Test: direct link, hf CLI and curl.
- Browser
- Download file 53 Bytes
-
https://huggingface.co/Maxim01/Intent_Classification_Test/resolve/main/config_setfit.json
- Command line
-
hf download hf://Maxim01/Intent_Classification_Test/config_setfit.json
-
curl -L -o config_setfit.json https://huggingface.co/Maxim01/Intent_Classification_Test/resolve/main/config_setfit.json
53 Bytes
| { | |
| "labels": null, | |
| "normalize_embeddings": false | |
| } |