-
Notifications
You must be signed in to change notification settings - Fork 717
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
The summarization model(s) are not giving any result #13898
Comments
Hi, thanks for reporting! @prabod I think this might be related to your feature? |
Hie @prabod ! Any update on this? Thanks! |
@AayushSameerShah I tried to reproduce this issue, but I cannot reproduce it on Colab and locally via the GPU. You can check this notebook:
https://colab.research.google.com/drive/1XyZ6ibezz275QCo9zRlbHeHd7fLqfuWU?usp=sharing I am afraid we might need the actual issue template: https://github.com/JohnSnowLabs/spark-nlp/issues/new?assignees=maziyarpanahi&labels=question&projects=&template=bug_report.yml |
Hie @maziyarpanahi 👋🏻 I know I should have used the "issue" template, I apologize for this. Link: https://colab.research.google.com/drive/1xsYGjHcPxnh4e5UZxYj-hLT7BCFYP_0H?usp=sharing Please let me know if it doesn't work. |
@maziyarpanahi Hope you were able to catch that error 🤗 |
Hi @AayushSameerShah |
Hello! Thanks. |
This code and model that was previously failing now works in 5.0.2: A few things to keep in mind:
|
Hie, In the image above, I have tried to download the model first and then trying to load it... expecting it as a workaround... 😕 |
Hi @AayushSameerShah In any case, if you have a notebook that can be reproduced (without loading an offline model), please create a new issue regarding T5 annotator. |
Yeah, true the original issue was regarding the BART model... but the general error seems to be the same. In both cases, the same error was being thrown. Sure, I will open the issue for the T5 model with reproducible code. Thanks. |
Hello,
Sorry for posting this under the "documentation" label, but I thought it is more appropriate than the "bug". The problem I am facing is currently of two types.
1️⃣ Model is not downloading at all
2️⃣ Model can be downloaded but cannot do the inference.
Let me brief you about them.
Before going through any of the problems, I would provide some code which I use as a starter to drive the context:
Now, let me show the error-prone code.
1️⃣ Model is not downloading at all
📝 The model page here: Page
Model Name:
bart_large_cnn
Throws this error:
(error in short)
(error in long)
2️⃣ Model is downloaded but can't run inference
I have seen this problem in these two models.
📝 Model-1 page here: Page-1
📝 Model-2 page here: Page-2
The code:
After the successful download I run the inference like below:
And it gives this error:
It's a long error... but it will give the context. Seems like a problem in
.collect()
and also I tried using the.select("summaries").first()
and still gives some other related error.Thank you 🙏🏻
The text was updated successfully, but these errors were encountered: