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