Enable mixtral 8x7b accuracy evaluation#1986
Merged
regisss merged 7 commits intoJun 3, 2025
Merged
Conversation
kwisniewski98
approved these changes
May 20, 2025
vidyasiv
suggested changes
May 21, 2025
Contributor
|
Contacted author offline, they're busy now and will respond in 1-2 weeks. |
vidyasiv
suggested changes
May 29, 2025
vidyasiv
reviewed
May 30, 2025
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
astachowiczhabana
requested changes
Jun 2, 2025
vidyasiv
suggested changes
Jun 2, 2025
Contributor
Author
Thanks for really good review :) |
Collaborator
|
@regisss can we merge this to main/1.18. The code is separated and shouldn't disrupt current tests results |
regisss
pushed a commit
that referenced
this pull request
Jun 3, 2025
Co-authored-by: Rafal <rbogdanowicz@habana.ai>
astachowiczhabana
pushed a commit
to HabanaAI/optimum-habana-fork
that referenced
this pull request
Jun 5, 2025
Co-authored-by: Rafal <rbogdanowicz@habana.ai>
astachowiczhabana
pushed a commit
to HabanaAI/optimum-habana-fork
that referenced
this pull request
Jun 10, 2025
Co-authored-by: Rafal <rbogdanowicz@habana.ai>
gplutop7
pushed a commit
to HabanaAI/optimum-habana-fork
that referenced
this pull request
Oct 15, 2025
* Merge v1.18-release * Hot fix regional compilation (huggingface#2005) Co-authored-by: regisss <15324346+regisss@users.noreply.github.com> * Enable mixtral 8x7b accuracy evaluation (huggingface#1986) Co-authored-by: Rafal <rbogdanowicz@habana.ai> * Update readme files for explicit lazy mode (huggingface#1921) Co-authored-by: Karol Brejna <karol.brejna@intel.com> Co-authored-by: Piotr Bielak <piotr.bielak@intel.com> * [llama-vision] Remove token_idx_cpu parameter (huggingface#2018) Integer parameter token_idx_cpu passed to mllama's forward() method caused an issue with hpu graph cache which led to performance drop. Signed-off-by: Urszula <urszula.golowicz@intel.com> * Update README examples (huggingface#2020) * Fix examples in README audio-classification: - add space between "False" and backslash image-to-text: - add "datasets" to requirements.txt pytorch-image-models: - add "datasets" to requirements.txt sentence-transformers-training/nli: - add command to properly discover HABANA_VISIBLE_MODULES sentence-transformers-training/sts: - add command to properly discover HABANA_VISIBLE_MODULES speech-recognition: - add `--trust_remote_code` for seq2seq examples stable-diffusion/training: - add missing OpenCV requirement for ControlNet Training Co-authored-by: Karol Brejna <karol.brejna@intel.com> * Review fixes: remove grabbing all modules --------- Co-authored-by: Karol Brejna <karol.brejna@intel.com> Co-authored-by: karol-brejna-i <karolbrejna@apache.org> * Pin latest optimum to force mutual updates (huggingface#2016) pin latest optimum to force mutual updates * Fix FP8 support and address related issues (huggingface#2010) - Resolve bugs related to FP8 (floating point 8-bit) computation - Improve stability and correctness of FP8 operations - Add/fix tests to validate FP8 functionality - Update relevant documentation and comments Co-authored-by: IlyasMoutawwakil --------- Signed-off-by: Urszula <urszula.golowicz@intel.com> Co-authored-by: Adam Stachowicz <astachowicz@habana.ai> Co-authored-by: Ilyas Moutawwakil <57442720+IlyasMoutawwakil@users.noreply.github.com> Co-authored-by: regisss <15324346+regisss@users.noreply.github.com> Co-authored-by: Rafal Bogdanowicz <rafal.bogdanowicz@intel.com> Co-authored-by: Rafal <rbogdanowicz@habana.ai> Co-authored-by: Jan Kamiński <jkaminski@habana.ai> Co-authored-by: Karol Brejna <karol.brejna@intel.com> Co-authored-by: Piotr Bielak <piotr.bielak@intel.com> Co-authored-by: Urszula Golowicz <urszula.golowicz@intel.com> Co-authored-by: Piotr Bielak <pbielak@users.noreply.github.com> Co-authored-by: karol-brejna-i <karolbrejna@apache.org>
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
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.
This commit implements accuracy.json generation.
In order to generate inference responses for custom dataset simply run run_generation script with two parameters --dataset custom_dataset.pkl and --dataset_name custom.
Additionaly you can setup environment for mbxp dataset evaluation and evaluate responses by using mlcommon scripts.
Results from the evaluation of the mlcommon dataset, which is a combination of OpenOrca, GSM8K, and MBXP.
{
'rouge1': 45.4708,
'rouge2': 23.2887,
'rougeL': 30.3478,
'rougeLsum': 42.4501,
'gsm8k': 74.16,
'mbxp': 60.36,
'gen_len': 4243067,
'gen_num': 15000,
'gen_tok_len': 2808861,
'tokens_per_sample': 187.3
}