Update README.md
Browse files
README.md
CHANGED
@@ -64,7 +64,7 @@ from transformers import pipeline
|
|
64 |
|
65 |
guardrail = pipeline("text-classification", "cmarkea/bloomz-560m-guardrail")
|
66 |
|
67 |
-
list_text = [...]
|
68 |
result = guardrail(
|
69 |
list_text,
|
70 |
return_all_scores=True, # Crucial for assessing all modalities of toxicity!
|
|
|
64 |
|
65 |
guardrail = pipeline("text-classification", "cmarkea/bloomz-560m-guardrail")
|
66 |
|
67 |
+
list_text: List[str] = [...]
|
68 |
result = guardrail(
|
69 |
list_text,
|
70 |
return_all_scores=True, # Crucial for assessing all modalities of toxicity!
|