Repository navigation
Add gsm8k:platinum and gsm8k:chat variants - #414
Merged
Merged
Conversation
GSM8K-Platinum removes 110 ambiguous or flawed questions from the GSM8K test set and corrects 10 mislabeled answers. The variant swaps in the pinned madrylab/gsm8k-platinum dataset and keeps the base task's prompt, parsing, and scoring unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The base GSM8K prompt is an 8-shot completion capped at 512 tokens that stops at a blank line, which truncates chain-of-thought output. The chat variant sends a zero-shot chat prompt asking for a boxed answer, lifts the token cap, strips thinking traces, and reads the boxed number. It composes with the platinum variant. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Reasoning models often box money answers as 57.00, which exact match scored as wrong against a gold answer of 57. The base task's extractor is unchanged so its scores stay comparable with earlier runs. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
mgmorgan23
reviewed
Sep 28, 2026
no0p
approved these changes
Sep 28, 2026
no0p
left a comment
Contributor
There was a problem hiding this comment.
Thank you for doing this.
Let's live with it a while, and if it's a good experience, maybe one day add a comment that this is preferred, or conditions when it is preferred.
LGTM
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.
Summary
Adds two GSM8K variants. They can be used separately or together.
gsm8k:platinumevaluates on GSM8K-Platinum, a cleaned version of the GSM8K test set. The authors removed 110 ambiguous or flawed questions and corrected 10 mislabeled answers, leaving 1,209 questions with no rewording. The variant only swaps the data source tomadrylab/gsm8k-platinum, pinned to revisione762492.gsm8k:chatis a zero-shot chat setup for instruct and reasoning models. The base task's 8-shot completion prompt is capped at 512 tokens and stops at a blank line, which cuts off chain-of-thought output. The chat variant:\boxed{}<think>traces before scoring57.00matches a gold answer of57Variants compose. For example,
gsm8k:chat:platinumruns the chat setup on Platinum data, andgsm8k:olmo3base:platinumruns the OLMo 3 base-model setup on it. The plaingsm8ktask keeps its original data, prompt, and extractor, so earlier results stay comparable. To let a formatter apply,GSM8K.format_requestnow uses the configured formatter when one is set, andextract_answeruses the configuredanswer_extractorwhen one is set.Results: DeepSeek-R1-Distill-Qwen-32B
Both runs used
gsm8k:chatandgsm8k:chat:platinum, sampling at temperature 0.6 and top-p 0.95 with one sample per question and a 32k context. Each run used 2 GPUs:ai2/saturn, Beaker experiment01M3D7ASTQPA5H57SG1T1EED67.ai2/holmes, Beaker experiment01M3DF19MB8Z9Y0H317RNQ9T3H.gsm8k:chat(original)gsm8k:chat:platinumWhere the original errors fall. Most errors on the original set are on questions that Platinum removed or relabeled: 38 of 46 in run A and 43 of 50 in run B. Both runs answered 9 of the 10 relabeled questions correctly against the corrected labels.
How the scores were computed. Both jobs ran code from before the trailing-zero fix. Answers boxed as values like
57.00were marked wrong, so the jobs reported lower numbers:The table above comes from rescoring the saved outputs with the extractor in this PR. The model outputs are unchanged.
Caveat. The two tasks draw independent samples, so outcomes on the questions they share can differ from run to run.
Running on B300 GPUs. Run B passed
-o provider.kwargs.attention_backend=TRITON_ATTNand--env VLLM_USE_FLASHINFER_SAMPLER=0. The current image (CUDA 12.8, runtime base) has nonvcc. On B300, vLLM's default FlashInfer TensorRT-LLM attention backend tries to JIT-compile withnvccand fails at startup. With Triton attention, the evaluation took 3,629 s, compared with 8,850 s on A100: 2.4× faster.Testing
platinum.ruff check,ruff format --check, andpytest tests/ --ignore=tests/integration(2,777 passed) pass.ty checkreports one warning about an unusedtype: ignoreinharness/sandbox/executor.py. That warning also appears onmain.🤖 Generated with Claude Code