├── .gitignore ├── README.md ├── community_lm_msgs └── readme.md ├── evaluate_distributions.py ├── evaluate_overton_valuekaleidoscope.py ├── evaluate_steerable_valuekaleidoscope.py ├── generate_community_lm_msg.py ├── input ├── distributional_test_globalopinionqa.json ├── distributional_test_globalopinionqa_small.json ├── distributional_test_moralchoice.json ├── distributional_test_moralchoice_small.json ├── overton_test_valuekaleidoscope.json ├── overton_test_valuekaleidoscope_small.json ├── steerable_test_opinionqa.json ├── steerable_test_opinionqa_small.json ├── steerable_test_valuekaleidoscope.json └── steerable_test_valuekaleidoscope_small.json ├── lm_utils.py ├── moe_lm.py ├── ours_distributional.py ├── ours_overton.py ├── ours_steerable.py ├── output ├── distributional_test_globalopinionqa_example.json ├── distributional_test_moralchoice_example.json ├── overton_test_valuekaleidoscope_example.json ├── steerable_test_opinionqa_example.json └── steerable_test_valuekaleidoscope_example.json ├── plural.yaml ├── prompting_lm.py └── vanilla_lm.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/README.md -------------------------------------------------------------------------------- /community_lm_msgs/readme.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /evaluate_distributions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/evaluate_distributions.py -------------------------------------------------------------------------------- /evaluate_overton_valuekaleidoscope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/evaluate_overton_valuekaleidoscope.py -------------------------------------------------------------------------------- /evaluate_steerable_valuekaleidoscope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/evaluate_steerable_valuekaleidoscope.py -------------------------------------------------------------------------------- /generate_community_lm_msg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/generate_community_lm_msg.py -------------------------------------------------------------------------------- /input/distributional_test_globalopinionqa.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/input/distributional_test_globalopinionqa.json -------------------------------------------------------------------------------- /input/distributional_test_globalopinionqa_small.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/input/distributional_test_globalopinionqa_small.json -------------------------------------------------------------------------------- /input/distributional_test_moralchoice.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/input/distributional_test_moralchoice.json -------------------------------------------------------------------------------- /input/distributional_test_moralchoice_small.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/input/distributional_test_moralchoice_small.json -------------------------------------------------------------------------------- /input/overton_test_valuekaleidoscope.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/input/overton_test_valuekaleidoscope.json -------------------------------------------------------------------------------- /input/overton_test_valuekaleidoscope_small.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/input/overton_test_valuekaleidoscope_small.json -------------------------------------------------------------------------------- /input/steerable_test_opinionqa.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/input/steerable_test_opinionqa.json -------------------------------------------------------------------------------- /input/steerable_test_opinionqa_small.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/input/steerable_test_opinionqa_small.json -------------------------------------------------------------------------------- /input/steerable_test_valuekaleidoscope.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/input/steerable_test_valuekaleidoscope.json -------------------------------------------------------------------------------- /input/steerable_test_valuekaleidoscope_small.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/input/steerable_test_valuekaleidoscope_small.json -------------------------------------------------------------------------------- /lm_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/lm_utils.py -------------------------------------------------------------------------------- /moe_lm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/moe_lm.py -------------------------------------------------------------------------------- /ours_distributional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/ours_distributional.py -------------------------------------------------------------------------------- /ours_overton.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/ours_overton.py -------------------------------------------------------------------------------- /ours_steerable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/ours_steerable.py -------------------------------------------------------------------------------- /output/distributional_test_globalopinionqa_example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/output/distributional_test_globalopinionqa_example.json -------------------------------------------------------------------------------- /output/distributional_test_moralchoice_example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/output/distributional_test_moralchoice_example.json -------------------------------------------------------------------------------- /output/overton_test_valuekaleidoscope_example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/output/overton_test_valuekaleidoscope_example.json -------------------------------------------------------------------------------- /output/steerable_test_opinionqa_example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/output/steerable_test_opinionqa_example.json -------------------------------------------------------------------------------- /output/steerable_test_valuekaleidoscope_example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/output/steerable_test_valuekaleidoscope_example.json -------------------------------------------------------------------------------- /plural.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/plural.yaml -------------------------------------------------------------------------------- /prompting_lm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/prompting_lm.py -------------------------------------------------------------------------------- /vanilla_lm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BunsenFeng/modular_pluralism/HEAD/vanilla_lm.py --------------------------------------------------------------------------------