Created
February 14, 2021 18:45
-
-
Save sharvaridhote/ac6ebb693a4bc47288fe0a1244ff158e to your computer and use it in GitHub Desktop.
Model testing
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
| # Testing the model = https://en.wikipedia.org/wiki/Che_Guevara - positive sentence | |
| loaded_model = spacy.load('model_artifactnewdatatest1LR0.01L22E-4') | |
| test_text= "Such positions also allowed him to play a central role in training the militia forces who repelled the Bay of Pigs Invasion and bringing the Soviet nuclear-armed ballistic missiles to Cuba which precipitated the 1962 Cuban Missile Crisis " | |
| doc=loaded_model(test_text) | |
| doc.cats |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment