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

540 Release Candidate #14247

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Conversation

@maziyarpanahi maziyarpanahi self-assigned this May 14, 2024
@maziyarpanahi maziyarpanahi added enhancement documentation bug-fix new-feature Introducing a new feature new model dependencies Pull requests that update a dependency file DON'T MERGE Do not merge this PR labels May 14, 2024
DevinTDHa and others added 19 commits May 14, 2024 11:04
… ONNX based annotators (#14236)

* [SPARKNLP-1011] Adding changes to transfer ONNX files on executors through Spark files feature

* [SPARKNLP-1011] Adding missing copyright comment

* [SPARKNLP-1011] Adding changes to add prefix for models with onnx_data file

* [SPARKNLP-1037] Adding changes to transfer ONNX files on executors via addFile

* [SPARKNLP-1037] Adding unique suffix to avoid duplication in spark files
* Use OpenVINO model engine for BertEmbeddings

Add OpenVINO model engine wrapper

Add default buffer size for reading weights file

Read OpenVINO IR format models

* Use Long Tensors with XlmRoberta

* Add OpenVINO support for RoBerta and XlmRoBerta embeddings

* Fix data type and formatting

* Add OpenVINO BERT test

- Resole merge conflicts

- Add test for openvino load model

* Update Python APIs to use OpenVINO

* Add param to enable OpenVINO through Python API
* Formatting changes

* Add OpenVINO support for E5 Embeddings

* Enable OpenVINO backend for E5 Embeddings
* Update Python APIs

* Resolve merge issues

* Add OpenVINO support for T5

* Read and write encoder-decoder models with OpenVINO

* OpenVINO Async Inference

* Refactor and cleanup

* Update comments

* Add config to set OpenVINO inference device

* Add OpenVINO support for BERT Sentence Embeddings

* Formatting

* Openvino synchronous inference

* Refactoring: OV Model Conversion

* BertSentenceEmbeddings Python API

* Enable OpenVINO support for Llama2

* Read/write Llama2 Transformer with OpenVINO

* Bugfix: Update saved model filename

* Replace broadcast with addFile for OpenVINO-based annotators

* Add OpenVINO Wrapper tests

* Add suffix to avoid duplication in Spark Files

* Set default OV inference device to CPU

* Use CPU by default for OpenVINO inference due to error loading device config in cluster envs

* Bugfix: Read serialized model from folder
* adding code for spp files and updating notebooks

* fixed code and notebook for xlnet embeddings

* fixing more notebooks

* adding notebook for bert sentence embeddings
…k nlp (#14238)

* Updating file version in XlmRobertaForZeroShotClassification

* updating  transformer versions
* Delete examples/demos/streamlit/CLIPForZeroShotClassification/inputs directory

* Add files via upload

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Update streamlit_app.py

* Delete examples/demos/streamlit/run_demos.ipynb

* Add files via upload
* implementing mpnet for tokenclassification

* changing default pretrained model name

---------

Co-authored-by: Maziyar Panahi <maziyar.panahi@iscpif.fr>
* added mistral

* Mistral python API
…4319)

* Phi2 scala api

* Phi2 python api

* Phi2 python and scala tests

* Phi2 python and scala tests

* added M2M100 openvino implementation

* added phi2  openvino implementation

* added openvino flag to python

---------

Co-authored-by: Maziyar Panahi <maziyar.panahi@iscpif.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix dependencies Pull requests that update a dependency file documentation DON'T MERGE Do not merge this PR enhancement new model new-feature Introducing a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants