Instructions to use Chessmen/token_classify with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Flair
How to use Chessmen/token_classify with Flair:
from flair.data import Sentence from flair.models import SequenceTagger tagger = SequenceTagger.load("Chessmen/token_classify") sentence = Sentence("George Washington went to Washington.") tagger.predict(sentence) print(sentence) - Notebooks
- Google Colab
- Kaggle