Instructions to use philschmid/setfit-ag-news-endpoint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- setfit
How to use philschmid/setfit-ag-news-endpoint with setfit:
from setfit import SetFitModel model = SetFitModel.from_pretrained("philschmid/setfit-ag-news-endpoint") preds = model.predict(["i loved the spiderman movie!", "pineapple on pizza is the worst"]) print(preds) - Notebooks
- Google Colab
- Kaggle
Commit ·
70addba
1
Parent(s): 955515e
Delete __pycache__/handler.cpython-39.pyc
Browse files
__pycache__/handler.cpython-39.pyc
DELETED
|
Binary file (1.37 kB)
|
|
|