Skip to content

fix(arxivrollbench): include the passage and candidates in cloze prompts - #1951

Merged
Yunnglin merged 1 commit into
modelscope:mainfrom
David-Wu1119:fix/arxivrollbench-cloze-text
Oct 28, 2026
Merged

Yunnglin merged 1 commit into
modelscope:mainfrom
David-Wu1119:fix/arxivrollbench-cloze-text

Conversation

@David-Wu1119

@David-Wu1119 David-Wu1119 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

ArxivRollBench cloze subsets (*_c) ask the model to choose the right order of candidate fills for the holes in a passage. Those rows store the passage in text_with_holes and the fills in text_candidates, and have no shuffled_text. The adapter only reads shuffled_text, so every cloze prompt contains just the instruction and the four permutation options, with nothing to complete. That covers 929 of the 3,254 compact samples; in _meta, every _c subset has the same 307-character prompt.

The official ArxivRoll evaluation puts both fields into the cloze prompt (liangzid/ArxivRoll, eval_benchmark_stablity.py L103–110), and so does OpenCompass's ArxivRollBench config (configs/datasets/arxivrollbench/arxivrollbench_gen.py L31–41, L71–74).

This PR builds cloze prompts from text_with_holes and text_candidates, and leaves the other subset types unchanged. It bumps evaluation_version to v1.1 for arxivrollbench and arxivrollbench_full.

Test

  • New tests/benchmark/test_arxivrollbench.py builds the prompt for a real 2025a_cs_c row and checks that it contains the passage with holes and the candidate fills. A second case checks that the sequencing and prediction subsets still include their shuffled_text / context. On main the cloze case fails; with this change both pass.
  • The related registry, versioning and meta tests pass. pre-commit passes on the changed files.

🤖 Generated with Claude Code

…e prompts

Cloze (`*_c`) rows store their passage in `text_with_holes` and the
candidate sentences in `text_candidates`; they have no `shuffled_text`.
The adapter read only `shuffled_text`, so every cloze prompt held the
instruction and four permutation options with no text to complete,
leaving 929 of the 3,254 compact samples unanswerable. Include both
fields, as the official ArxivRoll evaluation and OpenCompass do, and
advance `evaluation_version` to v1.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 27, 2026 01:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@Yunnglin
Yunnglin merged commit c005d7f into modelscope:main Oct 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants