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 View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 25 code samples harvested from 3 repositories linked to this paper: 23 ran (of which 0 constructed an object rather than computing a result; 16 with no instrument failure: 1 honoured, 1 violated, 14 with no contract checked; 7 where Syntology's instrument failed) · 2 unverified. Where Syntology's instrument failed: 7 where our contract draft was wrong; failures of Syntology's instrument, not of the code.

By repository: official repository: 2 samples from 1 repository, 2 ran (2 with no instrument failure; 0 where Syntology's instrument failed); community (archive-listed): 23 samples from 2 repositories, 21 ran (14 with no instrument failure; 7 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 2 of the 23 samples that ran have no recorded date.

agiresearch/openp5 officialmentioned in papermentioned on GitHubpytorchApache-2.0Syntology: 2 samples, 2 ran (0 instrument-failed) · 0 unverified report
Wenyueh/LLMforRS_item_representation mentioned on GitHubpytorchMITSyntology: 11 samples, 10 ran (1 instrument-failed) · 1 unverified report
jeykigung/P5 mentioned on GitHubpytorchMITSyntology: 12 samples, 11 ran (6 instrument-failed) · 1 unverified report
wenyueh/llm-recsys-id mentioned on GitHubpytorchMITSyntology: not harvested 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: 23 ran (of which 0 constructed an object rather than computing a result; 16 with no instrument failure: 1 honoured, 1 violated, 14 with no contract checked; 7 where Syntology's instrument failed) · 2 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

1ran · honoured contract
1ran · violated contract
7ran · our draft was wrong
14ran
2unverified

Licence: 9 of the 25 samples are pointer only, meaning Syntology does not serve that copy's text. For 9 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. 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; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

agiresearch/openp5 official repository 2 samples, 2 ran (0 instrument-failed) · 0 unverified
load_test src/src_llama/generate_dataset_eval.py ran Apache-2.0 (permissive) · 510f7ee6a722e39d · report fixture: signature args:Args/0/?, reindex_user_seq_dict:dict/0/?, info:dict/0/? · returned list · level recorded 2026-09-26
load_validation src/src_llama/generate_dataset_eval.py ran Apache-2.0 (permissive) · a4351b5d520c383e · report fixture: signature args:Args/0/?, reindex_user_seq_dict:dict/0/?, info:dict/0/? · returned list · level recorded 2026-09-26
Wenyueh/LLMforRS_item_representation community (archive-listed) 11 samples, 10 ran (1 instrument-failed) · 1 unverified
calculate_whole_word_ids data.py ran MIT (permissive) here; the stored copy is pointer only · 2bb3789deb444247 · report fixture: signature tokenized_text:list/1/str, input_ids:Tensor/1/int · returned list · level recorded 2026-09-24
calculate_whole_word_ids_remove_number_begin data.py ran MIT (permissive) · 00019b45c8c6379a · report fixture: signature tokenized_text:list/1/str, input_ids:list/1/int · returned list · level recorded 2026-09-26
composite_function CF_index.py ran MIT (permissive) here; the stored copy is pointer only · 89abb655800e1331 · report fixture: signature f:callable/0/?, g:callable/0/? · returned function · level recorded 2026-09-24
load_model in 479 papers utils.py ran MIT (permissive) · 3a4b743b301d6af9 · report fixture: signature model:callable/0/?, pretrained_dir:str/0/str, rank:int/0/int · returned MinimalModel · level recorded 2026-09-26
no_tokenization item_rep_method.py ran MIT (permissive) here; the stored copy is pointer only · c0601c71874951cc · report fixture: signature args:Args/0/? · returned function · level recorded 2026-09-24
one_further_indexing CF_index.py ran MIT (permissive) here; the stored copy is pointer only · 780859af55584d41 · report fixture: signature which_group:int/0/int, group_labels:list/1/int, sorted_pair_freqs:list/1/tuple, number_of_clusters:int/0/int, item_CF_index_map:dict/0/?, reverse_fcts:list/1/empty, mode:str/0/str · returned tuple · level recorded 2026-09-24
prefix_allowed_tokens_fn in 6 papers generation_trie.py ran · our draft was wrong MIT (permissive) here; the stored copy is pointer only · 3e27e1971d49a1a8 · report fixture: signature candidate_trie:CandidateTrie/0/? · returned function · level recorded 2026-09-24
random_number item_rep_method.py ran MIT (permissive) · 62dc5cb8ada9534e · report fixture: signature max_number:int/0/int, min_number:int/0/int · returned function · level recorded 2026-09-26
random_number_remove_zero item_rep_method.py ran MIT (permissive) · 43b972d78ab1a874 · report fixture: signature max_number:int/0/int, min_number:int/0/int · returned function · level recorded 2026-09-26
remove_extra_id utils.py ran fingerprinted MIT (permissive) · cbfcd4228cf759bb · report fixture: signature x:str/0/str · returned str · level recorded 2026-09-26
eigenDecomposition CF_index.py unverified MIT (permissive) here; the stored copy is pointer only · 8d6ca2a87339d5e6 · report
jeykigung/P5 community (archive-listed) 12 samples, 11 ran (6 instrument-failed) · 1 unverified
ReadLineFromFile src/pretrain_data.py ran · our draft was wrong MIT (permissive) · d258988e7d4b7f23 · report fixture: signature path:str/0/str · returned list · level recorded 2026-09-22
all_gather in 119 papers src/dist_utils.py ran · our draft was wrong MIT (permissive) here; the stored copy is pointer only · 41c46b0d5713eb14 · report fixture: signature data:dict/0/?, group:NoneType/0/? · returned list · level recorded 2026-09-24
count_parameters in 278 papers src/utils.py ran · honoured contract MIT (permissive) · f6b944f50d3f15ae · report fixture: signature model:callable/0/? · returned int · level recorded, date not recorded
gather in 75 papers src/dist_utils.py ran · our draft was wrong MIT (permissive) here; the stored copy is pointer only · 00a9f7918ac39329 · report fixture: signature data:dict/0/?, dst:int/0/int, group:NoneType/0/? · returned list · level recorded 2026-09-24
get_optimizer in 228 papers src/param.py ran MIT (permissive) · 144fc1d6887079d4 · report fixture: signature optim:str/0/str, verbose:bool/0/bool · returned type · level recorded 2026-09-25
load_json in 344 papers src/pretrain_data.py ran · our draft was wrong MIT (permissive) · 53d425eb1278ddda · report fixture: signature file_path:str/0/str · returned dict · level recorded 2026-09-22
load_pickle in 115 papers src/pretrain_data.py ran · our draft was wrong MIT (permissive) · 570ad34bd1af44a8 · report fixture: signature filename:str/0/str · returned dict · level recorded 2026-09-22
load_state_dict in 114 papers src/utils.py ran MIT (permissive) · 5a21ebce306df07c · report fixture: signature state_dict_path:str/0/str, loc:str/0/str · returned dict · level recorded 2026-09-26
parse_args in 355 papers src/param.py ran MIT (permissive) · 0137cd000d33c1ba · report fixture: signature parse:bool/0/bool, optional_kwargs:dict/0/? · returned Config · level recorded 2026-09-26
reduce_dict in 73 papers src/dist_utils.py ran · our draft was wrong MIT (permissive) here; the stored copy is pointer only · 44f4152cc7eb1ddd · report fixture: signature input_dict:dict/0/?, average:bool/0/bool · returned dict · level recorded 2026-09-24
str2bool in 533 papers src/param.py ran · violated contract MIT (permissive) · f017532fc389cbfe · report fixture: signature v:str/0/str · returned bool · level recorded, date not recorded
convert_slow_p5tokenizer src/tokenization.py unverified MIT (permissive) · 603e342e7ad89ed3 · 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