cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

TypeError: 'JavaPackage' object is not callable

Anil_M
New Contributor II

Hi Team,

I am facing issue with above error while I am trying to do BERT embeddings, by specifying the model path and it is giving error while downloading the model.

spark version is 3.3.0

Can any one of you help me on this?

6 REPLIES 6

Anil_M
New Contributor II

I am using AWS databricks and pyspark

feiyun0112
Honored Contributor

please give error detail.

i think you need add some Maven package, like https://community.databricks.com/t5/machine-learning/synapse-ml-typeerror-javapackage-object-is-not-...

Anil_M
New Contributor II

Hi @feiyun0112 

I am using AWS databricks, but above one related to Azure
correct me if my understanding is wrong.

feiyun0112
Honored Contributor

@Anil_M wrote:

Hi @feiyun0112 

I am using AWS databricks,This question has nothing to do with the cloud platform, it is that your code needs the corresponding maven package but above one related to Azure
correct me if my understanding is wrong.


This question has nothing to do with the cloud platform, it is that your code needs the corresponding maven package

please check the error details

Anil_M
New Contributor II

@feiyun0112 wrote:

@Anil_M wrote:

Hi @feiyun0112 

I am using AWS databricks,This question has nothing to do with the cloud platform, it is that your code needs the corresponding maven package but above one related to Azure
correct me if my understanding is wrong.


This question has nothing to do with the cloud platform, it is that your code needs the corresponding maven package

please check the error details


 

Plea

 

 

Hi @feiyun0112 @@please find the below attached error details and let me know the root cause of the issue.

Thank you!

feiyun0112
Honored Contributor

@Anil_M wrote:

@feiyun0112 wrote:

@Anil_M wrote:

Hi @feiyun0112 

I am using AWS databricks,This question has nothing to do with the cloud platform, it is that your code needs the corresponding maven package but above one related to Azure
correct me if my understanding is wrong.


This question has nothing to do with the cloud platform, it is that your code needs the corresponding maven package

please check the error details


 

Plea

 

 

Hi @feiyun0112 @@please find the below attached error details and let me know the root cause of the issue.

Thank you!


 

 

Spark NLP - Installation

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now