-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for other Spark NLP models #24
Comments
About model version
|
IssuesI think that I can import What is the difference between:
I definitively have the JSL python library. Maybe my FAT Jar is not for JSL? Is it because I don't provide the secret when I start my spark session as seen in other tutorial? |
Java gateway process exited before sending its port numberI installed the JSL version of the FAT jar. Now the error is:
According to several comments in this thread, Java 10 and 11 have this issue but not Java 8. Java 8 is also the version "needed" according to Spark NLP. So far I was fine using Java 11. |
I now have Java 8 installed.
The above error disappeared and I'm now back to a |
This was the solution. Moving on, here is the new error:
|
Following the hint provided by the above error, I renamed the env var
|
I tried removing the version token from
|
Meanwhile, I blocked again the access to the internet for the container and got this error:
|
The above error disappeared when adding the fat JAR publicly available. I'm now back to the "wrong license format" error. |
The zip archive of models can be found using the
Download
button present on the model's page.All the PHI models are listed here and they require a license:
https://nlp.johnsnowlabs.com/models?task=Named+Entity+Recognition&language=en&q=phi
Licensed models
Outputs NER
ner_deid_large_en_2.5.3_2.4_1595427435246
ner_deid_synthetic_en_2.7.4_2.4_1613746244835
ner_deid_enriched_en_2.5.3_2.4_1594170530497
ner_deid_biobert_en_3.0.0_3.0_1617260631832
java.lang.ClassNotFoundException: com.johnsnowlabs.nlp.annotators.ner.MedicalNerModel
ner_deid_sd_en_3.0.0_3.0_1617260827858
java.lang.ClassNotFoundException: com.johnsnowlabs.nlp.annotators.ner.MedicalNerModel
ner_deidentify_dl_en_2.7.2_2.4_1612178436389
Outputs Obfuscated/Document
Other
ner_deid_augmented_en_3.0.0_2.3_1617208449273
Model sizes
The text was updated successfully, but these errors were encountered: