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:
- 4a09c8cab21d0e95c0b62ab55aa00dfe5cf94bfe32fb993643591d1616d2ec30
- Size of remote file:
- 19.3 kB
- SHA256:
- bae65e816d2b4f52de585fc5dece7595e9f578e7a3ebed74cc310921561b12c2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.