You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Single prediction
sentence_to_predict = "the problem with the middleeast is those damn data scientists. All they do is just look at the computer screen instead of laying outside in the warm sun."
single_prediction = predictor.predict(sentence_to_predict)
How can I get a list of probabilities for given word?
For example, given sentence_to_predict, I want to have the probability of the word "yesterday" and it's rank within possible predictions? (the whole vocab)
The text was updated successfully, but these errors were encountered:
Hi,
In part 5 - "5. Model Inference":
How can I get a list of probabilities for given word?
For example, given
sentence_to_predict
, I want to have the probability of the word "yesterday" and it's rank within possible predictions? (the whole vocab)The text was updated successfully, but these errors were encountered: