universal-dependencies/universal_dependencies
Updated • 5.32k • 34
This is a BERT model for POS-tagging and dependency-parsing (using goeswith for subwords), derived from bert-base-cantonese.
from transformers import pipeline
nlp=pipeline("universal-dependencies","KoichiYasuoka/bert-base-cantonese-ud-goeswith",trust_remote_code=True,aggregation_strategy="simple")
print(nlp("而家我冇辦法明白"))
Base model
google-bert/bert-base-chinese