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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group