Papers › Okapi: Instruction-tuned Large Language Models in Multiple Languages with...

Okapi: Instruction-tuned Large Language Models in Multiple Languages with Reinforcement Learning from Human Feedback

29 Jul 2023arXiv:2307.16039archive 2025-07-28

Viet Dac Lai, Chien Van Nguyen, Nghia Trung Ngo, Thuat Nguyen, Franck Dernoncourt, Ryan A. Rossi, Thien Huu Nguyen

A key technology for the development of large language models (LLMs) involves instruction tuning that helps align the models' responses with human expectations to realize impressive learning abilities. Two major approaches for instruction tuning characterize supervised fine-tuning (SFT) and reinforcement learning from human feedback (RLHF), which are currently applied to produce the best commercial LLMs (e.g., ChatGPT). To improve the accessibility of LLMs for research and development efforts, various instruction-tuned open-source LLMs have also been introduced recently, e.g., Alpaca, Vicuna, to name a few. However, existing open-source LLMs have only been instruction-tuned for English and a few popular languages, thus hindering their impacts and accessibility to many other languages in the world. Among a few very recent work to explore instruction tuning for LLMs in multiple languages, SFT has been used as the only approach to instruction-tune LLMs for multiple languages. This has left a significant gap for fine-tuned LLMs based on RLHF in diverse languages and raised important questions on how RLHF can boost the performance of multilingual instruction tuning. To overcome this issue, we present Okapi, the first system with instruction-tuned LLMs based on RLHF for multiple languages. Okapi introduces instruction and response-ranked data in 26 diverse languages to facilitate the experiments and development of future multilingual LLM research. We also present benchmark datasets to enable the evaluation of generative LLMs in multiple languages. Our experiments demonstrate the advantages of RLHF for multilingual instruction over SFT for different base models and datasets. Our framework and resources are released at https://github.com/nlp-uoregon/Okapi.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2307.16039")

Code

Syntology Ran 8 of 11 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong; 6 ran with no contract checked.

By repository: official repository: 1 sample from 1 repository, 0 ran; community (archive-listed): 10 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

nlp-uoregon/okapi officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
nlp-uoregon/mlmm-evaluation mentioned on GitHubApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 8 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
1ran · our draft was wrong
6ran
3unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

create_reward_fn nlp-uoregon/Okapi/rl_training.py official repository unverified Apache-2.0 (permissive) · 7cae284c2ed4ca9e · report
mean nlp-uoregon/mlmm-evaluation/lm_eval/metrics.py community (archive-listed) ran · violated contract fingerprinted Apache-2.0 (permissive) · 0928f497e20fb443 · report
escaped_split nlp-uoregon/mlmm-evaluation/lm_eval/utils.py community (archive-listed) ran Apache-2.0 (permissive) · 57e732507bad40db · report
get_result nlp-uoregon/mlmm-evaluation/lm_eval/models/gpt3.py community (archive-listed) ran Apache-2.0 (permissive) · d253589f2c78dad0 · report
group nlp-uoregon/mlmm-evaluation/lm_eval/utils.py community (archive-listed) ran Apache-2.0 (permissive) · 359c35fdcd7a0ee5 · report
json_serial nlp-uoregon/mlmm-evaluation/lm_eval/decontamination/archiver.py community (archive-listed) ran Apache-2.0 (permissive) · d3ade8d49512a76b · report
pop_stddev nlp-uoregon/mlmm-evaluation/lm_eval/metrics.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 518b2201c66c2ad3 · report
sample_stddev nlp-uoregon/mlmm-evaluation/lm_eval/metrics.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · d40f0123e8a8f5c0 · report
simple_parse_args_string nlp-uoregon/mlmm-evaluation/lm_eval/utils.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · cd999ad59caf84a7 · report
make_table nlp-uoregon/mlmm-evaluation/lm_eval/evaluator.py community (archive-listed) unverified Apache-2.0 (permissive) · 9d95c14130837ee4 · report
stop_sequences_criteria nlp-uoregon/mlmm-evaluation/lm_eval/models/huggingface.py community (archive-listed) unverified Apache-2.0 (permissive) · 069ffbe9aadaa2ae · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGNBASESFT

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections