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
Download tokenizer.json from Chessmen/token_classify: direct link, hf CLI and curl.
- Browser
- Download file 669 kB
-
https://huggingface.co/Chessmen/token_classify/resolve/2cf585b5974e4b1df2e34f2f693d39384fdb0da1/tokenizer.json
- Command line
-
hf download hf://Chessmen/token_classify@2cf585b5974e4b1df2e34f2f693d39384fdb0da1/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Chessmen/token_classify/resolve/2cf585b5974e4b1df2e34f2f693d39384fdb0da1/tokenizer.json
669 kB
File too large to display, you can check the raw version instead.