Skip to content
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

T5Transformer.pretrained("t5_grammar_error_corrector") - IllegalArgumentException: No Operation named [missing_encoder_input_ids] in the Graph #13155

Closed
ancil009 opened this issue Nov 28, 2022 · 6 comments · Fixed by #13163
Assignees
Labels
bug models_hub pretrained models and pipelines

Comments

@ancil009
Copy link

Hi Team,

I am getting below error , while downloading "t5_grammar_error_corrector" model from T5Transformer pretrained model.
IllegalArgumentException: No Operation named [missing_encoder_input_ids] in the Graph

Same error in colab official notebook and databricks notebook.

Please suggest a solution for the same.................
Databricks
image

Colab
image

@maziyarpanahi maziyarpanahi added bug models_hub pretrained models and pipelines labels Nov 28, 2022
@maziyarpanahi
Copy link
Member

Hi,

Thanks for reporting this. We need to re-import this model (the only T5 left behind) with new architecture we introduced in Spark NLP 4.x.

I will start the motion for this to happen soon this week.

PS: original T5 model: https://huggingface.co/prithivida/grammar_error_correcter_v1

@ancil009
Copy link
Author

Thanks for quick response

@ancil009
Copy link
Author

ancil009 commented Nov 28, 2022

Hi @maziyarpanahi

I am changed sparknlp version to 3.4.4. then its working colab notebook. In my project we are using databricks. But in databricks notebook getting same error again

@ancil009
Copy link
Author

ancil009 commented Nov 28, 2022

image

In Cluster
image

@maziyarpanahi
Copy link
Member

We will fix this specific model for Spark NLP 4.x soon this week. You shouldn't downgrade that far back in your project (different Apache Spark support, etc.).

Anything that is broken in Spark NLP 3.4.x won't be fixed, let's stay on 4.2.x and we will have the compatible version of this model soon.

@maziyarpanahi maziyarpanahi linked a pull request Nov 28, 2022 that will close this issue
@ancil009
Copy link
Author

We will fix this specific model for Spark NLP 4.x soon this week. You shouldn't downgrade that far back in your project (different Apache Spark support, etc.).

Anything that is broken in Spark NLP 3.4.x won't be fixed, let's stay on 4.2.x and we will have the compatible version of this model soon.

Okay, Thanks a lot @maziyarpanahi

@maziyarpanahi maziyarpanahi linked a pull request Nov 28, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug models_hub pretrained models and pipelines
Projects
None yet
2 participants