RUC-GSAI/YuLan-Rec

How to run the demo in the video?

LIUQI-creat opened this issue · 3 comments

Hi,
Thanks for your outstanding work! I am reproducing the demo and the command I am executing is python -u run_demo.py --config_file config/config.yaml --output_file messages.json --log_file simulation.log.
However, the demo shows very little functionality, the figure is
973d9f016a973f2fecb1f71f139fba4

But the interface in the demo video looks like this:
119fb011c23998f6c9c1674d92f8a3c

How to run the functionality of the demo in the video, such as system-level and agent-level interventions, the ability to change agent configurations, the ability to display social relationships, the ability to play roles?

Hope you reply!

@LIUQI-creat Hi, thank you for your interest in our work! The new version of the front-end code will be made public after the paper is accepted. For now, you can achieve intervention and role-playing functionalities through the command line. To enable intervention at the beginning of each round, uncomment line 1210 in simulator.py. To enable role-playing, add the command line parameter --play_role=True and replace asyncio.run in agents/roleagent.py with input.

@LIUQI-creat Hi, thank you for your interest in our work! The new version of the front-end code will be made public after the paper is accepted. For now, you can achieve intervention and role-playing functionalities through the command line. To enable intervention at the beginning of each round, uncomment line 1210 in simulator.py. To enable role-playing, add the command line parameter --play_role=True and replace asyncio.run in agents/roleagent.py with input.

Thank you for your patient reply! I sincerely wish your paper will be successfully accepted!

Thx for your kind words!