Instructions to use nickprock/setfit-banking77 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use nickprock/setfit-banking77 with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("nickprock/setfit-banking77") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Download modules.json from nickprock/setfit-banking77: direct link, hf CLI and curl.
- Browser
- Download file 229 Bytes
-
https://huggingface.co/nickprock/setfit-banking77/resolve/main/modules.json
- Command line
-
hf download hf://nickprock/setfit-banking77/modules.json
-
curl -L -o modules.json https://huggingface.co/nickprock/setfit-banking77/resolve/main/modules.json
229 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "", | |
| "type": "sentence_transformers.models.Transformer" | |
| }, | |
| { | |
| "idx": 1, | |
| "name": "1", | |
| "path": "1_Pooling", | |
| "type": "sentence_transformers.models.Pooling" | |
| } | |
| ] |