SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.16040 · EMNLP · 2023

Instruct and Extract: Instruction Tuning for On-Demand Information Extraction

Jiawei Han, Heng Ji, Sha Li, Ming Zhong, Yizhu Jiao, Siru Ouyang, Ruining Zhao

arXiv · PDF · Open in the Atlas

Code that ran

12 of 21 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 10 failures of our instrument; 9 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/2310.16040.json · badge: /api/ran/2310.16040.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
yzjiao/on-demand-ie canonical (classifier label)
classifier basis: census
10 ran · 8 no recorded run
yzjiao/On-Demand-IE community
Papers with Code archive
2 ran · 1 no recorded run
FunctionStatusWhere it lives
Prompter Ran
ran on a synthesized input · constructed an object; no result was computed
yzjiao/On-Demand-IE/training/inference.py
pointer only (licence: NONE) · get_code("ef6252d46de7c7cc")
How it ran

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

extract_markdown Ran
ran; our contract draft was wrong, not the code
yzjiao/on-demand-ie/evaluation/rougel_for_content.py
pointer only (licence: NONE) · get_code("6b370c595a81b22a")
How it ran

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

get_score Ran
ran, honoured the contract we drafted
yzjiao/on-demand-ie/evaluation/rougel_for_content.py
pointer only (licence: NONE) · get_code("052514aef99856ca")
How it ran

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

is_markdown_table Ran
ran; our contract draft was wrong, not the code
yzjiao/on-demand-ie/data_generation/filter_table.py
pointer only (licence: NONE) · get_code("66a05762df9f31f6")
How it ran

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

is_markdown_table Ran
ran; our contract draft was wrong, not the code
yzjiao/on-demand-ie/data_generation/filter_table_random.py
pointer only (licence: NONE) · get_code("10795bb334d402c7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yzjiao/on-demand-ie 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_data Ran
ran; our contract draft was wrong, not the code
yzjiao/on-demand-ie/data_generation/filter_table.py
pointer only (licence: NONE) · get_code("5f77c565b5e3db71")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yzjiao/on-demand-ie 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_data Ran
ran; our contract draft was wrong, not the code
yzjiao/on-demand-ie/data_generation/generate_fixed_instruction.py
pointer only (licence: NONE) · get_code("24e7ec1a7a9f90db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yzjiao/on-demand-ie 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_data Ran
ran; our contract draft was wrong, not the code
yzjiao/on-demand-ie/data_generation/generate_table_cot.py
pointer only (licence: NONE) · get_code("71c2752e634dfab4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yzjiao/on-demand-ie 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
yzjiao/On-Demand-IE/training/inference.py
pointer only (licence: NONE) · get_code("70c53f6127609f82")
How it ran

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

markdown2dic Ran
ran; our contract draft was wrong, not the code
yzjiao/on-demand-ie/data_generation/filter_table.py
pointer only (licence: NONE) · get_code("e45c55264dd5b82f")
How it ran

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

remove_blank_lines Ran
ran; our contract draft was wrong, not the code
yzjiao/on-demand-ie/data_generation/paraphrase_instruction.py
pointer only (licence: NONE) · get_code("d29e55e9025baada")
How it ran

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

remove_numbered_sentences Ran
ran; our contract draft was wrong, not the code
yzjiao/on-demand-ie/data_generation/paraphrase_instruction.py
pointer only (licence: NONE) · get_code("bb3d06806aaa4310")
How it ran

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

gene_open_instr Not yet run
unverified (harvested, no recorded run)
yzjiao/on-demand-ie/data_generation/generate_open_instruction.py
pointer only (licence: NONE) · get_code("1aac48e34c958bec")
How it ran

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

generate_chat_completion Not yet run
unverified (harvested, no recorded run)
yzjiao/on-demand-ie/data_generation/generate_fixed_instruction.py
pointer only (licence: NONE) · get_code("638a9c1d5efb3f28")
How it ran

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

generate_chat_completion Not yet run
unverified (harvested, no recorded run)
yzjiao/on-demand-ie/data_generation/generate_open_instruction.py
pointer only (licence: NONE) · get_code("4b24b509e88000c1")
How it ran

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

generate_chat_completion Not yet run
unverified (harvested, no recorded run)
yzjiao/on-demand-ie/data_generation/generate_table.py
pointer only (licence: NONE) · get_code("38e5559b19e9cbed")
How it ran

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

generate_instruction Not yet run
unverified (harvested, no recorded run)
yzjiao/on-demand-ie/data_generation/generate_fixed_instruction.py
pointer only (licence: NONE) · get_code("bc33c96835cef11d")
How it ran

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

generate_table Not yet run
unverified (harvested, no recorded run)
yzjiao/on-demand-ie/data_generation/generate_table.py
pointer only (licence: NONE) · get_code("d1ebb5f91c8f27d7")
How it ran

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

generate_table Not yet run
unverified (harvested, no recorded run)
yzjiao/on-demand-ie/data_generation/generate_table_cot.py
pointer only (licence: NONE) · get_code("786d7aed7211909e")
How it ran

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

generate_text Not yet run
unverified (harvested, no recorded run)
yzjiao/on-demand-ie/data_generation/generate_text.py
pointer only (licence: NONE) · get_code("a6f428fed9e294b0")
How it ran

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

main Not yet run
unverified (harvested, no recorded run)
yzjiao/On-Demand-IE/training/inference.py
pointer only (licence: NONE) · get_code("a64c18f13070bb1b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yzjiao/On-Demand-IE 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 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 21 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.

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

Large language models with instructionfollowing capabilities open the door to a wider group of users. However, when it comes to information extraction -a classic task in natural language processing -most task-specific systems cannot align well with long-tail ad hoc extraction use cases for non-expert users. To address this, we propose a novel paradigm, termed On-Demand Information Extraction, to fulfill the personalized demands of real-world users. Our task aims to follow the instructions to extract the desired content from the associated text and present it in a structured tabular format. The table headers can either be userspecified or inferred contextually by the model. To facilitate research in this emerging area, we present a benchmark named INSTRUCTIE, inclusive of both automatically generated training data, as well as the human-annotated test set. Building on INSTRUCTIE, we further develop an On-Demand Information Extractor, ODIE. Comprehensive evaluations on our benchmark reveal that ODIE substantially outperforms the existing open-source models of similar size. Our code and dataset are released on https://github.com/yzjiao/On-Demand-IE.

For agents

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

get_harvested_code_for_paper("2310.16040")
get_code_for_paper("2310.16040")
have("2310.16040")

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

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

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

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

Connect an agent — have() is free.