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

Multilight teacher #5043

Merged
merged 15 commits into from
May 31, 2023
Merged

Multilight teacher #5043

merged 15 commits into from
May 31, 2023

Conversation

mojtaba-komeili
Copy link
Contributor

@mojtaba-komeili mojtaba-komeili commented May 30, 2023

Patch description
Adding a custom version of the multilight teachers to the ParlAI side. These teachers only focus on the conversation side of the dataset and do not have the graph elements like their LIGHT counterpart.

Testing steps
Added teachers tests as well as running them manually:

parlai dd -t light_multiparty
Screenshot 2023-05-30 at 4 14 18 PM

parlai dd -t light_multiparty --add-location-to-context true --add-personas-to-context true --include-speaker-in-label false --add-speaker-to-context-end true --datatype valid

Screenshot 2023-05-30 at 4 14 47 PM

parlai dd -t light_multiparty:SpeakerPredictionTeacher

Screenshot 2023-05-30 at 4 13 30 PM

mojtaba-komeili and others added 11 commits May 30, 2023 13:19
* test updates

* lint

* extra error for version drifts fixed

* pytest_regressions version upgrade for better yaml on unicode

* pytest

* turning to dict type for the yaml storage

* new tests

* lint
…rch/ParlAI into multilight-teacher

* 'multilight-teacher' of https://github.com/facebookresearch/ParlAI:
  sphinx install back to normal
  autoformat
  task list
  teacher tests
  the working version
  fixed one breaking requirement
@mojtaba-komeili mojtaba-komeili merged commit 0d7a4c1 into main May 31, 2023
@mojtaba-komeili mojtaba-komeili deleted the multilight-teacher branch May 31, 2023 20:42
mojtaba-komeili added a commit that referenced this pull request May 31, 2023
* main:
  Multilight teacher (#5043)
  Updating the tests after the conversation teacher changes. (#5038)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants