├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── discussions.yml │ ├── feature_request.yml │ └── questions.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── python-app.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── assets ├── banner.png ├── camel_wechat.png ├── content_creation.png ├── demo_preview.png ├── interaction.png ├── intro-new-logo.png ├── intro.png ├── logo.jpg ├── long_demo_preview.png ├── oasis_introduction.mp4 ├── prediction.png ├── research_simulation.png ├── star.gif ├── starhistory.png ├── tutorial.png ├── wechat.JPG └── wechatgroup.png ├── data ├── emall │ └── product.json ├── reddit │ ├── counterfactual_36.json │ └── user_data_36.json └── twitter_dataset │ ├── all_topics.csv │ ├── anonymous_topic_200_1h │ └── False_Business_0.csv │ ├── group_polarization │ ├── 197_baoshou.csv │ └── 197_progressive.csv │ └── real_world_prop_data │ ├── real_data_depth │ ├── False_Business_0.pkl │ └── False_Business_0_time.pkl │ ├── real_data_max_breadth │ ├── False_Business_0.pkl │ └── False_Business_0_time.pkl │ └── real_data_scale │ ├── False_Business_0.pkl │ └── False_Business_0_time.pkl ├── deploy.py ├── docs ├── README.md ├── api-reference │ ├── endpoint │ │ ├── create.mdx │ │ ├── delete.mdx │ │ ├── get.mdx │ │ └── webhook.mdx │ ├── introduction.mdx │ └── openapi.json ├── cookbooks │ ├── custom_prompt_simulation.mdx │ ├── misinformation_spreading.mdx │ ├── reddit_simulation.mdx │ ├── search_tools_simulation.mdx │ ├── sympy_tools_simulation.mdx │ ├── twitter_interview.mdx │ └── twitter_simulation.mdx ├── development.mdx ├── docs.json ├── essentials │ ├── code.mdx │ ├── images.mdx │ ├── markdown.mdx │ ├── navigation.mdx │ ├── reusable-snippets.mdx │ └── settings.mdx ├── favicon.svg ├── images │ ├── checks-passed.png │ ├── hero-dark.png │ ├── hero-light.png │ ├── oasis_architecture.jpg │ ├── oasis_intro.png │ ├── oasis_main.png │ ├── reddit_counterfactual.png │ └── score_business_3600.png ├── introduction.mdx ├── key_modules │ ├── actions.mdx │ ├── agent_graph.mdx │ ├── environments.mdx │ ├── models.mdx │ ├── platform.mdx │ ├── recommendation_system.mdx │ ├── social_agent.mdx │ └── toolkits.mdx ├── logo │ ├── normal_logo.svg │ └── white_logo.svg ├── node_modules │ └── .bin │ │ ├── browsers │ │ ├── escodegen │ │ ├── esgenerate │ │ ├── esparse │ │ ├── esvalidate │ │ ├── extract-zip │ │ ├── js-yaml │ │ ├── puppeteer │ │ └── semver ├── overview.mdx ├── quickstart.mdx ├── simulation │ ├── simulation.mdx │ └── simulation_settings.mdx ├── snippets │ └── snippet-intro.mdx ├── user_generation │ └── generation.mdx └── visualization │ └── visualization.mdx ├── examples ├── __init__.py ├── custom_platform_simulation.py ├── custom_prompt_simulation.py ├── different_model_simulation.py ├── experiment │ ├── README.md │ ├── __init__.py │ ├── reddit_emall_demo │ │ ├── emall.yaml │ │ └── emall_simulation.py │ ├── reddit_gpt_example │ │ ├── gpt_example.yaml │ │ └── reddit_simulation_gpt.py │ ├── reddit_simulation_align_with_human │ │ ├── IT_3600.yaml │ │ ├── __init__.py │ │ ├── all_3600.yaml │ │ ├── business_3600.yaml │ │ ├── culture_society_3600.yaml │ │ ├── economic_3600.yaml │ │ ├── fun_3600.yaml │ │ ├── news_3600.yaml │ │ ├── politics_3600.yaml │ │ ├── politics_360_test.yaml │ │ └── reddit_simulation_align_with_human.py │ ├── reddit_simulation_counterfactual │ │ ├── control_100.yaml │ │ ├── control_1000.yaml │ │ ├── control_10000.yaml │ │ ├── down_100.yaml │ │ ├── down_1000.yaml │ │ ├── down_10000.yaml │ │ ├── reddit_simulation_counterfactual.py │ │ ├── up_100.yaml │ │ ├── up_1000.yaml │ │ └── up_10000.yaml │ ├── twitter_gpt_example │ │ ├── gpt_example.yaml │ │ └── twitter_simulation.py │ ├── twitter_gpt_example_openai_embedding │ │ ├── gpt_example.yaml │ │ └── twitter_simulation.py │ ├── twitter_simulation │ │ ├── align_with_real_world │ │ │ ├── run │ │ │ │ ├── sub_1.sh │ │ │ │ ├── sub_2.sh │ │ │ │ ├── sub_3.sh │ │ │ │ ├── sub_4.sh │ │ │ │ ├── sub_5.sh │ │ │ │ └── sub_6.sh │ │ │ ├── twitter_simulation_large.py │ │ │ └── yaml_200 │ │ │ │ ├── sub1 │ │ │ │ ├── False_Business_0.yaml │ │ │ │ ├── False_Business_1.yaml │ │ │ │ ├── False_Business_4.yaml │ │ │ │ ├── False_Entertainment_12.yaml │ │ │ │ ├── False_Entertainment_16.yaml │ │ │ │ ├── False_Entertainment_19.yaml │ │ │ │ ├── False_Entertainment_23.yaml │ │ │ │ ├── False_Entertainment_25.yaml │ │ │ │ ├── False_Entertainment_26.yaml │ │ │ │ ├── False_Entertainment_29.yaml │ │ │ │ ├── False_Entertainment_30.yaml │ │ │ │ ├── False_Entertainment_32.yaml │ │ │ │ ├── False_Entertainment_34.yaml │ │ │ │ ├── False_Entertainment_4.yaml │ │ │ │ ├── False_Entertainment_41.yaml │ │ │ │ ├── False_Entertainment_42.yaml │ │ │ │ ├── False_Entertainment_43.yaml │ │ │ │ ├── False_Entertainment_9.yaml │ │ │ │ ├── False_Health_3.yaml │ │ │ │ ├── False_Health_5.yaml │ │ │ │ ├── False_Health_9.yaml │ │ │ │ ├── False_Natural Disasters_10.yaml │ │ │ │ ├── False_Natural Disasters_3.yaml │ │ │ │ ├── False_Natural Disasters_7.yaml │ │ │ │ ├── False_Others_0.yaml │ │ │ │ ├── False_Others_3.yaml │ │ │ │ ├── False_Others_4.yaml │ │ │ │ ├── False_Others_5.yaml │ │ │ │ ├── False_Others_6.yaml │ │ │ │ └── False_Others_7.yaml │ │ │ │ ├── sub2 │ │ │ │ ├── False_Politics_28.yaml │ │ │ │ ├── False_Politics_31.yaml │ │ │ │ ├── False_Politics_32.yaml │ │ │ │ ├── False_Politics_33.yaml │ │ │ │ ├── False_Politics_37.yaml │ │ │ │ ├── False_Politics_40.yaml │ │ │ │ ├── False_Politics_43.yaml │ │ │ │ ├── False_Politics_44.yaml │ │ │ │ ├── False_Politics_47.yaml │ │ │ │ ├── False_Politics_48.yaml │ │ │ │ ├── False_Politics_55.yaml │ │ │ │ ├── False_Politics_56.yaml │ │ │ │ ├── False_Politics_59.yaml │ │ │ │ ├── False_Politics_60.yaml │ │ │ │ ├── False_Science & Technology_1.yaml │ │ │ │ ├── False_Science & Technology_11.yaml │ │ │ │ ├── False_Science & Technology_12.yaml │ │ │ │ ├── False_Science & Technology_13.yaml │ │ │ │ ├── False_Science & Technology_14.yaml │ │ │ │ ├── False_Science & Technology_16.yaml │ │ │ │ ├── False_Science & Technology_17.yaml │ │ │ │ ├── False_Science & Technology_18.yaml │ │ │ │ ├── False_Science & Technology_19.yaml │ │ │ │ ├── False_Science & Technology_20.yaml │ │ │ │ ├── False_Science & Technology_21.yaml │ │ │ │ ├── False_Science & Technology_4.yaml │ │ │ │ ├── False_Terrorism & War_0.yaml │ │ │ │ ├── False_Terrorism & War_12.yaml │ │ │ │ ├── False_Terrorism & War_14.yaml │ │ │ │ ├── False_Terrorism & War_18.yaml │ │ │ │ ├── False_Terrorism & War_19.yaml │ │ │ │ ├── False_Terrorism & War_20.yaml │ │ │ │ ├── False_Terrorism & War_22.yaml │ │ │ │ ├── False_Terrorism & War_26.yaml │ │ │ │ ├── False_Terrorism & War_29.yaml │ │ │ │ ├── False_Terrorism & War_30.yaml │ │ │ │ ├── False_Terrorism & War_4.yaml │ │ │ │ ├── False_Terrorism & War_5.yaml │ │ │ │ └── False_Terrorism & War_8.yaml │ │ │ │ ├── sub3 │ │ │ │ ├── True_Education_4.yaml │ │ │ │ ├── True_Education_5.yaml │ │ │ │ ├── True_Education_7.yaml │ │ │ │ ├── True_Entertainment_1.yaml │ │ │ │ ├── True_Entertainment_10.yaml │ │ │ │ ├── True_Entertainment_13.yaml │ │ │ │ ├── True_Entertainment_17.yaml │ │ │ │ ├── True_Entertainment_21.yaml │ │ │ │ ├── True_Entertainment_24.yaml │ │ │ │ ├── True_Entertainment_25.yaml │ │ │ │ ├── True_Entertainment_33.yaml │ │ │ │ ├── True_Entertainment_34.yaml │ │ │ │ ├── True_Entertainment_35.yaml │ │ │ │ ├── True_Entertainment_40.yaml │ │ │ │ ├── True_Entertainment_44.yaml │ │ │ │ ├── True_Entertainment_46.yaml │ │ │ │ ├── True_Entertainment_51.yaml │ │ │ │ ├── True_Entertainment_52.yaml │ │ │ │ ├── True_Entertainment_53.yaml │ │ │ │ ├── True_Entertainment_55.yaml │ │ │ │ ├── True_Entertainment_57.yaml │ │ │ │ ├── True_Entertainment_61.yaml │ │ │ │ ├── True_Entertainment_62.yaml │ │ │ │ ├── True_Entertainment_65.yaml │ │ │ │ ├── True_Entertainment_66.yaml │ │ │ │ ├── True_Entertainment_69.yaml │ │ │ │ ├── True_Entertainment_70.yaml │ │ │ │ ├── True_Entertainment_72.yaml │ │ │ │ └── True_Entertainment_8.yaml │ │ │ │ ├── sub4 │ │ │ │ ├── False_Terrorism & War_31.yaml │ │ │ │ ├── False_Terrorism & War_34.yaml │ │ │ │ ├── False_Terrorism & War_35.yaml │ │ │ │ ├── False_Terrorism & War_37.yaml │ │ │ │ ├── False_Terrorism & War_39.yaml │ │ │ │ ├── False_Terrorism & War_40.yaml │ │ │ │ ├── False_Terrorism & War_41.yaml │ │ │ │ ├── False_Terrorism & War_42.yaml │ │ │ │ ├── True_Politics_15.yaml │ │ │ │ ├── True_Politics_19.yaml │ │ │ │ ├── True_Politics_22.yaml │ │ │ │ ├── True_Politics_24.yaml │ │ │ │ ├── True_Politics_27.yaml │ │ │ │ ├── True_Politics_28.yaml │ │ │ │ ├── True_Politics_33.yaml │ │ │ │ ├── True_Politics_37.yaml │ │ │ │ ├── True_Politics_38.yaml │ │ │ │ ├── True_Politics_40.yaml │ │ │ │ ├── True_Politics_41.yaml │ │ │ │ ├── True_Politics_48.yaml │ │ │ │ ├── True_Politics_49.yaml │ │ │ │ ├── True_Politics_50.yaml │ │ │ │ ├── True_Politics_51.yaml │ │ │ │ ├── True_Politics_53.yaml │ │ │ │ ├── True_Science & Technology_11.yaml │ │ │ │ ├── True_Science & Technology_15.yaml │ │ │ │ ├── True_Science & Technology_3.yaml │ │ │ │ ├── True_Science & Technology_4.yaml │ │ │ │ ├── True_Science & Technology_5.yaml │ │ │ │ ├── True_Science & Technology_6.yaml │ │ │ │ ├── True_Science & Technology_7.yaml │ │ │ │ └── True_Science & Technology_8.yaml │ │ │ │ ├── sub5 │ │ │ │ ├── False_Politics_1.yaml │ │ │ │ ├── False_Politics_10.yaml │ │ │ │ ├── False_Politics_12.yaml │ │ │ │ ├── False_Politics_13.yaml │ │ │ │ ├── False_Politics_14.yaml │ │ │ │ ├── False_Politics_15.yaml │ │ │ │ ├── False_Politics_17.yaml │ │ │ │ ├── False_Politics_19.yaml │ │ │ │ ├── False_Politics_2.yaml │ │ │ │ ├── False_Politics_20.yaml │ │ │ │ ├── False_Politics_23.yaml │ │ │ │ ├── False_Politics_25.yaml │ │ │ │ ├── False_Politics_6.yaml │ │ │ │ ├── False_Urban Legends_22.yaml │ │ │ │ ├── False_Urban Legends_23.yaml │ │ │ │ ├── False_Urban Legends_24.yaml │ │ │ │ ├── False_Urban Legends_25.yaml │ │ │ │ ├── False_Urban Legends_27.yaml │ │ │ │ ├── False_Urban Legends_28.yaml │ │ │ │ ├── False_Urban Legends_30.yaml │ │ │ │ ├── False_Urban Legends_6.yaml │ │ │ │ ├── True_Business_0.yaml │ │ │ │ ├── True_Business_1.yaml │ │ │ │ ├── True_Business_10.yaml │ │ │ │ ├── True_Business_11.yaml │ │ │ │ ├── True_Business_12.yaml │ │ │ │ ├── True_Business_15.yaml │ │ │ │ ├── True_Business_7.yaml │ │ │ │ ├── True_Business_8.yaml │ │ │ │ ├── True_Education_1.yaml │ │ │ │ └── True_Education_3.yaml │ │ │ │ └── sub6 │ │ │ │ ├── True_Health_11.yaml │ │ │ │ ├── True_Health_12.yaml │ │ │ │ ├── True_Health_2.yaml │ │ │ │ ├── True_Health_3.yaml │ │ │ │ ├── True_Health_5.yaml │ │ │ │ ├── True_Health_9.yaml │ │ │ │ ├── True_Natural Disasters_0.yaml │ │ │ │ ├── True_Natural Disasters_2.yaml │ │ │ │ ├── True_Natural Disasters_3.yaml │ │ │ │ ├── True_Natural Disasters_4.yaml │ │ │ │ ├── True_Natural Disasters_5.yaml │ │ │ │ ├── True_Politics_5.yaml │ │ │ │ ├── True_Politics_6.yaml │ │ │ │ ├── True_Politics_7.yaml │ │ │ │ ├── True_Politics_8.yaml │ │ │ │ ├── True_Terrorism & War_1.yaml │ │ │ │ ├── True_Terrorism & War_11.yaml │ │ │ │ ├── True_Terrorism & War_14.yaml │ │ │ │ ├── True_Terrorism & War_15.yaml │ │ │ │ ├── True_Terrorism & War_2.yaml │ │ │ │ ├── True_Terrorism & War_24.yaml │ │ │ │ ├── True_Terrorism & War_25.yaml │ │ │ │ ├── True_Terrorism & War_26.yaml │ │ │ │ ├── True_Terrorism & War_28.yaml │ │ │ │ ├── True_Terrorism & War_3.yaml │ │ │ │ ├── True_Terrorism & War_30.yaml │ │ │ │ ├── True_Terrorism & War_49.yaml │ │ │ │ ├── True_Terrorism & War_54.yaml │ │ │ │ ├── True_Terrorism & War_57.yaml │ │ │ │ ├── True_Terrorism & War_59.yaml │ │ │ │ ├── True_Terrorism & War_6.yaml │ │ │ │ ├── True_Terrorism & War_63.yaml │ │ │ │ ├── True_Terrorism & War_65.yaml │ │ │ │ ├── True_Terrorism & War_9.yaml │ │ │ │ ├── True_Urban Legends_1.yaml │ │ │ │ ├── True_Urban Legends_3.yaml │ │ │ │ └── True_Urban Legends_5.yaml │ │ └── group_polarization │ │ │ ├── group_polarization.yaml │ │ │ ├── group_polarization_gpt.yaml │ │ │ └── twitter_simulation_group_polar.py │ ├── twitter_simulation_1M_agents │ │ ├── twitter_1m.yaml │ │ └── twitter_simulation_1m.py │ ├── user_generation_visualization.md │ └── utils.py ├── reddit_simulation_openai.py ├── search_tools_simulation.py ├── sympy_tools_simulation.py ├── twitter_interview.py ├── twitter_simulation_openai.py └── twitter_simulation_vllm.py ├── generator ├── reddit │ └── user_generate.py └── twitter │ ├── __init__.py │ ├── ba.py │ ├── gen.py │ ├── network.py │ ├── rag.py │ └── requirement.txt ├── licenses ├── license_template.txt └── update_license.py ├── log └── .gitkeep ├── oasis ├── __init__.py ├── clock │ ├── __init__.py │ └── clock.py ├── environment │ ├── __init__.py │ ├── env.py │ ├── env_action.py │ └── make.py ├── social_agent │ ├── __init__.py │ ├── agent.py │ ├── agent_action.py │ ├── agent_environment.py │ ├── agent_graph.py │ └── agents_generator.py ├── social_platform │ ├── __init__.py │ ├── channel.py │ ├── config │ │ ├── __init__.py │ │ ├── neo4j.py │ │ └── user.py │ ├── database.py │ ├── platform.py │ ├── platform_utils.py │ ├── process_recsys_posts.py │ ├── recsys.py │ ├── schema │ │ ├── comment.sql │ │ ├── comment_dislike.sql │ │ ├── comment_like.sql │ │ ├── dislike.sql │ │ ├── follow.sql │ │ ├── like.sql │ │ ├── mute.sql │ │ ├── post.sql │ │ ├── product.sql │ │ ├── rec.sql │ │ ├── trace.sql │ │ └── user.sql │ └── typing.py └── testing │ ├── __init__.py │ └── show_db.py ├── poetry.lock ├── pyproject.toml ├── test ├── agent │ ├── test_action_docstring.py │ ├── test_agent_custom_prompt.py │ ├── test_agent_generator.py │ ├── test_agent_graph.py │ ├── test_agent_tools.py │ ├── test_interview_action.py │ ├── test_multi_agent_signup_create.py │ └── test_twitter_user_agent_all_actions.py ├── conftest.py ├── infra │ ├── database │ │ ├── test_comment.py │ │ ├── test_comment_self_rating.py │ │ ├── test_create_fetch_database.py │ │ ├── test_do_nothing.py │ │ ├── test_multi_create_post.py │ │ ├── test_multi_user_signup.py │ │ ├── test_post.py │ │ ├── test_post_self_rating.py │ │ ├── test_product.py │ │ ├── test_quote_repost_refresh.py │ │ ├── test_refresh.py │ │ ├── test_refresh_score.py │ │ ├── test_search.py │ │ ├── test_trend.py │ │ ├── test_user.py │ │ ├── test_user_create_post.py │ │ └── test_user_signup.py │ └── recsys │ │ ├── test_recsys.py │ │ ├── test_update_rec_table.py │ │ └── test_update_rec_table_reddit.py └── test_data │ └── user_all_id_time.csv └── visualization ├── dynamic_follow_network └── code │ ├── vis_neo4j_reddit.py │ └── vis_neo4j_twitter.py ├── reddit_simulation_align_with_human ├── code │ ├── __init__.py │ ├── analysis_all.py │ └── analysis_score.py └── experiment_results │ ├── business_3600.json │ └── score_business_3600.png ├── reddit_simulation_counterfactual ├── code │ └── analysis_couterfact.py └── result │ └── example.png └── twitter_simulation ├── align_with_real_world └── code │ ├── graph.py │ ├── graph_utils.py │ ├── result_ana_mean.py │ └── result_ana_mse.py └── group_polarization └── group_polarization_eval.py /.github/ISSUE_TEMPLATE/discussions.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: 💬 Start a discussion 4 | url: discussion url 5 | about: Please ask and answer questions here if unsure. 6 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | 3 | Describe your changes in detail (optional if the linked issue already contains a detailed description of the changes). 4 | 5 | ## Checklist 6 | 7 | Go over all the following points, and put an `x` in all the boxes that apply. 8 | 9 | - [ ] I have read the [CONTRIBUTION](https://github.com/camel-ai/oasis/blob/master/CONTRIBUTING.md) guide (**required**) 10 | - [ ] I have linked this PR to an issue using the Development section on the right sidebar or by adding `Fixes #issue-number` in the PR description (**required**) 11 | - [ ] I have checked if any dependencies need to be added or updated in `pyproject.toml` 12 | - [ ] I have updated the tests accordingly (*required for a bug fix or a new feature*) 13 | - [ ] I have updated the documentation if needed: 14 | - [ ] I have added examples if this is a new feature 15 | 16 | If you are unsure about any of these, don't hesitate to ask. We are here to help! 17 | -------------------------------------------------------------------------------- /.github/workflows/python-app.yml: -------------------------------------------------------------------------------- 1 | name: Python application CI 2 | 3 | "on": 4 | push: 5 | branches: [main] 6 | pull_request: 7 | branches: [main] 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | 13 | steps: 14 | - name: Checkout repository 15 | uses: actions/checkout@v2 16 | 17 | - name: Set up Python 3.10.11 18 | uses: actions/setup-python@v2 19 | with: 20 | python-version: 3.10.11 21 | 22 | - name: Install dependencies 23 | run: | 24 | python -m pip install --upgrade pip 25 | pip install -e . 26 | 27 | - name: Install pre-commit 28 | run: | 29 | pip install pre-commit 30 | 31 | - name: Run pre-commit 32 | run: | 33 | pre-commit run --all-files 34 | 35 | - name: Run tests 36 | env: 37 | OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} 38 | run: | 39 | pytest 40 | -------------------------------------------------------------------------------- /assets/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/banner.png -------------------------------------------------------------------------------- /assets/camel_wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/camel_wechat.png -------------------------------------------------------------------------------- /assets/content_creation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/content_creation.png -------------------------------------------------------------------------------- /assets/demo_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/demo_preview.png -------------------------------------------------------------------------------- /assets/interaction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/interaction.png -------------------------------------------------------------------------------- /assets/intro-new-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/intro-new-logo.png -------------------------------------------------------------------------------- /assets/intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/intro.png -------------------------------------------------------------------------------- /assets/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/logo.jpg -------------------------------------------------------------------------------- /assets/long_demo_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/long_demo_preview.png -------------------------------------------------------------------------------- /assets/oasis_introduction.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/oasis_introduction.mp4 -------------------------------------------------------------------------------- /assets/prediction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/prediction.png -------------------------------------------------------------------------------- /assets/research_simulation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/research_simulation.png -------------------------------------------------------------------------------- /assets/star.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/star.gif -------------------------------------------------------------------------------- /assets/starhistory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/starhistory.png -------------------------------------------------------------------------------- /assets/tutorial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/tutorial.png -------------------------------------------------------------------------------- /assets/wechat.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/wechat.JPG -------------------------------------------------------------------------------- /assets/wechatgroup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/assets/wechatgroup.png -------------------------------------------------------------------------------- /data/twitter_dataset/real_world_prop_data/real_data_depth/False_Business_0.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/data/twitter_dataset/real_world_prop_data/real_data_depth/False_Business_0.pkl -------------------------------------------------------------------------------- /data/twitter_dataset/real_world_prop_data/real_data_depth/False_Business_0_time.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/data/twitter_dataset/real_world_prop_data/real_data_depth/False_Business_0_time.pkl -------------------------------------------------------------------------------- /data/twitter_dataset/real_world_prop_data/real_data_max_breadth/False_Business_0.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/data/twitter_dataset/real_world_prop_data/real_data_max_breadth/False_Business_0.pkl -------------------------------------------------------------------------------- /data/twitter_dataset/real_world_prop_data/real_data_max_breadth/False_Business_0_time.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/data/twitter_dataset/real_world_prop_data/real_data_max_breadth/False_Business_0_time.pkl -------------------------------------------------------------------------------- /data/twitter_dataset/real_world_prop_data/real_data_scale/False_Business_0.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/data/twitter_dataset/real_world_prop_data/real_data_scale/False_Business_0.pkl -------------------------------------------------------------------------------- /data/twitter_dataset/real_world_prop_data/real_data_scale/False_Business_0_time.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/data/twitter_dataset/real_world_prop_data/real_data_scale/False_Business_0_time.pkl -------------------------------------------------------------------------------- /docs/api-reference/endpoint/create.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: 'Create Plant' 3 | openapi: 'POST /plants' 4 | --- 5 | -------------------------------------------------------------------------------- /docs/api-reference/endpoint/delete.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: 'Delete Plant' 3 | openapi: 'DELETE /plants/{id}' 4 | --- 5 | -------------------------------------------------------------------------------- /docs/api-reference/endpoint/get.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: 'Get Plants' 3 | openapi: 'GET /plants' 4 | --- 5 | -------------------------------------------------------------------------------- /docs/api-reference/endpoint/webhook.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: 'New Plant' 3 | openapi: 'WEBHOOK /plant/webhook' 4 | --- 5 | -------------------------------------------------------------------------------- /docs/images/checks-passed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/docs/images/checks-passed.png -------------------------------------------------------------------------------- /docs/images/hero-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/docs/images/hero-dark.png -------------------------------------------------------------------------------- /docs/images/hero-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/docs/images/hero-light.png -------------------------------------------------------------------------------- /docs/images/oasis_architecture.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/docs/images/oasis_architecture.jpg -------------------------------------------------------------------------------- /docs/images/oasis_intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/docs/images/oasis_intro.png -------------------------------------------------------------------------------- /docs/images/oasis_main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/docs/images/oasis_main.png -------------------------------------------------------------------------------- /docs/images/reddit_counterfactual.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/docs/images/reddit_counterfactual.png -------------------------------------------------------------------------------- /docs/images/score_business_3600.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/docs/images/score_business_3600.png -------------------------------------------------------------------------------- /docs/node_modules/.bin/browsers: -------------------------------------------------------------------------------- 1 | ../@puppeteer/browsers/lib/cjs/main-cli.js 2 | -------------------------------------------------------------------------------- /docs/node_modules/.bin/escodegen: -------------------------------------------------------------------------------- 1 | ../escodegen/bin/escodegen.js 2 | -------------------------------------------------------------------------------- /docs/node_modules/.bin/esgenerate: -------------------------------------------------------------------------------- 1 | ../escodegen/bin/esgenerate.js 2 | -------------------------------------------------------------------------------- /docs/node_modules/.bin/esparse: -------------------------------------------------------------------------------- 1 | ../esprima/bin/esparse.js 2 | -------------------------------------------------------------------------------- /docs/node_modules/.bin/esvalidate: -------------------------------------------------------------------------------- 1 | ../esprima/bin/esvalidate.js 2 | -------------------------------------------------------------------------------- /docs/node_modules/.bin/extract-zip: -------------------------------------------------------------------------------- 1 | ../extract-zip/cli.js 2 | -------------------------------------------------------------------------------- /docs/node_modules/.bin/js-yaml: -------------------------------------------------------------------------------- 1 | ../js-yaml/bin/js-yaml.js 2 | -------------------------------------------------------------------------------- /docs/node_modules/.bin/puppeteer: -------------------------------------------------------------------------------- 1 | ../puppeteer/lib/cjs/puppeteer/node/cli.js 2 | -------------------------------------------------------------------------------- /docs/node_modules/.bin/semver: -------------------------------------------------------------------------------- 1 | ../semver/bin/semver.js 2 | -------------------------------------------------------------------------------- /docs/snippets/snippet-intro.mdx: -------------------------------------------------------------------------------- 1 | One of the core principles of software development is DRY (Don't Repeat 2 | Yourself). This is a principle that apply to documentation as 3 | well. If you find yourself repeating the same content in multiple places, you 4 | should consider creating a custom snippet to keep your content in sync. 5 | -------------------------------------------------------------------------------- /examples/__init__.py: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | -------------------------------------------------------------------------------- /examples/experiment/__init__.py: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | -------------------------------------------------------------------------------- /examples/experiment/reddit_simulation_align_with_human/__init__.py: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | -------------------------------------------------------------------------------- /examples/experiment/twitter_gpt_example/gpt_example.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_gpt/False_Business_0.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Business_0.csv 5 | simulation: 6 | num_timesteps: 3 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | available_actions: 10 | - do_nothing 11 | - repost 12 | - quote_post 13 | - like_post 14 | - follow 15 | inference: 16 | model_type: gpt-4o-mini # Name of the OpenAI model 17 | is_openai_model: true # Whether it is an OpenAI model 18 | -------------------------------------------------------------------------------- /examples/experiment/twitter_gpt_example_openai_embedding/gpt_example.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_gpt/False_Business_0.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Business_0.csv 5 | simulation: 6 | num_timesteps: 3 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | available_actions: 10 | - do_nothing 11 | - repost 12 | - quote_post 13 | - like_post 14 | - follow 15 | use_openai_embedding: true 16 | inference: 17 | model_type: gpt-4o-mini # Name of the OpenAI model 18 | is_openai_model: true # Whether it is an OpenAI model 19 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/run/sub_1.sh: -------------------------------------------------------------------------------- 1 | folder_path="scripts/twitter_simulation/align_with_real_world/yaml_200/sub1" 2 | # Read all filenames in the folder 3 | for file in "$folder_path"/*; do 4 | # Extract the filename (excluding the extension) 5 | filename=$(basename "$file") 6 | topicname="${filename%.*}" 7 | 8 | # Generate paths for csv and db files 9 | # config_path = "${folder_path}/${topicname}.yaml" 10 | 11 | # Run the python script 12 | # python main.py --config "${folder_path}/${topicname}.yaml" 13 | python scripts/twitter_simulation/twitter_simulation_large.py --config_path "${folder_path}/${topicname}.yaml" 14 | # python visualization/result_ana.py --topic_name "$topicname" 15 | done 16 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/run/sub_2.sh: -------------------------------------------------------------------------------- 1 | folder_path="scripts/twitter_simulation/align_with_real_world/yaml_200/sub2" 2 | # Read all filenames in the folder 3 | for file in "$folder_path"/*; do 4 | # Extract the filename (excluding the extension) 5 | filename=$(basename "$file") 6 | topicname="${filename%.*}" 7 | 8 | # Generate paths for csv and db files 9 | # config_path = "${folder_path}/${topicname}.yaml" 10 | 11 | # Run the python script 12 | # python main.py --config "${folder_path}/${topicname}.yaml" 13 | python scripts/twitter_simulation/twitter_simulation_large.py --config_path "${folder_path}/${topicname}.yaml" 14 | # python visualization/result_ana.py --topic_name "$topicname" 15 | done 16 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/run/sub_3.sh: -------------------------------------------------------------------------------- 1 | folder_path="scripts/twitter_simulation/align_with_real_world/yaml_200/sub3" 2 | # Read all filenames in the folder 3 | for file in "$folder_path"/*; do 4 | # Extract the filename (excluding the extension) 5 | filename=$(basename "$file") 6 | topicname="${filename%.*}" 7 | 8 | # Generate paths for csv and db files 9 | # config_path = "${folder_path}/${topicname}.yaml" 10 | 11 | # Run the python script 12 | # python main.py --config "${folder_path}/${topicname}.yaml" 13 | python scripts/twitter_simulation/twitter_simulation_large.py --config_path "${folder_path}/${topicname}.yaml" 14 | # python visualization/result_ana.py --topic_name "$topicname" 15 | done 16 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/run/sub_4.sh: -------------------------------------------------------------------------------- 1 | folder_path="scripts/twitter_simulation/align_with_real_world/yaml_200/sub4" 2 | # Read all filenames in the folder 3 | for file in "$folder_path"/*; do 4 | # Extract the filename (excluding the extension) 5 | filename=$(basename "$file") 6 | topicname="${filename%.*}" 7 | 8 | # Generate paths for csv and db files 9 | # config_path = "${folder_path}/${topicname}.yaml" 10 | 11 | # Run the python script 12 | # python main.py --config "${folder_path}/${topicname}.yaml" 13 | python scripts/twitter_simulation/twitter_simulation_large.py --config_path "${folder_path}/${topicname}.yaml" 14 | # python visualization/result_ana.py --topic_name "$topicname" 15 | done 16 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/run/sub_5.sh: -------------------------------------------------------------------------------- 1 | folder_path="scripts/twitter_simulation/align_with_real_world/yaml_200/sub5" 2 | # Read all filenames in the folder 3 | for file in "$folder_path"/*; do 4 | # Extract the filename (excluding the extension) 5 | filename=$(basename "$file") 6 | topicname="${filename%.*}" 7 | 8 | # Generate paths for csv and db files 9 | # config_path = "${folder_path}/${topicname}.yaml" 10 | 11 | # Run the python script 12 | # python main.py --config "${folder_path}/${topicname}.yaml" 13 | python scripts/twitter_simulation/twitter_simulation_large.py --config_path "${folder_path}/${topicname}.yaml" 14 | # python visualization/result_ana.py --topic_name "$topicname" 15 | done 16 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/run/sub_6.sh: -------------------------------------------------------------------------------- 1 | folder_path="scripts/twitter_simulation/align_with_real_world/yaml_200/sub6" 2 | # 读取文件夹中的所有文件名 3 | for file in "$folder_path"/*; do 4 | # 提取文件名(不包括后缀) 5 | filename=$(basename "$file") 6 | topicname="${filename%.*}" 7 | 8 | # 生成csv和db文件路径 9 | # config_path = "${folder_path}/${topicname}.yaml" 10 | 11 | # 运行python脚本 12 | # python main.py --config "${folder_path}/${topicname}.yaml" 13 | python scripts/twitter_simulation/twitter_simulation_large.py --config_path "${folder_path}/${topicname}.yaml" 14 | # python visualization/result_ana.py --topic_name "$topicname" 15 | done 16 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Business_0.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Business_0.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Business_0.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | available_actions: 10 | - do_nothing 11 | - repost 12 | - like_post 13 | - follow 14 | inference: 15 | model_type: qwen-2 16 | server_url: 17 | - host: 10.109.8.49 18 | ports: [8080] 19 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Business_1.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Business_1.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Business_1.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 189 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 189 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Business_4.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Business_4.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Business_4.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 322 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 322 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_12.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_12.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_12.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 308 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 308 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_16.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_16.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_16.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 292 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 292 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_19.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_19.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_19.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 354 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 354 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_23.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_23.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_23.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 240 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 240 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_25.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_25.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_25.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 294 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 294 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_26.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_26.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_26.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 109 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 109 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_29.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_29.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_29.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 346 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 346 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_30.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_30.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_30.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 284 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 284 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_32.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_32.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_32.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 218 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 218 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_34.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_34.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_34.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 266 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 266 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_4.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_4.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_4.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 255 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 255 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_41.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_41.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_41.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 346 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 346 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_42.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_42.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_42.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 226 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 226 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_43.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_43.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_43.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 263 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 263 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Entertainment_9.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Entertainment_9.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Entertainment_9.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 339 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 339 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Health_3.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Health_3.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Health_3.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 344 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 344 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Health_5.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Health_5.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Health_5.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 84 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 84 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Health_9.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Health_9.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Health_9.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 463 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 463 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Natural Disasters_10.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Natural Disasters_10.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Natural Disasters_10.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 357 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 357 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Natural Disasters_3.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Natural Disasters_3.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Natural Disasters_3.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 337 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 337 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Natural Disasters_7.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Natural Disasters_7.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Natural Disasters_7.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 178 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 178 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Others_0.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Others_0.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Others_0.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 484 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 484 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Others_3.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Others_3.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Others_3.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 424 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 424 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Others_4.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Others_4.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Others_4.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 257 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 257 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Others_5.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Others_5.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Others_5.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 262 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 262 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Others_6.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Others_6.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Others_6.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 313 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 313 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub1/False_Others_7.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Others_7.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Others_7.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 356 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 356 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_28.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_28.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_28.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 198 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 198 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_31.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_31.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_31.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 323 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 323 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_32.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_32.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_32.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 168 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 168 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_33.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_33.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_33.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 330 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 330 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_37.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_37.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_37.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 179 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 179 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_40.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_40.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_40.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 153 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 153 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_43.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_43.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_43.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 274 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 274 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_44.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_44.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_44.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 324 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 324 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_47.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_47.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_47.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 179 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 179 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_48.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_48.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_48.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 393 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 393 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_55.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_55.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_55.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 239 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 239 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_56.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_56.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_56.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 198 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 198 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_59.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_59.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_59.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 184 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 184 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Politics_60.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_60.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_60.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 173 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 173 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Science & Technology_1.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Science & Technology_1.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Science & Technology_1.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 186 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 186 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Science & Technology_11.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Science & Technology_11.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Science & Technology_11.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 233 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 233 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Science & Technology_12.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Science & Technology_12.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Science & Technology_12.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 292 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 292 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Science & Technology_13.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Science & Technology_13.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Science & Technology_13.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 265 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 265 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Science & Technology_14.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Science & Technology_14.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Science & Technology_14.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 187 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 187 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Science & Technology_16.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Science & Technology_16.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Science & Technology_16.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 169 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 169 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Science & Technology_17.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Science & Technology_17.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Science & Technology_17.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 219 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 219 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Science & Technology_18.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Science & Technology_18.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Science & Technology_18.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 275 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 275 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Science & Technology_19.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Science & Technology_19.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Science & Technology_19.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 259 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 259 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Science & Technology_20.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Science & Technology_20.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Science & Technology_20.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 240 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 240 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Science & Technology_21.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Science & Technology_21.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Science & Technology_21.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 301 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 301 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Science & Technology_4.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Science & Technology_4.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Science & Technology_4.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 333 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 333 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_0.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_0.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_0.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 360 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 360 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_12.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_12.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_12.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 169 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 169 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_14.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_14.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_14.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 353 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 353 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_18.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_18.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_18.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 211 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 211 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_19.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_19.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_19.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 185 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 185 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_20.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_20.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_20.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 396 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 396 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_22.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_22.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_22.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 292 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 292 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_26.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_26.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_26.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 342 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 342 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_29.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_29.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_29.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 248 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 248 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_30.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_30.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_30.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 192 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 192 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_4.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_4.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_4.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 319 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 319 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_5.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_5.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_5.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 277 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 277 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub2/False_Terrorism & War_8.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_8.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_8.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 452 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 452 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Education_4.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Education_4.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Education_4.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 209 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 209 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Education_5.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Education_5.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Education_5.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 224 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 224 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Education_7.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Education_7.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Education_7.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 177 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 177 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_1.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_1.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_1.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 469 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 469 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_10.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_10.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_10.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 187 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 187 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_13.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_13.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_13.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 172 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 172 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_17.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_17.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_17.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 316 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 316 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_21.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_21.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_21.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 143 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 143 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_24.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_24.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_24.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 432 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 432 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_25.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_25.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_25.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 215 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 215 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_33.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_33.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_33.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 483 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 483 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_34.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_34.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_34.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 308 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 308 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_35.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_35.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_35.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 310 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 310 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_40.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_40.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_40.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 458 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 458 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_44.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_44.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_44.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 201 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 201 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_46.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_46.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_46.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 394 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 394 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_51.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_51.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_51.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 221 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 221 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_52.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_52.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_52.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 216 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 216 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_53.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_53.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_53.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 179 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 179 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_55.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_55.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_55.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 312 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 312 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_57.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_57.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_57.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 206 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 206 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_61.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_61.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_61.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 409 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 409 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_62.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_62.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_62.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 253 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 253 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_65.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_65.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_65.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 235 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 235 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_66.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_66.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_66.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 180 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 180 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_69.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_69.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_69.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 421 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 421 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_70.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_70.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_70.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 436 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 436 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_72.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_72.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_72.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 220 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 220 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub3/True_Entertainment_8.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Entertainment_8.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Entertainment_8.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 183 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 183 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/False_Terrorism & War_31.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_31.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_31.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 612 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 612 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/False_Terrorism & War_34.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_34.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_34.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 204 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 204 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/False_Terrorism & War_35.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_35.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_35.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 281 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 281 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/False_Terrorism & War_37.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_37.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_37.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 216 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 216 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/False_Terrorism & War_39.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_39.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_39.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 235 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 235 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/False_Terrorism & War_40.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_40.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_40.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 354 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 354 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/False_Terrorism & War_41.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_41.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_41.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 168 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 168 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/False_Terrorism & War_42.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Terrorism & War_42.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Terrorism & War_42.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 169 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 169 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_15.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_15.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_15.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 240 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 240 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_19.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_19.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_19.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 280 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 280 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_22.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_22.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_22.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 182 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 182 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_24.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_24.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_24.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 235 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 235 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_27.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_27.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_27.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 298 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 298 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_28.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_28.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_28.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 363 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 363 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_33.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_33.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_33.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 299 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 299 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_37.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_37.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_37.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 339 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 339 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_38.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_38.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_38.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 213 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 213 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_40.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_40.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_40.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 203 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 203 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_41.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_41.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_41.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 178 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 178 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_48.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_48.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_48.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 291 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 291 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_49.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_49.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_49.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 301 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 301 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_50.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_50.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_50.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 197 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 197 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_51.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_51.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_51.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 229 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 229 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Politics_53.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_53.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_53.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 154 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 154 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Science & Technology_11.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Science & Technology_11.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Science & Technology_11.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 175 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 175 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Science & Technology_15.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Science & Technology_15.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Science & Technology_15.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 267 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 267 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Science & Technology_3.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Science & Technology_3.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Science & Technology_3.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 266 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 266 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Science & Technology_4.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Science & Technology_4.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Science & Technology_4.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 98 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 98 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Science & Technology_5.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Science & Technology_5.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Science & Technology_5.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 271 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 271 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Science & Technology_6.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Science & Technology_6.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Science & Technology_6.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 231 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 231 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Science & Technology_7.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Science & Technology_7.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Science & Technology_7.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 244 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 244 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub4/True_Science & Technology_8.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Science & Technology_8.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Science & Technology_8.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 421 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 421 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_1.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_1.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_1.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 114 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 114 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_10.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_10.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_10.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 277 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 277 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_12.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_12.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_12.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 257 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 257 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_13.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_13.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_13.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 196 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 196 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_14.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_14.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_14.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 309 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 309 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_15.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_15.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_15.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 154 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 154 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_17.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_17.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_17.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 358 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 358 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_19.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_19.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_19.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 404 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 404 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_2.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_2.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_2.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 319 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 319 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_20.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_20.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_20.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 261 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 261 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_23.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_23.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_23.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 220 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 220 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_25.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_25.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_25.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 307 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 307 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Politics_6.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Politics_6.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Politics_6.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 215 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 215 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Urban Legends_22.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Urban Legends_22.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Urban Legends_22.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 238 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 238 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Urban Legends_23.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Urban Legends_23.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Urban Legends_23.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 295 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 295 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Urban Legends_24.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Urban Legends_24.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Urban Legends_24.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 211 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 211 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Urban Legends_25.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Urban Legends_25.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Urban Legends_25.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 177 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 177 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Urban Legends_27.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Urban Legends_27.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Urban Legends_27.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 174 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 174 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Urban Legends_28.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Urban Legends_28.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Urban Legends_28.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 181 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 181 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Urban Legends_30.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Urban Legends_30.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Urban Legends_30.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 294 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 294 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/False_Urban Legends_6.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/False_Urban Legends_6.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/False_Urban Legends_6.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 248 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 248 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/True_Business_0.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Business_0.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Business_0.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 153 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 153 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/True_Business_1.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Business_1.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Business_1.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 291 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 291 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/True_Business_10.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Business_10.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Business_10.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 156 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 156 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/True_Business_11.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Business_11.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Business_11.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 173 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 173 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/True_Business_12.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Business_12.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Business_12.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 418 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 418 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/True_Business_15.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Business_15.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Business_15.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 206 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 206 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/True_Business_7.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Business_7.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Business_7.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 378 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 378 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/True_Business_8.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Business_8.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Business_8.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 228 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 228 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/True_Education_1.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Education_1.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Education_1.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 326 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 326 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub5/True_Education_3.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Education_3.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Education_3.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 685 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 685 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Health_11.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Health_11.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Health_11.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 292 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 292 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Health_12.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Health_12.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Health_12.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 349 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 349 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Health_2.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Health_2.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Health_2.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 285 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 285 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Health_3.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Health_3.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Health_3.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 283 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 283 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Health_5.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Health_5.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Health_5.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 205 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 205 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Health_9.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Health_9.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Health_9.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 234 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 234 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Natural Disasters_0.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Natural Disasters_0.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Natural Disasters_0.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 295 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 295 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Natural Disasters_2.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Natural Disasters_2.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Natural Disasters_2.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 328 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 328 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Natural Disasters_3.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Natural Disasters_3.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Natural Disasters_3.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 450 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 450 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Natural Disasters_4.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Natural Disasters_4.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Natural Disasters_4.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 319 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 319 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Natural Disasters_5.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Natural Disasters_5.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Natural Disasters_5.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 305 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 305 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Politics_5.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_5.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_5.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 110 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 110 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Politics_6.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_6.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_6.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 177 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 177 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Politics_7.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_7.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_7.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 139 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 139 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Politics_8.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Politics_8.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Politics_8.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 202 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 202 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_1.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_1.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_1.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 269 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 269 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_11.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_11.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_11.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 342 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 342 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_14.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_14.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_14.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 233 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 233 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_15.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_15.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_15.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 307 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 307 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_2.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_2.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_2.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 197 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 197 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_24.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_24.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_24.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 279 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 279 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_25.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_25.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_25.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 308 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 308 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_26.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_26.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_26.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 227 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 227 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_28.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_28.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_28.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 162 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 162 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_3.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_3.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_3.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 280 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 280 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_30.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_30.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_30.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 201 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 201 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_49.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_49.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_49.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 182 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 182 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_54.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_54.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_54.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 201 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 201 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_57.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_57.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_57.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 164 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 164 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_59.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_59.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_59.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 258 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 258 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_6.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_6.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_6.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 416 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 416 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_63.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_63.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_63.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 347 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 347 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_65.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_65.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_65.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 186 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 186 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Terrorism & War_9.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Terrorism & War_9.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Terrorism & War_9.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 292 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 292 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Urban Legends_1.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Urban Legends_1.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Urban Legends_1.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 357 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 357 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Urban Legends_3.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Urban Legends_3.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Urban Legends_3.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 292 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 292 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/align_with_real_world/yaml_200/sub6/True_Urban Legends_5.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/simu_db/yaml_200/True_Urban Legends_5.db 4 | csv_path: data/twitter_dataset/anonymous_topic_200_1h/True_Urban Legends_5.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | model: 10 | num_agents: 269 11 | model_random_seed: 42 12 | cfgs: 13 | - model_type: llama-3 14 | num: 269 15 | server_url: http://10.140.1.67:8096/v1 16 | model_path: llama-3 17 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 18 | temperature: 0.0 19 | inference: 20 | model_type: llama-3 21 | model_path: llama-3 22 | stop_tokens: [<|eot_id|>, <|end_of_text|>] 23 | server_url: 24 | - host: 10.140.1.67 25 | ports: [8096] 26 | -------------------------------------------------------------------------------- /examples/experiment/twitter_simulation/group_polarization/group_polarization_gpt.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | data: 3 | db_path: data/db/group_polarization.db 4 | csv_path: data/twitter_dataset/group_polarization/197_baoshou.csv 5 | simulation: 6 | num_timesteps: 30 7 | clock_factor: 60 8 | recsys_type: twhin-bert 9 | available_actions: 10 | - do_nothing 11 | - repost 12 | - like_post 13 | - dislike_post 14 | - follow 15 | - create_comment 16 | - like_comment 17 | - dislike_comment 18 | inference: 19 | model_type: gpt-4o-mini # Name of the OpenAI model 20 | is_openai_model: true # Whether it is an OpenAI model 21 | -------------------------------------------------------------------------------- /generator/twitter/__init__.py: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | -------------------------------------------------------------------------------- /generator/twitter/requirement.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/generator/twitter/requirement.txt -------------------------------------------------------------------------------- /licenses/license_template.txt: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | -------------------------------------------------------------------------------- /log/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/log/.gitkeep -------------------------------------------------------------------------------- /oasis/clock/__init__.py: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | from .clock import Clock 15 | 16 | __all__ = ["Clock"] 17 | -------------------------------------------------------------------------------- /oasis/environment/__init__.py: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | -------------------------------------------------------------------------------- /oasis/environment/make.py: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | from oasis.environment.env import OasisEnv 15 | 16 | 17 | def make(*args, **kwargs): 18 | obj = OasisEnv(*args, **kwargs) 19 | return obj 20 | -------------------------------------------------------------------------------- /oasis/social_platform/__init__.py: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | from .channel import Channel 15 | from .platform import Platform 16 | 17 | __all__ = [ 18 | "Channel", 19 | "Platform", 20 | ] 21 | -------------------------------------------------------------------------------- /oasis/social_platform/config/__init__.py: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | from .neo4j import Neo4jConfig 15 | from .user import UserInfo 16 | 17 | __all__ = [ 18 | "UserInfo", 19 | "Neo4jConfig", 20 | ] 21 | -------------------------------------------------------------------------------- /oasis/social_platform/schema/comment.sql: -------------------------------------------------------------------------------- 1 | -- This is the schema definition for the comment table 2 | CREATE TABLE comment ( 3 | comment_id INTEGER PRIMARY KEY AUTOINCREMENT, 4 | post_id INTEGER, 5 | user_id INTEGER, 6 | content TEXT, 7 | created_at DATETIME DEFAULT CURRENT_TIMESTAMP, 8 | num_likes INTEGER DEFAULT 0, 9 | num_dislikes INTEGER DEFAULT 0, 10 | FOREIGN KEY(post_id) REFERENCES post(post_id), 11 | FOREIGN KEY(user_id) REFERENCES user(user_id) 12 | ); 13 | -------------------------------------------------------------------------------- /oasis/social_platform/schema/comment_dislike.sql: -------------------------------------------------------------------------------- 1 | -- This is the schema definition for the comment_dislike table 2 | CREATE TABLE comment_dislike ( 3 | comment_dislike_id INTEGER PRIMARY KEY AUTOINCREMENT, 4 | user_id INTEGER, 5 | comment_id INTEGER, 6 | created_at DATETIME, 7 | FOREIGN KEY(user_id) REFERENCES user(user_id), 8 | FOREIGN KEY(comment_id) REFERENCES comment(comment_id) 9 | ); 10 | -------------------------------------------------------------------------------- /oasis/social_platform/schema/comment_like.sql: -------------------------------------------------------------------------------- 1 | -- This is the schema definition for the comment_like table 2 | CREATE TABLE comment_like ( 3 | comment_like_id INTEGER PRIMARY KEY AUTOINCREMENT, 4 | user_id INTEGER, 5 | comment_id INTEGER, 6 | created_at DATETIME, 7 | FOREIGN KEY(user_id) REFERENCES user(user_id), 8 | FOREIGN KEY(comment_id) REFERENCES comment(comment_id) 9 | ); 10 | -------------------------------------------------------------------------------- /oasis/social_platform/schema/dislike.sql: -------------------------------------------------------------------------------- 1 | -- This is the schema definition for the dislike table 2 | CREATE TABLE dislike ( 3 | dislike_id INTEGER PRIMARY KEY AUTOINCREMENT, 4 | user_id INTEGER, 5 | post_id INTEGER, 6 | created_at DATETIME, 7 | FOREIGN KEY(user_id) REFERENCES user(user_id), 8 | FOREIGN KEY(post_id) REFERENCES tweet(post_id) 9 | ); 10 | -------------------------------------------------------------------------------- /oasis/social_platform/schema/follow.sql: -------------------------------------------------------------------------------- 1 | -- This is the schema definition for the follow table 2 | CREATE TABLE follow ( 3 | follow_id INTEGER PRIMARY KEY AUTOINCREMENT, 4 | follower_id INTEGER, 5 | followee_id INTEGER, 6 | created_at DATETIME, 7 | FOREIGN KEY(follower_id) REFERENCES user(user_id), 8 | FOREIGN KEY(followee_id) REFERENCES user(user_id) 9 | ); 10 | -------------------------------------------------------------------------------- /oasis/social_platform/schema/like.sql: -------------------------------------------------------------------------------- 1 | -- This is the schema definition for the like table 2 | CREATE TABLE like ( 3 | like_id INTEGER PRIMARY KEY AUTOINCREMENT, 4 | user_id INTEGER, 5 | post_id INTEGER, 6 | created_at DATETIME, 7 | FOREIGN KEY(user_id) REFERENCES user(user_id), 8 | FOREIGN KEY(post_id) REFERENCES tweet(post_id) 9 | ); 10 | -------------------------------------------------------------------------------- /oasis/social_platform/schema/mute.sql: -------------------------------------------------------------------------------- 1 | -- This is the schema definition for the mute table 2 | CREATE TABLE mute ( 3 | mute_id INTEGER PRIMARY KEY AUTOINCREMENT, 4 | muter_id INTEGER, 5 | mutee_id INTEGER, 6 | created_at DATETIME, 7 | FOREIGN KEY(muter_id) REFERENCES user(user_id), 8 | FOREIGN KEY(mutee_id) REFERENCES user(user_id) 9 | ); 10 | -------------------------------------------------------------------------------- /oasis/social_platform/schema/post.sql: -------------------------------------------------------------------------------- 1 | -- This is the schema definition for the post table 2 | -- Add Images, location etc.? 3 | CREATE TABLE post ( 4 | post_id INTEGER PRIMARY KEY AUTOINCREMENT, 5 | user_id INTEGER, 6 | original_post_id INTEGER, -- NULL if this is an original post 7 | content TEXT DEFAULT '', -- DEFAULT '' for initial posts 8 | quote_content TEXT, -- NULL if this is an original post or a repost 9 | created_at DATETIME, 10 | num_likes INTEGER DEFAULT 0, 11 | num_dislikes INTEGER DEFAULT 0, 12 | num_shares INTEGER DEFAULT 0, -- num_shares = num_reposts + num_quotes 13 | FOREIGN KEY(user_id) REFERENCES user(user_id), 14 | FOREIGN KEY(original_post_id) REFERENCES post(post_id) 15 | ); 16 | -------------------------------------------------------------------------------- /oasis/social_platform/schema/product.sql: -------------------------------------------------------------------------------- 1 | -- This is the schema definition for the product table 2 | CREATE TABLE product ( 3 | product_id INTEGER PRIMARY KEY, 4 | product_name TEXT, 5 | sales INTEGER DEFAULT 0 6 | ); 7 | -------------------------------------------------------------------------------- /oasis/social_platform/schema/rec.sql: -------------------------------------------------------------------------------- 1 | -- This is the schema definition for the rec table 2 | CREATE TABLE rec ( 3 | user_id INTEGER, 4 | post_id INTEGER, 5 | PRIMARY KEY(user_id, post_id), 6 | FOREIGN KEY(user_id) REFERENCES user(user_id) 7 | FOREIGN KEY(post_id) REFERENCES tweet(post_id) 8 | ); 9 | -------------------------------------------------------------------------------- /oasis/social_platform/schema/trace.sql: -------------------------------------------------------------------------------- 1 | -- This is the schema definition for the trace table 2 | CREATE TABLE trace ( 3 | user_id INTEGER, 4 | created_at DATETIME, 5 | action TEXT, 6 | info TEXT, 7 | PRIMARY KEY(user_id, created_at, action, info), 8 | FOREIGN KEY(user_id) REFERENCES user(user_id) 9 | ); 10 | -------------------------------------------------------------------------------- /oasis/social_platform/schema/user.sql: -------------------------------------------------------------------------------- 1 | -- This is the schema definition for the user table 2 | CREATE TABLE user ( 3 | user_id INTEGER PRIMARY KEY AUTOINCREMENT, 4 | agent_id INTEGER, 5 | user_name TEXT, 6 | name TEXT, 7 | bio TEXT, 8 | created_at DATETIME, 9 | num_followings INTEGER DEFAULT 0, 10 | num_followers INTEGER DEFAULT 0 11 | ); 12 | -------------------------------------------------------------------------------- /oasis/testing/__init__.py: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | -------------------------------------------------------------------------------- /test/conftest.py: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | import os 15 | import sys 16 | 17 | # Add the project root directory to sys.path 18 | root_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "../")) 19 | sys.path.insert(0, root_path) 20 | -------------------------------------------------------------------------------- /visualization/reddit_simulation_align_with_human/code/__init__.py: -------------------------------------------------------------------------------- 1 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 2 | # Licensed under the Apache License, Version 2.0 (the “License”); 3 | # you may not use this file except in compliance with the License. 4 | # You may obtain a copy of the License at 5 | # 6 | # http://www.apache.org/licenses/LICENSE-2.0 7 | # 8 | # Unless required by applicable law or agreed to in writing, software 9 | # distributed under the License is distributed on an “AS IS” BASIS, 10 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | # See the License for the specific language governing permissions and 12 | # limitations under the License. 13 | # =========== Copyright 2023 @ CAMEL-AI.org. All Rights Reserved. =========== 14 | -------------------------------------------------------------------------------- /visualization/reddit_simulation_align_with_human/experiment_results/score_business_3600.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/visualization/reddit_simulation_align_with_human/experiment_results/score_business_3600.png -------------------------------------------------------------------------------- /visualization/reddit_simulation_counterfactual/result/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/camel-ai/oasis/f945ae16b74e350c2d172658310f0ec30dd12199/visualization/reddit_simulation_counterfactual/result/example.png --------------------------------------------------------------------------------