Update README.md
Browse files
README.md
CHANGED
|
@@ -17,4 +17,8 @@ entities = model.predict_entities(text, labels, threshold=0.5)
|
|
| 17 |
|
| 18 |
### Display predicted entities and their labels
|
| 19 |
for entity in entities:
|
| 20 |
-
print(entity["text"], "=>", entity["label"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
### Display predicted entities and their labels
|
| 19 |
for entity in entities:
|
| 20 |
+
print(entity["text"], "=>", entity["label"])
|
| 21 |
+
|
| 22 |
+
#### Output:
|
| 23 |
+
#### Emotet => MALWARE
|
| 24 |
+
#### Microsoft => ORG
|