Skip to content

fix: extract the gt sid/pid with the order preserved#46

Open
HaFred wants to merge 2 commits intoKuaishou-OneRec:mainfrom
HaFred:main
Open

fix: extract the gt sid/pid with the order preserved#46
HaFred wants to merge 2 commits intoKuaishou-OneRec:mainfrom
HaFred:main

Conversation

@HaFred
Copy link

@HaFred HaFred commented Feb 26, 2026

Currently the sid/pid extraction from metadata['answer_pid'] do not correctly register in get_debug_info() with the beam search ranked output shuffled due the set nature.

To prevent the ranked output being shuffled in the output debug json file, could just make output as a list while deduplicating with set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant