SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.12212 · ACL · 2025

Data Whisperer: Efficient Data Selection for Task-Specific LLM Fine-Tuning via Few-Shot In-Context Learning

Linfeng Zhang, Zhong Li, Conghui He, Xuming Hu, Jiajun Zhang, Shaobo Wang, Ziming Wang, Zichen Wen, Xiangqi Jin, Kaixin Li, Jize Wang

arXiv · PDF · Open in the Atlas

Code that ran

4 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 2 failures of our instrument; 3 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2505.12212.json · badge: /api/ran/2505.12212.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
gszfwsb/Data-Whisperer marked official in Papers with Code
Papers with Code archive
4 ran · 3 no recorded run
FunctionStatusWhere it lives
calculate_rouge_l Ran
ran, honoured the contract we drafted
gszfwsb/Data-Whisperer/pruning/datawhisperer_gsm_pruner.py
pointer only (licence: NONE) · get_code("4f59514e4f6d1658")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gszfwsb/Data-Whisperer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

exact_match Ran
ran, violated the contract we drafted
gszfwsb/Data-Whisperer/pruning/datawhisperer_gsm_pruner.py
pointer only (licence: NONE) · get_code("7d4e720c5eec0e6f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gszfwsb/Data-Whisperer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_json Ran
ran; our contract draft was wrong, not the code
gszfwsb/Data-Whisperer/pruning/datawhisperer_gsm_pruner.py
pointer only (licence: NONE) · get_code("f33868b25affe264")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gszfwsb/Data-Whisperer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

timer_decorator Ran
ran; our contract draft was wrong, not the code
gszfwsb/Data-Whisperer/pruning/datawhisperer_gsm_pruner.py
pointer only (licence: NONE) · get_code("19e30102a0907bdf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gszfwsb/Data-Whisperer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

DataWhisperer_GSM_Pruner Not yet run
unverified (harvested, no recorded run)
gszfwsb/Data-Whisperer/pruning/datawhisperer_gsm_pruner.py
pointer only (licence: NONE) · get_code("3ece9c8f9bd7db5b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gszfwsb/Data-Whisperer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Pruner Not yet run
unverified (harvested, no recorded run)
gszfwsb/Data-Whisperer/pruning/datawhisperer_gsm_pruner.py
pointer only (licence: NONE) · get_code("1e53a03eb50382c7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gszfwsb/Data-Whisperer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

save_json Not yet run
unverified (harvested, no recorded run)
gszfwsb/Data-Whisperer/pruning/datawhisperer_gsm_pruner.py
pointer only (licence: NONE) · get_code("246757f426cf0aa8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gszfwsb/Data-Whisperer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
load_json
brick of this paper's assembly: helper
11 other papers
9 dated earlier, 1 the same month, 1 later
1809.01696 (2018-09)
TVQA: Localized, Compositional Video Question Answering
1904.11574 (2019-04)
TVQA+: Spatio-Temporal Grounding for Video Question Answering
2001.09099 (2020-01)
TVR: A Large-Scale Dataset for Video-Subtitle Moment Retrieval
and 8 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Fine-tuning large language models (LLMs) on task-specific data is essential for their effective deployment. As dataset sizes grow, efficiently selecting optimal subsets for training becomes crucial to balancing performance and computational costs. Traditional data selection methods often require fine-tuning a scoring model on the target dataset, which is timeconsuming and resource-intensive, or rely on heuristics that fail to fully leverage the model's predictive capabilities. To address these challenges, we propose Data Whisperer, an efficient, training-free, attention-based method that leverages few-shot in-context learning with the model to be fine-tuned. Comprehensive evaluations were conducted on both raw and synthetic datasets across diverse tasks and models. Notably, Data Whisperer achieves superior performance compared to the full GSM8K dataset on the Llama-3-8B-Instruct model, using just 10% of the data, and outperforms existing methods with a 3.1-point improvement and a 7.4× speedup. The code is available at https: //github.com/gszfwsb/Data-Whisperer.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2505.12212")
get_code_for_paper("2505.12212")
have("2505.12212")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2505.12212.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2505.12212.svg)](https://syntology.ai/paper/2505.12212)

Connect an agent — have() is free.