Commit
·
488616c
1
Parent(s):
1b95302
Update README.md
Browse files
README.md
CHANGED
@@ -75,6 +75,9 @@ You can then use this pipeline to classify sequences into any of the class names
|
|
75 |
sequence_to_classify = "one day I will see the world"
|
76 |
candidate_labels = ['travel', 'cooking', 'dancing']
|
77 |
classifier(sequence_to_classify, candidate_labels)
|
|
|
|
|
|
|
78 |
```
|
79 |
|
80 |
## Metrics
|
|
|
75 |
sequence_to_classify = "one day I will see the world"
|
76 |
candidate_labels = ['travel', 'cooking', 'dancing']
|
77 |
classifier(sequence_to_classify, candidate_labels)
|
78 |
+
# {'sequence': 'one day I will see the world',
|
79 |
+
# 'labels': ['travel', 'cooking', 'dancing'],
|
80 |
+
# 'scores': [0.7944864630699158, 0.10624771565198898, 0.09926578402519226]}
|
81 |
```
|
82 |
|
83 |
## Metrics
|