Laura Hanu

Results 34 comments of Laura Hanu

You can use it if you want to check the toxicity of your bot replies. Either the `unbiased` or the `multilingual` version should work well. However, since it hasn't been...

Hello, what would be the use case of a progress bar? If running it on a batch of text, you can get a quick progress bar by using [tqdm](https://github.com/tqdm/tqdm) in...

It shouldn't initialise the model for each sentence, are you defining the model first and then do the prediction for each sentence? e.g. ``` model = Detoxify("unbiased") for batch in...

Depends on how big your batch is and how much you can fit into your memory, if it's large enough it might be more efficient to do it in smaller...