Closed Bais-art closed 2 years ago
Please update your version of paddlenlp
to get latest features. I test your code in my env, it works for me. Here are my related packages.
paddlenlp 2.2.4
paddlepaddle 2.2.0
I hope it can help you fix your issue. Please feel free to comment more details.
thank you
tokenizer = paddlenlp.transformers.ErnieGramTokenizer.from_pretrained('ernie-gram-zh')
AttributeError: module 'paddlenlp.transformers' has no attribute 'ErnieGramTokenizer'