mjwong commited on
Commit
17c50bb
1 Parent(s): ba4ae51

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -9
README.md CHANGED
@@ -35,9 +35,6 @@ You can then use this pipeline to classify sequences into any of the class names
35
  sequence_to_classify = "one day I will see the world"
36
  candidate_labels = ['travel', 'cooking', 'dancing']
37
  classifier(sequence_to_classify, candidate_labels)
38
- #{'sequence': 'one day I will see the world',
39
- # 'labels': ['travel', 'dancing', 'cooking'],
40
- # 'scores': [0.9954835772514343, 0.002568634692579508, 0.00194773287512362]}
41
  ```
42
 
43
  If more than one candidate label can be correct, pass `multi_class=True` to calculate each class independently:
@@ -45,12 +42,6 @@ If more than one candidate label can be correct, pass `multi_class=True` to calc
45
  ```python
46
  candidate_labels = ['travel', 'cooking', 'dancing', 'exploration']
47
  classifier(sequence_to_classify, candidate_labels, multi_class=True)
48
- #{'sequence': 'one day I will see the world',
49
- # 'labels': ['travel', 'exploration', 'cooking', 'dancing'],
50
- # 'scores': [0.9968098998069763,
51
- # 0.9796287417411804,
52
- # 0.027883002534508705,
53
- # 0.0008239754824899137]}
54
  ```
55
 
56
  ### Eval results
 
35
  sequence_to_classify = "one day I will see the world"
36
  candidate_labels = ['travel', 'cooking', 'dancing']
37
  classifier(sequence_to_classify, candidate_labels)
 
 
 
38
  ```
39
 
40
  If more than one candidate label can be correct, pass `multi_class=True` to calculate each class independently:
 
42
  ```python
43
  candidate_labels = ['travel', 'cooking', 'dancing', 'exploration']
44
  classifier(sequence_to_classify, candidate_labels, multi_class=True)
 
 
 
 
 
 
45
  ```
46
 
47
  ### Eval results