Papers › OpenP5: An Open-Source Platform for Developing, Training, and Evaluating LLM-based...

OpenP5: An Open-Source Platform for Developing, Training, and Evaluating LLM-based Recommender Systems

19 Jun 2023arXiv:2306.11134archive 2025-07-28

Shuyuan Xu, Wenyue Hua, Yongfeng Zhang

In recent years, the integration of Large Language Models (LLMs) into recommender systems has garnered interest among both practitioners and researchers. Despite this interest, the field is still emerging, and the lack of open-source R&D platforms may impede the exploration of LLM-based recommendations. This paper introduces OpenP5, an open-source platform designed as a resource to facilitate the development, training, and evaluation of LLM-based generative recommender systems for research purposes. The platform is implemented using encoder-decoder LLMs (e.g., T5) and decoder-only LLMs (e.g., Llama-2) across 10 widely recognized public datasets, catering to two fundamental recommendation tasks: sequential and straightforward recommendations. Recognizing the crucial role of item IDs in LLM-based recommendations, we have also incorporated three item indexing methods within the OpenP5 platform: random indexing, sequential indexing and collaborative indexing. Built on the Transformers library, the platform facilitates easy customization of LLM-based recommendations for users. OpenP5 boasts a range of features including extensible data processing, task-centric optimization, comprehensive datasets and checkpoints, efficient acceleration, and standardized evaluations, making it a valuable tool for the implementation and evaluation of LLM-based recommender systems. The open-source code and pre-trained checkpoints for the OpenP5 library are publicly available at https://github.com/agiresearch/OpenP5.

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="2306.11134")

Code

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

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

agiresearch/openp5 officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
Wenyueh/LLMforRS_item_representation mentioned on GitHubpytorchMIT report
jeykigung/P5 mentioned on GitHubpytorchMIT report
wenyueh/llm-recsys-id mentioned on GitHubpytorchMIT 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

25 samples harvested; 13 ran; 1 honoured the contract we drafted; 12 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 · honoured contract
1ran · violated contract
3ran · our draft was wrong
8ran
12unverified

Licence: 0 of the 25 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 3 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.

load_test agiresearch/openp5/src/src_llama/generate_dataset_eval.py official repository unverified Apache-2.0 (permissive) · 510f7ee6a722e39d · report
load_validation agiresearch/openp5/src/src_llama/generate_dataset_eval.py official repository unverified Apache-2.0 (permissive) · a4351b5d520c383e · report
ReadLineFromFile jeykigung/P5/src/pretrain_data.py community (archive-listed) ran · our draft was wrong MIT (permissive) · d258988e7d4b7f23 · report
all_gather jeykigung/P5/src/dist_utils.py community (archive-listed) ran MIT (permissive) · 41c46b0d5713eb14 · report
calculate_whole_word_ids Wenyueh/LLMforRS_item_representation/data.py community (archive-listed) ran MIT (permissive) · 2bb3789deb444247 · report
composite_function Wenyueh/LLMforRS_item_representation/CF_index.py community (archive-listed) ran MIT (permissive) · 89abb655800e1331 · report
count_parameters jeykigung/P5/src/utils.py community (archive-listed) ran · honoured contract MIT (permissive) · f6b944f50d3f15ae · report
gather jeykigung/P5/src/dist_utils.py community (archive-listed) ran MIT (permissive) · 00a9f7918ac39329 · report
load_json jeykigung/P5/src/pretrain_data.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 53d425eb1278ddda · report
load_pickle jeykigung/P5/src/pretrain_data.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 570ad34bd1af44a8 · report
no_tokenization Wenyueh/LLMforRS_item_representation/item_rep_method.py community (archive-listed) ran MIT (permissive) · c0601c71874951cc · report
one_further_indexing Wenyueh/LLMforRS_item_representation/CF_index.py community (archive-listed) ran MIT (permissive) · 780859af55584d41 · report
prefix_allowed_tokens_fn Wenyueh/LLMforRS_item_representation/generation_trie.py community (archive-listed) ran MIT (permissive) · 3e27e1971d49a1a8 · report
reduce_dict jeykigung/P5/src/dist_utils.py community (archive-listed) ran MIT (permissive) · 44f4152cc7eb1ddd · report
str2bool jeykigung/P5/src/param.py community (archive-listed) ran · violated contract MIT (permissive) · f017532fc389cbfe · report
calculate_whole_word_ids_remove_number_begin Wenyueh/LLMforRS_item_representation/data.py community (archive-listed) unverified MIT (permissive) · 00019b45c8c6379a · report
convert_slow_p5tokenizer jeykigung/P5/src/tokenization.py community (archive-listed) unverified MIT (permissive) · 603e342e7ad89ed3 · report
eigenDecomposition Wenyueh/LLMforRS_item_representation/CF_index.py community (archive-listed) unverified MIT (permissive) · 8d6ca2a87339d5e6 · report
get_optimizer jeykigung/P5/src/param.py community (archive-listed) unverified MIT (permissive) · 144fc1d6887079d4 · report
load_model Wenyueh/LLMforRS_item_representation/utils.py community (archive-listed) unverified MIT (permissive) · 3a4b743b301d6af9 · report
load_state_dict jeykigung/P5/src/utils.py community (archive-listed) unverified MIT (permissive) · 5a21ebce306df07c · report
parse_args jeykigung/P5/src/param.py community (archive-listed) unverified MIT (permissive) · 0137cd000d33c1ba · report
random_number Wenyueh/LLMforRS_item_representation/item_rep_method.py community (archive-listed) unverified MIT (permissive) · 62dc5cb8ada9534e · report
random_number_remove_zero Wenyueh/LLMforRS_item_representation/item_rep_method.py community (archive-listed) unverified MIT (permissive) · 43b972d78ab1a874 · report
remove_extra_id Wenyueh/LLMforRS_item_representation/utils.py community (archive-listed) unverified MIT (permissive) · cbfcd4228cf759bb · report

Tasks

BenchmarkingDecoderRecommendation SystemsSequential RecommendationTask 2

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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