├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── procgen ├── .gitignore ├── LICENSE ├── README.md ├── configs │ ├── offline │ │ ├── default.json │ │ ├── final │ │ │ ├── bc.json │ │ │ ├── bcq.json │ │ │ ├── bct.json │ │ │ ├── cql.json │ │ │ ├── dt.json │ │ │ └── iql.json │ │ ├── grids │ │ │ ├── bc.json │ │ │ ├── bcq.json │ │ │ ├── bct.json │ │ │ ├── cql.json │ │ │ ├── dt.json │ │ │ └── iql.json │ │ └── single │ │ │ ├── bc.json │ │ │ ├── bcq.json │ │ │ ├── bct.json │ │ │ ├── cql.json │ │ │ ├── dt.json │ │ │ └── iql.json │ └── online │ │ ├── default.json │ │ └── grids │ │ └── ppo.json ├── docs │ └── images │ │ └── procgen_example.png ├── download.py ├── offline │ ├── agents │ │ ├── __init__.py │ │ ├── bc.py │ │ ├── bcq.py │ │ ├── ddqn_cql.py │ │ ├── dt.py │ │ └── iql.py │ ├── arguments.py │ ├── dataloader.py │ ├── evaluate_offline_agent.py │ ├── single_level_train_offline_agent.py │ ├── test_offline_agent.py │ └── train_offline_agent.py ├── online │ ├── README.md │ ├── __init__.py │ ├── behavior_policies │ │ ├── __init__.py │ │ ├── algos │ │ │ ├── __init__.py │ │ │ └── ppo.py │ │ ├── arguments.py │ │ ├── distributions.py │ │ ├── envs.py │ │ ├── model.py │ │ └── replay_buffer.py │ ├── data_collector.py │ ├── datasets │ │ ├── __init__.py │ │ ├── arguments.py │ │ └── storage.py │ ├── evaluation.py │ ├── get_ppo.py │ └── trainer.py ├── requirements.txt ├── train_scripts │ ├── __init__.py │ ├── arguments.py │ ├── cmd_generator.py │ ├── make_cmd.py │ └── slurm.py └── utils │ ├── __init__.py │ ├── archs.py │ ├── early_stopper.py │ ├── filewriter.py │ ├── gpt_arch.py │ ├── plot.py │ └── utils.py └── webShop ├── README.md ├── assets ├── diagram.gif ├── model_ckpts.png └── transfer-logic.png ├── baseline_models ├── .gitignore ├── README.md ├── agent.py ├── arguments.py ├── checkpoint-800 │ ├── config.json │ └── trainer_state.json ├── env.py ├── generate_search.py ├── human_trajectories_collector.py ├── il_data_collector.py ├── logger.py ├── models │ ├── bcq.py │ ├── bert.py │ ├── cql.py │ ├── modules.py │ └── rnn.py ├── requirements.txt ├── slurm.py ├── test.py ├── train_choice_bcq.py ├── train_choice_cql.py ├── train_choice_il.py └── train_scripts │ ├── dgrl_cmds.sh │ ├── grid_configs │ ├── bcq.json │ ├── cql.json │ └── il.json │ └── make_cmd.py ├── conftest.py ├── gitignore ├── requirements.txt ├── run_dev.sh ├── run_envs ├── run_web_agent_site_env.py └── run_web_agent_text_env.py ├── run_prod.sh ├── run_web_agent_site_env.sh ├── run_web_agent_text_env.sh ├── search_engine ├── convert_product_file_format.py ├── lucene_searcher.py └── run_indexing.sh ├── setup.sh ├── tests ├── transfer │ ├── mocks │ │ ├── mock_parse_item_page_amz │ │ ├── mock_parse_item_page_ebay │ │ ├── mock_parse_item_page_ws │ │ ├── mock_parse_item_page_ws_desc │ │ ├── mock_parse_item_page_ws_feat │ │ ├── mock_parse_results_amz │ │ ├── mock_parse_results_ebay │ │ └── mock_parse_results_ws │ └── test_predict_help.py └── web-agent-site │ ├── engine │ ├── test_goal.py │ └── test_normalize.py │ └── test_utils.py ├── transfer ├── README.md ├── __init__.py ├── app.py ├── predict_help.py └── webshop_lite.py ├── web_agent_site ├── __init__.py ├── app.py ├── attributes │ ├── annotate.py │ └── generate_attrs.py ├── engine │ ├── __init__.py │ ├── engine.py │ ├── goal.py │ └── normalize.py ├── envs │ ├── __init__.py │ ├── chromedriver │ ├── web_agent_site_env.py │ └── web_agent_text_env.py ├── models │ ├── __init__.py │ └── models.py ├── static │ ├── images │ │ └── no-image-available.png │ └── style.css ├── templates │ ├── attributes_page.html │ ├── description_page.html │ ├── done_page.html │ ├── features_page.html │ ├── item_page.html │ ├── results_page.html │ ├── review_page.html │ └── search_page.html └── utils.py └── webshop_LICENSE.md /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/README.md -------------------------------------------------------------------------------- /procgen/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/.gitignore -------------------------------------------------------------------------------- /procgen/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/LICENSE -------------------------------------------------------------------------------- /procgen/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/README.md -------------------------------------------------------------------------------- /procgen/configs/offline/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/default.json -------------------------------------------------------------------------------- /procgen/configs/offline/final/bc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/final/bc.json -------------------------------------------------------------------------------- /procgen/configs/offline/final/bcq.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/final/bcq.json -------------------------------------------------------------------------------- /procgen/configs/offline/final/bct.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/final/bct.json -------------------------------------------------------------------------------- /procgen/configs/offline/final/cql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/final/cql.json -------------------------------------------------------------------------------- /procgen/configs/offline/final/dt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/final/dt.json -------------------------------------------------------------------------------- /procgen/configs/offline/final/iql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/final/iql.json -------------------------------------------------------------------------------- /procgen/configs/offline/grids/bc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/grids/bc.json -------------------------------------------------------------------------------- /procgen/configs/offline/grids/bcq.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/grids/bcq.json -------------------------------------------------------------------------------- /procgen/configs/offline/grids/bct.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/grids/bct.json -------------------------------------------------------------------------------- /procgen/configs/offline/grids/cql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/grids/cql.json -------------------------------------------------------------------------------- /procgen/configs/offline/grids/dt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/grids/dt.json -------------------------------------------------------------------------------- /procgen/configs/offline/grids/iql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/grids/iql.json -------------------------------------------------------------------------------- /procgen/configs/offline/single/bc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/single/bc.json -------------------------------------------------------------------------------- /procgen/configs/offline/single/bcq.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/single/bcq.json -------------------------------------------------------------------------------- /procgen/configs/offline/single/bct.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/single/bct.json -------------------------------------------------------------------------------- /procgen/configs/offline/single/cql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/single/cql.json -------------------------------------------------------------------------------- /procgen/configs/offline/single/dt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/single/dt.json -------------------------------------------------------------------------------- /procgen/configs/offline/single/iql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/offline/single/iql.json -------------------------------------------------------------------------------- /procgen/configs/online/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/online/default.json -------------------------------------------------------------------------------- /procgen/configs/online/grids/ppo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/configs/online/grids/ppo.json -------------------------------------------------------------------------------- /procgen/docs/images/procgen_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/docs/images/procgen_example.png -------------------------------------------------------------------------------- /procgen/download.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/download.py -------------------------------------------------------------------------------- /procgen/offline/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/offline/agents/__init__.py -------------------------------------------------------------------------------- /procgen/offline/agents/bc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/offline/agents/bc.py -------------------------------------------------------------------------------- /procgen/offline/agents/bcq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/offline/agents/bcq.py -------------------------------------------------------------------------------- /procgen/offline/agents/ddqn_cql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/offline/agents/ddqn_cql.py -------------------------------------------------------------------------------- /procgen/offline/agents/dt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/offline/agents/dt.py -------------------------------------------------------------------------------- /procgen/offline/agents/iql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/offline/agents/iql.py -------------------------------------------------------------------------------- /procgen/offline/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/offline/arguments.py -------------------------------------------------------------------------------- /procgen/offline/dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/offline/dataloader.py -------------------------------------------------------------------------------- /procgen/offline/evaluate_offline_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/offline/evaluate_offline_agent.py -------------------------------------------------------------------------------- /procgen/offline/single_level_train_offline_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/offline/single_level_train_offline_agent.py -------------------------------------------------------------------------------- /procgen/offline/test_offline_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/offline/test_offline_agent.py -------------------------------------------------------------------------------- /procgen/offline/train_offline_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/offline/train_offline_agent.py -------------------------------------------------------------------------------- /procgen/online/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/README.md -------------------------------------------------------------------------------- /procgen/online/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /procgen/online/behavior_policies/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/behavior_policies/__init__.py -------------------------------------------------------------------------------- /procgen/online/behavior_policies/algos/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/behavior_policies/algos/__init__.py -------------------------------------------------------------------------------- /procgen/online/behavior_policies/algos/ppo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/behavior_policies/algos/ppo.py -------------------------------------------------------------------------------- /procgen/online/behavior_policies/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/behavior_policies/arguments.py -------------------------------------------------------------------------------- /procgen/online/behavior_policies/distributions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/behavior_policies/distributions.py -------------------------------------------------------------------------------- /procgen/online/behavior_policies/envs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/behavior_policies/envs.py -------------------------------------------------------------------------------- /procgen/online/behavior_policies/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/behavior_policies/model.py -------------------------------------------------------------------------------- /procgen/online/behavior_policies/replay_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/behavior_policies/replay_buffer.py -------------------------------------------------------------------------------- /procgen/online/data_collector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/data_collector.py -------------------------------------------------------------------------------- /procgen/online/datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/datasets/__init__.py -------------------------------------------------------------------------------- /procgen/online/datasets/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/datasets/arguments.py -------------------------------------------------------------------------------- /procgen/online/datasets/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/datasets/storage.py -------------------------------------------------------------------------------- /procgen/online/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/evaluation.py -------------------------------------------------------------------------------- /procgen/online/get_ppo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/get_ppo.py -------------------------------------------------------------------------------- /procgen/online/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/online/trainer.py -------------------------------------------------------------------------------- /procgen/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow 2 | wandb 3 | submitit 4 | procgen 5 | -------------------------------------------------------------------------------- /procgen/train_scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /procgen/train_scripts/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/train_scripts/arguments.py -------------------------------------------------------------------------------- /procgen/train_scripts/cmd_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/train_scripts/cmd_generator.py -------------------------------------------------------------------------------- /procgen/train_scripts/make_cmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/train_scripts/make_cmd.py -------------------------------------------------------------------------------- /procgen/train_scripts/slurm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/train_scripts/slurm.py -------------------------------------------------------------------------------- /procgen/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/utils/__init__.py -------------------------------------------------------------------------------- /procgen/utils/archs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/utils/archs.py -------------------------------------------------------------------------------- /procgen/utils/early_stopper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/utils/early_stopper.py -------------------------------------------------------------------------------- /procgen/utils/filewriter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/utils/filewriter.py -------------------------------------------------------------------------------- /procgen/utils/gpt_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/utils/gpt_arch.py -------------------------------------------------------------------------------- /procgen/utils/plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/utils/plot.py -------------------------------------------------------------------------------- /procgen/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/procgen/utils/utils.py -------------------------------------------------------------------------------- /webShop/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/README.md -------------------------------------------------------------------------------- /webShop/assets/diagram.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/assets/diagram.gif -------------------------------------------------------------------------------- /webShop/assets/model_ckpts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/assets/model_ckpts.png -------------------------------------------------------------------------------- /webShop/assets/transfer-logic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/assets/transfer-logic.png -------------------------------------------------------------------------------- /webShop/baseline_models/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/.gitignore -------------------------------------------------------------------------------- /webShop/baseline_models/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/README.md -------------------------------------------------------------------------------- /webShop/baseline_models/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/agent.py -------------------------------------------------------------------------------- /webShop/baseline_models/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/arguments.py -------------------------------------------------------------------------------- /webShop/baseline_models/checkpoint-800/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/checkpoint-800/config.json -------------------------------------------------------------------------------- /webShop/baseline_models/checkpoint-800/trainer_state.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/checkpoint-800/trainer_state.json -------------------------------------------------------------------------------- /webShop/baseline_models/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/env.py -------------------------------------------------------------------------------- /webShop/baseline_models/generate_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/generate_search.py -------------------------------------------------------------------------------- /webShop/baseline_models/human_trajectories_collector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/human_trajectories_collector.py -------------------------------------------------------------------------------- /webShop/baseline_models/il_data_collector.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/il_data_collector.py -------------------------------------------------------------------------------- /webShop/baseline_models/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/logger.py -------------------------------------------------------------------------------- /webShop/baseline_models/models/bcq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/models/bcq.py -------------------------------------------------------------------------------- /webShop/baseline_models/models/bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/models/bert.py -------------------------------------------------------------------------------- /webShop/baseline_models/models/cql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/models/cql.py -------------------------------------------------------------------------------- /webShop/baseline_models/models/modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/models/modules.py -------------------------------------------------------------------------------- /webShop/baseline_models/models/rnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/models/rnn.py -------------------------------------------------------------------------------- /webShop/baseline_models/requirements.txt: -------------------------------------------------------------------------------- 1 | accelerate 2 | datasets 3 | faiss-gpu 4 | transformers 5 | wandb -------------------------------------------------------------------------------- /webShop/baseline_models/slurm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/slurm.py -------------------------------------------------------------------------------- /webShop/baseline_models/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/test.py -------------------------------------------------------------------------------- /webShop/baseline_models/train_choice_bcq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/train_choice_bcq.py -------------------------------------------------------------------------------- /webShop/baseline_models/train_choice_cql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/train_choice_cql.py -------------------------------------------------------------------------------- /webShop/baseline_models/train_choice_il.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/train_choice_il.py -------------------------------------------------------------------------------- /webShop/baseline_models/train_scripts/dgrl_cmds.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/train_scripts/dgrl_cmds.sh -------------------------------------------------------------------------------- /webShop/baseline_models/train_scripts/grid_configs/bcq.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/train_scripts/grid_configs/bcq.json -------------------------------------------------------------------------------- /webShop/baseline_models/train_scripts/grid_configs/cql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/train_scripts/grid_configs/cql.json -------------------------------------------------------------------------------- /webShop/baseline_models/train_scripts/grid_configs/il.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/train_scripts/grid_configs/il.json -------------------------------------------------------------------------------- /webShop/baseline_models/train_scripts/make_cmd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/baseline_models/train_scripts/make_cmd.py -------------------------------------------------------------------------------- /webShop/conftest.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webShop/gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/gitignore -------------------------------------------------------------------------------- /webShop/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/requirements.txt -------------------------------------------------------------------------------- /webShop/run_dev.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/run_dev.sh -------------------------------------------------------------------------------- /webShop/run_envs/run_web_agent_site_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/run_envs/run_web_agent_site_env.py -------------------------------------------------------------------------------- /webShop/run_envs/run_web_agent_text_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/run_envs/run_web_agent_text_env.py -------------------------------------------------------------------------------- /webShop/run_prod.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | python -m web_agent_site.app --log 3 | -------------------------------------------------------------------------------- /webShop/run_web_agent_site_env.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/run_web_agent_site_env.sh -------------------------------------------------------------------------------- /webShop/run_web_agent_text_env.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/run_web_agent_text_env.sh -------------------------------------------------------------------------------- /webShop/search_engine/convert_product_file_format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/search_engine/convert_product_file_format.py -------------------------------------------------------------------------------- /webShop/search_engine/lucene_searcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/search_engine/lucene_searcher.py -------------------------------------------------------------------------------- /webShop/search_engine/run_indexing.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/search_engine/run_indexing.sh -------------------------------------------------------------------------------- /webShop/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/setup.sh -------------------------------------------------------------------------------- /webShop/tests/transfer/mocks/mock_parse_item_page_amz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/tests/transfer/mocks/mock_parse_item_page_amz -------------------------------------------------------------------------------- /webShop/tests/transfer/mocks/mock_parse_item_page_ebay: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/tests/transfer/mocks/mock_parse_item_page_ebay -------------------------------------------------------------------------------- /webShop/tests/transfer/mocks/mock_parse_item_page_ws: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/tests/transfer/mocks/mock_parse_item_page_ws -------------------------------------------------------------------------------- /webShop/tests/transfer/mocks/mock_parse_item_page_ws_desc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/tests/transfer/mocks/mock_parse_item_page_ws_desc -------------------------------------------------------------------------------- /webShop/tests/transfer/mocks/mock_parse_item_page_ws_feat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/tests/transfer/mocks/mock_parse_item_page_ws_feat -------------------------------------------------------------------------------- /webShop/tests/transfer/mocks/mock_parse_results_amz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/tests/transfer/mocks/mock_parse_results_amz -------------------------------------------------------------------------------- /webShop/tests/transfer/mocks/mock_parse_results_ebay: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/tests/transfer/mocks/mock_parse_results_ebay -------------------------------------------------------------------------------- /webShop/tests/transfer/mocks/mock_parse_results_ws: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/tests/transfer/mocks/mock_parse_results_ws -------------------------------------------------------------------------------- /webShop/tests/transfer/test_predict_help.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/tests/transfer/test_predict_help.py -------------------------------------------------------------------------------- /webShop/tests/web-agent-site/engine/test_goal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/tests/web-agent-site/engine/test_goal.py -------------------------------------------------------------------------------- /webShop/tests/web-agent-site/engine/test_normalize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/tests/web-agent-site/engine/test_normalize.py -------------------------------------------------------------------------------- /webShop/tests/web-agent-site/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/tests/web-agent-site/test_utils.py -------------------------------------------------------------------------------- /webShop/transfer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/transfer/README.md -------------------------------------------------------------------------------- /webShop/transfer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webShop/transfer/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/transfer/app.py -------------------------------------------------------------------------------- /webShop/transfer/predict_help.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/transfer/predict_help.py -------------------------------------------------------------------------------- /webShop/transfer/webshop_lite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/transfer/webshop_lite.py -------------------------------------------------------------------------------- /webShop/web_agent_site/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webShop/web_agent_site/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/app.py -------------------------------------------------------------------------------- /webShop/web_agent_site/attributes/annotate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/attributes/annotate.py -------------------------------------------------------------------------------- /webShop/web_agent_site/attributes/generate_attrs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/attributes/generate_attrs.py -------------------------------------------------------------------------------- /webShop/web_agent_site/engine/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webShop/web_agent_site/engine/engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/engine/engine.py -------------------------------------------------------------------------------- /webShop/web_agent_site/engine/goal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/engine/goal.py -------------------------------------------------------------------------------- /webShop/web_agent_site/engine/normalize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/engine/normalize.py -------------------------------------------------------------------------------- /webShop/web_agent_site/envs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/envs/__init__.py -------------------------------------------------------------------------------- /webShop/web_agent_site/envs/chromedriver: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/envs/chromedriver -------------------------------------------------------------------------------- /webShop/web_agent_site/envs/web_agent_site_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/envs/web_agent_site_env.py -------------------------------------------------------------------------------- /webShop/web_agent_site/envs/web_agent_text_env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/envs/web_agent_text_env.py -------------------------------------------------------------------------------- /webShop/web_agent_site/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/models/__init__.py -------------------------------------------------------------------------------- /webShop/web_agent_site/models/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/models/models.py -------------------------------------------------------------------------------- /webShop/web_agent_site/static/images/no-image-available.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/static/images/no-image-available.png -------------------------------------------------------------------------------- /webShop/web_agent_site/static/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/static/style.css -------------------------------------------------------------------------------- /webShop/web_agent_site/templates/attributes_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/templates/attributes_page.html -------------------------------------------------------------------------------- /webShop/web_agent_site/templates/description_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/templates/description_page.html -------------------------------------------------------------------------------- /webShop/web_agent_site/templates/done_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/templates/done_page.html -------------------------------------------------------------------------------- /webShop/web_agent_site/templates/features_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/templates/features_page.html -------------------------------------------------------------------------------- /webShop/web_agent_site/templates/item_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/templates/item_page.html -------------------------------------------------------------------------------- /webShop/web_agent_site/templates/results_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/templates/results_page.html -------------------------------------------------------------------------------- /webShop/web_agent_site/templates/review_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/templates/review_page.html -------------------------------------------------------------------------------- /webShop/web_agent_site/templates/search_page.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/templates/search_page.html -------------------------------------------------------------------------------- /webShop/web_agent_site/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/web_agent_site/utils.py -------------------------------------------------------------------------------- /webShop/webshop_LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/gen_dgrl/HEAD/webShop/webshop_LICENSE.md --------------------------------------------------------------------------------