Last active
January 25, 2020 19:26
-
-
Save llSourcell/f3e1de0a86975aa941387f8f1a6f8e36 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from fastText import load_model | |
| classifier = load_model("model_tweet.bin") | |
| texts = ['Life is good', 'Life is great', 'Life is bad'] | |
| labels = classifier.predict(texts) | |
| print (labels) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment