Instructions to use nickmuchi/setfit-model-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-financial-classification with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nickmuchi/setfit-model-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-financial-classification with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("nickmuchi/setfit-model-financial-classification") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
ae1d764 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:81f0bb95846f879a4b8bdc93440696b2896020e40ed5b7b36a4735b3869324be
size 438016493
|