Instructions to use nickmuchi/setfit-model-mpnet-financial-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nickmuchi/setfit-model-mpnet-financial-classification with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nickmuchi/setfit-model-mpnet-financial-classification") 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] - setfit
How to use nickmuchi/setfit-model-mpnet-financial-classification with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("nickmuchi/setfit-model-mpnet-financial-classification") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 5d7e3f3565a7bfc537b099cf3bfecd6acfa27b369239c76c875957690f340344
- Size of remote file:
- 438 MB
- SHA256:
- 7e820c42468784e77b25c2c5c2120369425296f9f876da71a576a69de89fbed5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.