Instructions to use flair/frame-english with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Flair
How to use flair/frame-english with Flair:
from flair.data import Sentence from flair.models import SequenceTagger tagger = SequenceTagger.load("flair/frame-english") sentence = Sentence("George Washington went to Washington.") tagger.predict(sentence) print(sentence) - Notebooks
- Google Colab
- Kaggle
Demo crashes with error message
#1
by simon-clmtd - opened
'dict' object has no attribute 'embedding_length'
But when running it locally, it works.