├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── paper_teaser.pdf ├── paper_teaser.png ├── prompts ├── generate_code_example.txt ├── human_simulator_code_prompt.txt ├── human_simulator_html_prompt.txt ├── llm_agent_code_prompt.txt └── llm_agent_html_prompt.txt ├── requirements.txt ├── scripts ├── evaluate_code.py ├── evaluate_html.py ├── filter_websites.py ├── generate_random_pairs_from_ranks.py ├── rank_best_of_n.py ├── sample_best_of_n.py └── simulate_interactions.py ├── setup.py ├── sweet_rl ├── environments │ ├── __init__.py │ ├── human_design_interaction_env.py │ └── human_interaction_env.py ├── models │ └── vllm_agent.py └── utils │ ├── __init__.py │ ├── code_utils.py │ └── webpage_utils.py └── visualizers ├── visualize_design_dialogue_histories.py └── visualize_dialogue_histories.py /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/README.md -------------------------------------------------------------------------------- /paper_teaser.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/paper_teaser.pdf -------------------------------------------------------------------------------- /paper_teaser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/paper_teaser.png -------------------------------------------------------------------------------- /prompts/generate_code_example.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/prompts/generate_code_example.txt -------------------------------------------------------------------------------- /prompts/human_simulator_code_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/prompts/human_simulator_code_prompt.txt -------------------------------------------------------------------------------- /prompts/human_simulator_html_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/prompts/human_simulator_html_prompt.txt -------------------------------------------------------------------------------- /prompts/llm_agent_code_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/prompts/llm_agent_code_prompt.txt -------------------------------------------------------------------------------- /prompts/llm_agent_html_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/prompts/llm_agent_html_prompt.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | fire 2 | selenium 3 | openai 4 | gradio -------------------------------------------------------------------------------- /scripts/evaluate_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/scripts/evaluate_code.py -------------------------------------------------------------------------------- /scripts/evaluate_html.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/scripts/evaluate_html.py -------------------------------------------------------------------------------- /scripts/filter_websites.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/scripts/filter_websites.py -------------------------------------------------------------------------------- /scripts/generate_random_pairs_from_ranks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/scripts/generate_random_pairs_from_ranks.py -------------------------------------------------------------------------------- /scripts/rank_best_of_n.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/scripts/rank_best_of_n.py -------------------------------------------------------------------------------- /scripts/sample_best_of_n.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/scripts/sample_best_of_n.py -------------------------------------------------------------------------------- /scripts/simulate_interactions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/scripts/simulate_interactions.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/setup.py -------------------------------------------------------------------------------- /sweet_rl/environments/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/sweet_rl/environments/__init__.py -------------------------------------------------------------------------------- /sweet_rl/environments/human_design_interaction_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/sweet_rl/environments/human_design_interaction_env.py -------------------------------------------------------------------------------- /sweet_rl/environments/human_interaction_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/sweet_rl/environments/human_interaction_env.py -------------------------------------------------------------------------------- /sweet_rl/models/vllm_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/sweet_rl/models/vllm_agent.py -------------------------------------------------------------------------------- /sweet_rl/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/sweet_rl/utils/__init__.py -------------------------------------------------------------------------------- /sweet_rl/utils/code_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/sweet_rl/utils/code_utils.py -------------------------------------------------------------------------------- /sweet_rl/utils/webpage_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/sweet_rl/utils/webpage_utils.py -------------------------------------------------------------------------------- /visualizers/visualize_design_dialogue_histories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/visualizers/visualize_design_dialogue_histories.py -------------------------------------------------------------------------------- /visualizers/visualize_dialogue_histories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/sweet_rl/HEAD/visualizers/visualize_dialogue_histories.py --------------------------------------------------------------------------------