SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.10302 · 2023

One-Shot Learning as Instruction Data Prospector for Large Language Models

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 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; 4 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2312.10302.json · badge: /api/ran/2312.10302.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
pldlgb/nuggets canonical (classifier label)
classifier basis: census
6 ran · 3 no recorded run
FunctionStatusWhere it lives
build_model_signature Ran
ran; our contract draft was wrong, not the code
pldlgb/nuggets/models/huggingface.py
pointer only (licence: NONE) · get_code("58068aecc2f30af1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pldlgb/nuggets 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.

dataset_preprocess Ran
ran; our contract draft was wrong, not the code
pldlgb/nuggets/embedding_of_ins.py
pointer only (licence: NONE) · get_code("006914321f31358d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pldlgb/nuggets 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.

multiple_gen_promptify Ran
ran; our contract draft was wrong, not the code
pldlgb/nuggets/embedding_of_ins.py
pointer only (licence: NONE) · get_code("8ec6962f671225dc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pldlgb/nuggets 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.

sort_key Ran
ran, honoured the contract we drafted
pldlgb/nuggets/sort.py
pointer only (licence: NONE) · get_code("ffeeafe3f7000afc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pldlgb/nuggets 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.

str2bool Ran
ran, violated the contract we drafted
pldlgb/nuggets/common.py
pointer only (licence: NONE) · get_code("7c508037b40522af")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pldlgb/nuggets 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.

the_shape Ran
ran; our contract draft was wrong, not the code
pldlgb/nuggets/instruction_main.py
pointer only (licence: NONE) · get_code("a586adce4911ad05")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pldlgb/nuggets 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.

do_infer_probs Not yet run
unverified (harvested, no recorded run)
pldlgb/nuggets/instruction_main.py
pointer only (licence: NONE) · get_code("f7356287657ab52e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pldlgb/nuggets 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.

do_infer_probs_zero Not yet run
unverified (harvested, no recorded run)
pldlgb/nuggets/instruction_main.py
pointer only (licence: NONE) · get_code("0b0d8e01cec0d791")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pldlgb/nuggets 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.

embed_texts_batched Not yet run
unverified (harvested, no recorded run)
pldlgb/nuggets/embedding_of_ins.py
pointer only (licence: NONE) · get_code("7bf4d1f28a2e9dd4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pldlgb/nuggets 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 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 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 8 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
str2bool 175 other papers
95 dated earlier, 3 the same month, 74 later, 3 same year, order not determinable · 2 only as an assembly brick
1406.6247 (2014-06)
Recurrent Models of Visual Attention
1603.09382 (2016-03)
Deep Networks with Stochastic Depth
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
and 172 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-23.

Repositories linked to this paper

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

Abstract

Contemporary practices in instruction tuning often hinge on enlarging data scaling without a clear strategy for ensuring data quality, inadvertently introducing noise that may compromise model performance. To address this challenge, we introduce \textsc{Nuggets}, a novel and efficient methodology that leverages one-shot learning to discern and select high-quality instruction data from extensive datasets. \textsc{Nuggets} assesses the potential of individual instruction examples to act as effective one-shot learning instances, thereby identifying those that can significantly improve performance across diverse tasks. \textsc{Nuggets} utilizes a scoring system based on the impact of candidate examples on the perplexity of a diverse anchor set, facilitating the selection of the most advantageous data for instruction tuning. Through comprehensive evaluations on two benchmarks, including MT-Bench and Alpaca-Eval, we show that instruction tuning with the top 1\% of examples curated by \textsc{Nuggets} substantially outperforms conventional methods employing the entire dataset.

For agents

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

get_harvested_code_for_paper("2312.10302")
get_code_for_paper("2312.10302")
have("2312.10302")

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

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

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

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

Connect an agent — have() is free.