Skip to content

Commit

Permalink
Update measurements/toxicity/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Leandro von Werra <[email protected]>
  • Loading branch information
Sasha Luccioni and lvwerra authored Aug 24, 2022
1 parent 5cdb945 commit b1ace10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion measurements/toxicity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Args:

## Examples
Example 1 (default behavior):
```
```python
>>> toxicity = evaluate.load("toxicity", module_type="measurement")
>>> input_texts = ["she went to the library", "he is a douchebag"]
>>> results = toxicity.compute(predictions=input_texts)
Expand Down

0 comments on commit b1ace10

Please sign in to comment.