davidmasip
commited on
Commit
•
fa50338
1
Parent(s):
db02ff0
Better examples
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ language: es
|
|
4 |
widget:
|
5 |
- text: "Me cae muy bien."
|
6 |
example_title: "Non-racist example"
|
7 |
-
- text: "
|
8 |
example_title: "Racist example"
|
9 |
|
10 |
---
|
@@ -23,7 +23,7 @@ RACISM_MODEL = "davidmasip/racism"
|
|
23 |
racism_analysis_pipe = pipeline("text-classification",
|
24 |
model=RACISM_MODEL, tokenizer=RACISM_MODEL)
|
25 |
|
26 |
-
results = racism_analysis_pipe("
|
27 |
|
28 |
|
29 |
def clean_labels(results):
|
|
|
4 |
widget:
|
5 |
- text: "Me cae muy bien."
|
6 |
example_title: "Non-racist example"
|
7 |
+
- text: "Unos menas agreden a una mujer."
|
8 |
example_title: "Racist example"
|
9 |
|
10 |
---
|
|
|
23 |
racism_analysis_pipe = pipeline("text-classification",
|
24 |
model=RACISM_MODEL, tokenizer=RACISM_MODEL)
|
25 |
|
26 |
+
results = racism_analysis_pipe("Unos menas agreden a una mujer.")
|
27 |
|
28 |
|
29 |
def clean_labels(results):
|