mamakos commited on
Commit
12822aa
·
verified ·
1 Parent(s): cf925fc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -3
README.md CHANGED
@@ -32,10 +32,11 @@ import closedmindedness
32
  model = closedmindedness.classifier()
33
 
34
  text_1 = "Nothing can make me change my mind."
35
- text_2 = "I went to the movies yesterday."
36
- texts = [text_1, text_2]
 
37
  probs = model.predict(texts)
38
- print(probs) # [9.71055567e-01 3.33786011e-06]
39
 
40
  prob = model.predict(text_1)
41
  print(prob) # [0.97105557]
 
32
  model = closedmindedness.classifier()
33
 
34
  text_1 = "Nothing can make me change my mind."
35
+ text_2 = "Let's discuss this."
36
+ text_3 = "I went to the movies yesterday."
37
+ texts = [text_1, text_2, text_3]
38
  probs = model.predict(texts)
39
+ print(probs) # [9.71055567e-01 1.70469284e-05 3.33786011e-06]
40
 
41
  prob = model.predict(text_1)
42
  print(prob) # [0.97105557]