Wootang01/part_of_speech_categorizer in Colab

#1
by mauuuuu5 - opened

Hi I am quite new in the field, I wonder if there is a way to run the "Wootang01/part_of_speech_categorizer" in Colab? I tried this

from transformers import pipeline
pos = pipeline("Wootang01/part_of_speech_categorizer", grouped_entities=True)
pos_output = ner("My name is Sylvain and I work at Hugging Face in Brooklyn.")
pos1 = pd.DataFrame(pos_output)

print(pos1)

But got an error
Image.JPG

Sign up or log in to comment