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

Sparknlp 1035 test all notebooks to import tensor flow models to spark nlp #14238

Open
wants to merge 2 commits into
base: release/540-release-candidate
Choose a base branch
from

Conversation

ahmedlone127
Copy link
Contributor

@ahmedlone127 ahmedlone127 commented Apr 18, 2024

Updating transformers and tensorflow versions for all notebooks

Description

This PR upgrades transformers version to 4.39.3 and tensorflow version to 2.11.0 for all tensorflow export notebooks
It also fixes various minor bugs, colab links, typos and other small improvements.

Known issues:
HuggingFace in Spark NLP - XlmRoBertaForQuestionAnswering.ipynb (Missing spp file when trying to import )
HuggingFace in Spark NLP - XlmRoBertaForTokenClassification.ipynb (Missing spp file when trying to import )
HuggingFace in Spark NLP - XlmRoBertaForSequenceClassification.ipynb (Missing spp file when trying to import )
HuggingFace in Spark NLP - XLNet.ipynb( int 32/64 tensorflow error )
HuggingFace in Spark NLP - SwinForImageClassification.ipynb(Py4JJavaError: An error occurred while calling z:com.johnsnowlabs.nlp.annotators.cv.SwinForImageClassification.loadSavedModel.)
HuggingFace in Spark NLP - LongformerForQuestionAnswering.ipynb( Kept running then RAM error, try chanigng model )
HuggingFace in Spark NLP - Longformer.ipynb( Kept running then RAM error, try chanigng model )
CamemBertForTokenClassification( int 32/64 tensorflow error )
HuggingFace in Spark NLP - BERT Sentence.ipynb( int 32/64 tensorflow error )
Fine_Tuned_Sentence_Bert_in_Spark_NLP.ipynb

@maziyarpanahi maziyarpanahi self-assigned this May 16, 2024
@maziyarpanahi maziyarpanahi self-requested a review May 16, 2024 08:39
@maziyarpanahi maziyarpanahi changed the base branch from master to release/540-release-candidate May 16, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants