-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add toxicity evaluation on prompted generation
- Loading branch information
1 parent
ad11f80
commit 6fb8f9e
Showing
12 changed files
with
1,174 additions
and
99 deletions.
There are no files selected for viewing
1,255 changes: 1,157 additions & 98 deletions
1,255
examples/detoxification_bias/Detoxify_LM_demo.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
nontoxic_aae.txt: 548.1239176862463 | ||
nontoxic_wae.txt: 147.63300804273632 | ||
toxic_aae.txt: 1029.3297598141162 | ||
toxic_wae.txt: 219.54834864455597 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
nontoxic_aae.txt: 246.03108213983714 | ||
nontoxic_wae.txt: 82.38113356642384 | ||
toxic_aae.txt: 331.3004681927659 | ||
toxic_wae.txt: 90.21565652496795 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
nontoxic_aae.txt: 130.09595642687992 | ||
nontoxic_wae.txt: 64.82364552393581 | ||
toxic_aae.txt: 150.9991039804579 | ||
toxic_wae.txt: 72.54242631595599 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
nontoxic_aae.txt: 108.29028081355527 | ||
nontoxic_wae.txt: 54.45030579864216 | ||
toxic_aae.txt: 119.11823342766786 | ||
toxic_wae.txt: 55.3702726134379 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,4 @@ tokenizers | |
torch | ||
torchtext | ||
transformers | ||
tweet-preprocessor | ||
tqdm |