Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
Merging in teachers and code for RL-Quests paper. (#275)
Browse files Browse the repository at this point in the history
* Baseline code for standardizing data loading

* atomic teachers working

* Cleanup atomic

* quest goals teacher

* Predictive machines to projects

* Wild chat task and code and sweeps

* Updating sweep paths to new locations

* Cleaning up quests build

* Finished all _operational_ quests code

* Remaiing related sweeps

* Dropping sweeps

* Uploading relevant models, adding download paths
  • Loading branch information
JackUrb authored Jan 31, 2022
1 parent cd09544 commit e33dc86
Show file tree
Hide file tree
Showing 22 changed files with 2,262 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# data

Contains datasets and other required data for LIGHT modeling as well as core gameplay
2 changes: 2 additions & 0 deletions data/env/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# env
This particular folder is used to store versions of the LIGHT environment that may be used for building.
2 changes: 2 additions & 0 deletions data/shared/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# shared
This particular folder is used to store shared data-building parts.
11 changes: 11 additions & 0 deletions light/constants.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env python3

# Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

import os

LIGHT_DATAPATH = os.path.join(
os.path.abspath(os.path.dirname(os.path.dirname(__file__))), "data"
)
5 changes: 5 additions & 0 deletions light/light_cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/env python3

# Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.


import light.modeling.loading as load
from parlai.core.script import superscript_main as parlai_cli

Expand Down
4 changes: 4 additions & 0 deletions light/modeling/loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ def register_all_agents():
def register_all_tasks():
# list all tasks here
# import light.modeling.tasks.<> # noqa: F401
import light.modeling.tasks.atomic.teacher # noqa: F401
import light.modeling.tasks.quests.goals.teacher # noqa: F401
import light.modeling.tasks.quests.wild_chats.teacher # noqa: F401

pass
Loading

0 comments on commit e33dc86

Please sign in to comment.