mamakos commited on
Commit
a7ff8a7
·
verified ·
1 Parent(s): 17ce081

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -31,14 +31,14 @@ import closedmindedness
31
 
32
  model = closedmindedness.classifier()
33
 
34
- text_1 = "I will never 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) # []
39
 
40
  prob = model.predict(text_1)
41
- print(prob) # []
42
  ```
43
 
44
 
 
31
 
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]
42
  ```
43
 
44