Instructions to use avenuegp/setfit-vertical-classification-gpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use avenuegp/setfit-vertical-classification-gpu with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("avenuegp/setfit-vertical-classification-gpu") - sentence-transformers
How to use avenuegp/setfit-vertical-classification-gpu with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("avenuegp/setfit-vertical-classification-gpu") 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
Gated model You can list files but not access them
Preview of files found in this repository