Create tokenizer.model
Browse files- tokenizer.model +7 -0
tokenizer.model
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import random
|
2 |
+
|
3 |
+
def predict_next_word(words):
|
4 |
+
if random.random() < 0.5:
|
5 |
+
return "banana"
|
6 |
+
else:
|
7 |
+
return "potato"
|