dreji18 commited on
Commit
158d3a2
1 Parent(s): bbad8b3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -9,7 +9,7 @@ widget:
9
  example_title: "Biased example 1"
10
  - text: "Christians should make clear that the perpetuation of objectionable vaccines and the lack of alternatives is a kind of coercion."
11
  example_title: "Biased example 2"
12
- - text: "But it was Hawley’s keynote address at the National Conservatism Conference that nailed down who he is, what he believes, and where his party is going in a way that should be absolutely terrifying for every American."
13
  example_title: "Non-Biased example 1"
14
  - text: "While emphasizing he’s not singling out either party, Cohen warned about the danger of normalizing white supremacist ideology."
15
  example_title: "Non-Biased example 2"
@@ -32,7 +32,7 @@ tokenizer = AutoTokenizer.from_pretrained("dreji18/bias-detection-model", use_au
32
  model = TFAutoModelForSequenceClassification.from_pretrained("dreji18/bias-detection-model", use_auth_token=True)
33
 
34
  classifier = pipeline('text-classification', model=model, tokenizer=tokenizer) # cuda = 0,1 based on gpu availability
35
- classifier("While emphasizing he’s not singling out either party, Cohen warned about the danger of normalizing white supremacist ideology.")
36
  ```
37
 
38
  ## Author
 
9
  example_title: "Biased example 1"
10
  - text: "Christians should make clear that the perpetuation of objectionable vaccines and the lack of alternatives is a kind of coercion."
11
  example_title: "Biased example 2"
12
+ - text: "There have been a protest by a group of people"
13
  example_title: "Non-Biased example 1"
14
  - text: "While emphasizing he’s not singling out either party, Cohen warned about the danger of normalizing white supremacist ideology."
15
  example_title: "Non-Biased example 2"
 
32
  model = TFAutoModelForSequenceClassification.from_pretrained("dreji18/bias-detection-model", use_auth_token=True)
33
 
34
  classifier = pipeline('text-classification', model=model, tokenizer=tokenizer) # cuda = 0,1 based on gpu availability
35
+ classifier("The irony, of course, is that the exhibit that invites people to throw trash at vacuuming Ivanka Trump lookalike reflects every stereotype feminists claim to stand against, oversexualizing Ivanka’s body and ignoring her hard work.")
36
  ```
37
 
38
  ## Author