Closed franluca closed 3 months ago
Refactor toxicity evaluation to use transform pipelines.
Added batch_size property for transforms, in order to use map_batch
Minor modifications to helper models
Note: eval-specific unit and integration tests have not been modified!!!!
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Some context for anyone else who sees the huge git diff on this PR. I raised PR #224 which has a huge diff, and Luca started his work on Toxicity based off my branch.
Refactor toxicity evaluation to use transform pipelines.
Added batch_size property for transforms, in order to use map_batch
Minor modifications to helper models
Note: eval-specific unit and integration tests have not been modified!!!!
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.