How can I install offline Spark NLP packages without internet connection.
I've downloaded the package (recognizee_entities_dl
) and uploaded it to the cluster.
I've installed Spark NLP using pip install spark-nlp==2.5.5
.
I'm using PySpark and from the cluster I'm unable to download the packages.
Already tried;
pipeline = PretrainedPipeLine.from_disk('/path/to/recognize_entities_dl')
pipeline = PretrainedPipeLine.load('/path/to/recognize_entities_dl')
Errors:
'PretrainedPipeline' has no attribute 'load'
Input path does not exist:
hdfs://...../recognize_entities_dl_en_2.4.3_2.4_1584626752821/metatdata