Closed tomerenshtein closed 2 years ago
There should be an issue either with your network/firewall, storage/permission, or any other number of configs that is related to your system.
As you can see in Colab which uses Java 11 and Ubuntu 20.4 (and many other places) it takes less than a minute to download and load the default BERT model: https://colab.research.google.com/drive/1coAmaqk4A1YvQ6Md38jjXDehHnPyJCID?usp=sharing
I would first check and clean ~/cache_pretrained
directory and make sure you carefully look into all the logs to find the actual problem.
unable to load pretrained models with the
.pretrained()
method.Description
when trying to load a pretrained model as in -
the load process seems to be running (cursor spinning [ / ]) but load can run for hours and nothing happens
not sure if related - but getting this messages when starting spark session (when preforming other park tasks like just manipulating dataframes it did not make a difference)-
Expected Behavior
the model should load I guess :)
Current Behavior
load can run for hours and nothing happens. When interrupted - shows the following -
Possible Solution
Steps to Reproduce
Context
working on a poc for an NER model. currently totally stuck.
Your Environment
sparknlp.version()
: 3.4.4spark.version
: v3.1.2java -version
: java-11-openjdk-amd64