HuggingFaceTB/cosmopedia
Viewer โข Updated โข 31.1M โข 26.8k โข 774
How to use Aziracrow/Crowley with Flair:
from flair.data import Sentence
from flair.models import SequenceTagger
tagger = SequenceTagger.load("Aziracrow/Crowley")
sentence = Sentence("George Washington went to Washington.")
tagger.predict(sentence)
print(sentence)from flair.data import Sentence
from flair.models import SequenceTagger
tagger = SequenceTagger.load("Aziracrow/Crowley")
sentence = Sentence("George Washington went to Washington.")
tagger.predict(sentence)
print(sentence)
# Gated model: Login with a HF token with gated access permission hf auth login