Instructions to use aammari/tars-few-shot-classification-pbsp-p2-q1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Flair
How to use aammari/tars-few-shot-classification-pbsp-p2-q1 with Flair:
from flair.data import Sentence from flair.models import SequenceTagger tagger = SequenceTagger.load("aammari/tars-few-shot-classification-pbsp-p2-q1") sentence = Sentence("George Washington went to Washington.") tagger.predict(sentence) print(sentence) - Notebooks
- Google Colab
- Kaggle
Ctrl+K