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
{{ message }}
This repository was archived by the owner on Jan 24, 2024. It is now read-only.
print([key for key, value in word_dict.iteritems() if value == most_possible_word_index][0])
412
+
print([
413
+
key for key, value in word_dict.iteritems()
414
+
if value == most_possible_word_index
415
+
][0])
410
416
```
411
417
412
-
When we spent 30 mins in training, the output is like below, which means the next word for `among a group of` is `unknown`. After several hours training, it gives a meaningful prediction as `workers`.
418
+
When we spent 3 mins in training, the output is like below, which means the next word for `among a group of` is `a`. If we train the model with a longer time, it will give a meaningful prediction as `workers`.
print([key for key, value in word_dict.iteritems() if value == most_possible_word_index][0])
454
+
print([
455
+
key for key, value in word_dict.iteritems()
456
+
if value == most_possible_word_index
457
+
][0])
452
458
```
453
459
454
-
When we spent 30 mins in training, the output is like below, which means the next word for `among a group of` is `unknown`. After several hours training, it gives a meaningful prediction as `workers`.
460
+
When we spent 3 mins in training, the output is like below, which means the next word for `among a group of` is `board`. If we train the model with a longer time, it will give a meaningful prediction as `workers`.
0 commit comments