SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.08711 · 2023

PLUG: Leveraging Pivot Language in Cross-Lingual Instruction Tuning

arXiv · PDF · Open in the Atlas

Code that ran

10 of 11 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, 2 violated it and 0 have no contract verdict; 7 failures of our instrument; 1 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/2311.08711.json · badge: /api/ran/2311.08711.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
ytyz1307zzh/plug canonical (classifier label)
classifier basis: census
10 ran · 1 no recorded run
FunctionStatusWhere it lives
extract_answer Ran
ran, honoured the contract we drafted
ytyz1307zzh/plug/src/evaluate/svamp/evaluate_svamp.py
pointer only (licence: NONE) · get_code("3e78d709f22fd30c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ytyz1307zzh/plug 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_first_response Ran
ran; our contract draft was wrong, not the code
ytyz1307zzh/plug/src/model/extract_response_from_bilingual_output.py
pointer only (licence: NONE) · get_code("01ca766b9e5bf4ee")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ytyz1307zzh/plug 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_second_response Ran
ran; our contract draft was wrong, not the code
ytyz1307zzh/plug/src/model/extract_response_from_bilingual_output.py
pointer only (licence: NONE) · get_code("23a42f5111a6b386")
How it ran

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

format_answer_list Ran
ran; our contract draft was wrong, not the code
ytyz1307zzh/plug/src/evaluate/truthfulqa/evaluate_truthfulqa_gpt4.py
pointer only (licence: NONE) · get_code("36b1fcfb79a1b4a1")
How it ran

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

format_input_prompt Ran
ran; our contract draft was wrong, not the code
ytyz1307zzh/plug/src/model/inference.py
pointer only (licence: NONE) · get_code("7b3b049413a50845")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ytyz1307zzh/plug 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_correct Ran
ran, violated the contract we drafted
ytyz1307zzh/plug/src/evaluate/svamp/evaluate_svamp.py
pointer only (licence: NONE) · get_code("8615bd4175ccc380")
How it ran

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

mean Ran
ran, violated the contract we drafted
ytyz1307zzh/plug/src/translation/translate_together_chatgpt.py
pointer only (licence: NONE) · get_code("1010d5fc3c98b8e5")
How it ran

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

read_answer_file Ran
ran; our contract draft was wrong, not the code
ytyz1307zzh/plug/src/evaluate/x-alpacaeval/llm_judge/llm_judge.py
pointer only (licence: NONE) · get_code("9db179dfefb3aa4c")
How it ran

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

read_jsonl_as_list Ran
ran; our contract draft was wrong, not the code
ytyz1307zzh/plug/src/evaluate/truthfulqa/evaluate_truthfulqa_gpt4.py
pointer only (licence: NONE) · get_code("661ea0d3eb31d657")
How it ran

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

read_question_file Ran
ran; our contract draft was wrong, not the code
ytyz1307zzh/plug/src/evaluate/x-alpacaeval/llm_judge/llm_judge.py
pointer only (licence: NONE) · get_code("43a372b82bfe8052")
How it ran

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

chatgpt_single_turn_inference Not yet run
unverified (harvested, no recorded run)
ytyz1307zzh/plug/src/utils/gpt_utils.py
pointer only (licence: NONE) · get_code("4df12d19ed56280d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ytyz1307zzh/plug 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 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 11 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

Instruction tuning has remarkably advanced large language models (LLMs) in understanding and responding to diverse human instructions. Despite the success in high-resource languages, its application in lower-resource ones faces challenges due to the imbalanced foundational abilities of LLMs across different languages, stemming from the uneven language distribution in their pre-training data. To tackle this issue, we propose pivot language guided generation (PLUG), an approach that utilizes a high-resource language, primarily English, as the pivot to enhance instruction tuning in lower-resource languages. It trains the model to first process instructions in the pivot language, and then produce responses in the target language. To evaluate our approach, we introduce a benchmark, X-AlpacaEval, of instructions in 4 languages (Chinese, Korean, Italian, and Spanish), each annotated by professional translators. Our approach demonstrates a significant improvement in the instruction-following abilities of LLMs by 29% on average, compared to directly responding in the target language alone. Further experiments validate the versatility of our approach by employing alternative pivot languages beyond English to assist languages where LLMs exhibit lower proficiency. Our code and data are available at https://github.com/ytyz1307zzh/PLUG.

For agents

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

get_harvested_code_for_paper("2311.08711")
get_code_for_paper("2311.08711")
have("2311.08711")

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

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

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

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

Connect an agent — have() is free.