Skip to content

feat: use MLCommons AILuminate prompt set in benchmark owner notebook#9462

Merged
koenvanderveen merged 7 commits into
devfrom
koen/include-mlcommons-dataset
Jul 23, 2026
Merged

feat: use MLCommons AILuminate prompt set in benchmark owner notebook#9462
koenvanderveen merged 7 commits into
devfrom
koen/include-mlcommons-dataset

Conversation

@koenvanderveen

Copy link
Copy Markdown
Collaborator

Replaces the hardcoded safety prompts in the Gemma benchmark owner notebook with the MLCommons AILuminate demo prompt set.

Changes

  • Download the AILuminate demo CSV and use the first 5 rows as the mock benchmark and the next 5 rows as the private benchmark
  • Assert both uploaded CSVs have exactly the expected columns after dataset creation
  • Step 5 job now reads the CSV with csv.DictReader and loops over each row
  • Job results now include the release_prompt_id for each row, and Step 7 prints it

Test plan

  • Verified the download/split/column-assertion/loop logic in a standalone tmp script (1200 rows downloaded, splits into 5+5, assertions pass, loop produces results carrying prompt ids)
  • Notebook validated as well-formed JSON

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

…mark owner

- mock_jax (default True) makes the inference JOB_CODE emit placeholder
  completions instead of loading Gemma / running JAX, so the notebook runs
  fast without the full JAX stack
- inference job now uses share_results_with_do=False so the model owner
  (who contributed the weights/engine) cannot see the job output
- assert the model owner receives no output while the benchmark owner does
@koenvanderveen
koenvanderveen merged commit 7fcee22 into dev Jul 23, 2026
20 checks passed
@koenvanderveen
koenvanderveen deleted the koen/include-mlcommons-dataset branch July 23, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant