davidmasip commited on
Commit
fa50338
1 Parent(s): db02ff0

Better examples

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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: "Nos vienen a robar el trabajo."
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("Nos vienen a robar el trabajo")
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):