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

WikiToxic agents.py slight change #3678

Merged
merged 2 commits into from
Jun 7, 2021
Merged

WikiToxic agents.py slight change #3678

merged 2 commits into from
Jun 7, 2021

Conversation

liliarose
Copy link
Contributor

@liliarose liliarose commented May 27, 2021

Patch description
Another dataset is using WikiToxic as its parent, but its _get_data() function's error message hardcodes WikiToxic's kaggle dataset source, so changing that to a variable instead.

Testing steps
testing with test.py and also tried parlai display data
passed with

parlai/tasks/dialogue_safety/test.py ...                    [100%]

update: I think I tried rebasing it, and then I had to force push it....
Also, the current checks that are failing are failing, I think, because of this:

This build could not be run with the selected resource class. The default Medium resource class was used to run this build. To use the resource class to speed up your build or avoid an out-of-memory error, you can upgrade to a Performance Plan.

Most of them are Exited with code exit status 1

@liliarose liliarose changed the title Requirements WikiToxic agents.py slight change May 27, 2021
requirements.txt Outdated
@@ -43,7 +43,7 @@ tensorboardX==2.1
tokenizers>=0.8.0
torchtext>=0.5.0
tornado==6.0.4
tqdm~=4.36.1
tqdm~=4.38.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it from previous merged commits or new one? if it's previously merged commit please rebase on the latest master. if not, I would suggest we separate this into 2 different pull requests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep... it's a previous merge... will try to rebase 👍

@liliarose liliarose marked this pull request as draft May 28, 2021 00:58
@liliarose liliarose marked this pull request as ready for review June 1, 2021 18:26
@liliarose liliarose marked this pull request as draft June 4, 2021 19:17
@liliarose liliarose marked this pull request as ready for review June 4, 2021 19:46
@liliarose liliarose requested a review from jxmsML June 4, 2021 19:46
@jxmsML
Copy link
Contributor

jxmsML commented Jun 7, 2021

@liliarose please check these unit test failures.

@liliarose liliarose merged commit 7622551 into facebookresearch:master Jun 7, 2021
@liliarose liliarose deleted the requirements branch June 7, 2021 18:04
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