-
Notifications
You must be signed in to change notification settings - Fork 729
Spark NLP 6.1.0 Release #14634
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
Merged
Merged
Spark NLP 6.1.0 Release #14634
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add Phi-4 model implementation and tokenizer support - Introduced `Phi4` class for the state-of-the-art Phi-4 model by Microsoft Research, including methods for encoding, decoding, and tagging. - Added `Phi4Transformer` for integration with Spark NLP, enabling pretrained model loading and configuration. - Implemented `Phi4Tokenizer` for byte pair encoding specific to the Phi-4 model. - Updated `BpeTokenizer` to support the new Phi-4 tokenizer. - Added tests for `Phi4Transformer` to ensure functionality and performance. - Updated resource downloader to include `Phi4Transformer` for pretrained model access. * Enhance documentation for Phi-4 model in `Phi4Transformer.scala` - Expanded the model description to include detailed information on parameters, intended use, benchmarks, safety, limitations, and usage instructions. - Improved formatting for better readability and clarity. - Added references for further information on the Phi-4 model. * Add Phi-4 Transformer implementation and integration - Introduced `Phi4Transformer` class for the state-of-the-art Phi-4 model by Microsoft Research, enabling advanced reasoning and NLP tasks. - Added support for loading pretrained models and configuration parameters. - Implemented a loader for the Phi-4 model in the internal module. - Created unit tests to validate the functionality of the `Phi4Transformer`. - Updated the main `__init__.py` to include the new transformer in the module exports. * Add documentation and example notebook for Phi-4 Transformer - Created a detailed markdown file for the `Phi4Transformer`, outlining its features, usage, and pretrained model loading instructions. - Added a Jupyter notebook demonstrating the integration of the Phi-4 model with Spark NLP and Intel OpenVINO, including installation steps and example code. - Enhanced the Scala implementation comments for better clarity and formatting. - Updated the test specifications to reflect changes in the handling of temperature settings during predictions.
* Upgrade jsl-llama.cpp - Embeddings Passing - Adjust metadata extraction - Fix changed parameters - Add default system prompt - Default params for AutoGGUFEmbeddings * jsl-llama.cpp upgrade python side
6ecee5e
to
b5d2e50
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Merged PRs:
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: