Open xueyuan1990 opened 1 month ago
This is an issue with the model as I explained in the other thread. suggest you either found another model with Chinese support, try to import the same model yourself with ONNX, or import another model yourself:
Import new model(s):
OK, thanks for your help.
Is there an existing issue for this?
Current Behavior
BertEmbeddings.pretrained()
can load successfully. But when I runBertEmbeddings.pretrained("bert_embeddings_chinese_roberta_wwm_ext","zh")
, I get the exception:Expected Behavior
Download model successfully.
Steps To Reproduce
spark-submit :
Spark NLP version and Apache Spark
CentOS Linux release 8.4.2105 spark version 2.2.1 Scala version 2.11.8 java version 1.8.0_144 sparknlp : I use the Fat JAR downloaded from https://s3.amazonaws.com/auxdata.johnsnowlabs.com/public/jars/spark-nlp-assembly-5.3.3.jar.
Confirm CPU instructions(AVX2 AVX512F FMA):