-
Notifications
You must be signed in to change notification settings - Fork 704
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 - 995 Introducing MistralAI LLMs #14163
Closed
prabod
wants to merge
24
commits into
release/540-release-candidate
from
SPARKNLP-995-Implement-Mistral-as-CasualLM-similar-to-Llama-2-for-text-generation
Closed
SparkNLP - 995 Introducing MistralAI LLMs #14163
prabod
wants to merge
24
commits into
release/540-release-candidate
from
SPARKNLP-995-Implement-Mistral-as-CasualLM-similar-to-Llama-2-for-text-generation
Conversation
This file contains 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
- added beam search support for LLAMA2
changed test to slow test
prabod
changed the title
SparkNLP - 995 implement mistral as casual lm similar to llama 2 for text generation
SparkNLP - 995 Introducing MistralAI LLMs
Feb 6, 2024
prabod
added
new-feature
Introducing a new feature
new model
DON'T MERGE
Do not merge this PR
labels
Feb 6, 2024
maziyarpanahi
changed the base branch from
master
to
release/540-release-candidate
June 6, 2024 11:11
…s-CasualLM-similar-to-Llama-2-for-text-generation' into SPARKNLP-995-Implement-Mistral-as-CasualLM-similar-to-Llama-2-for-text-generation # Conflicts: # python/sparknlp/annotator/seq2seq/__init__.py # python/sparknlp/annotator/seq2seq/llama2_transformer.py # python/sparknlp/internal/__init__.py # python/test/annotator/seq2seq/llama2_transformer_test.py # src/main/scala/com/johnsnowlabs/ml/ai/Bart.scala # src/main/scala/com/johnsnowlabs/ml/ai/LLAMA2.scala # src/main/scala/com/johnsnowlabs/ml/ai/VisionEncoderDecoder.scala # src/main/scala/com/johnsnowlabs/ml/ai/util/Generation/Generate.scala # src/main/scala/com/johnsnowlabs/ml/onnx/OnnxSerializeModel.scala # src/main/scala/com/johnsnowlabs/ml/onnx/OnnxWrapper.scala # src/main/scala/com/johnsnowlabs/ml/util/LoadExternalModel.scala # src/main/scala/com/johnsnowlabs/nlp/annotators/seq2seq/LLAMA2Transformer.scala # src/test/scala/com/johnsnowlabs/nlp/annotators/seq2seq/LLAMA2TestSpec.scala
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Introducing MistralAI LLM models
Description
Mistral 7B, a 7.3 billion-parameter model that stands out for its efficient and effective
performance in natural language processing. Surpassing Llama 2 13B across all benchmarks and
excelling over Llama 1 34B in various aspects, Mistral 7B strikes a balance between English
language tasks and code comprehension, rivaling the capabilities of CodeLlama 7B in the
latter.
Types of changes
Checklist: