mjwong commited on
Commit
b16516d
1 Parent(s): 02f2b9a

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', 'cooking', 'dancing'],
40
- # 'scores': [0.7728410363197327, 0.13207288086414337, 0.09508601576089859]}
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': ['exploration', 'travel', 'cooking', 'dancing'],
50
- # 'scores': [0.9920766353607178,
51
- # 0.7247188091278076,
52
- # 0.08411424607038498,
53
- # 0.03875880688428879]}
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