I’m getting this error:
AssertionError: Wrong expected output
this is the id of the notebook NaIA5 ,just in case.
j = 0 idx = 0
single_example = turiasaurus
single_example_chars [‘t’, ‘u’, ‘r’, ‘i’, ‘a’, ‘s’, ‘a’, ‘u’, ‘r’, ‘u’, ‘s’]
single_example_ix [20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19]
X = [None, 20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19]
Y = [20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19, 0]
Iteration: 0, Loss: 23.084047
Nkzxwtdmfqoeyhsqwasjkjvu
Kneb
Kzxwtdmfqoeyhsqwasjkjvu
Neb
Zxwtdmfqoeyhsqwasjkjvu
Eb
Xwtdmfqoeyhsqwasjkjvu
Llllllllllllllllllllllllllllllllllllllllllllllllll
Llllllllllllllllllllllllllllllllllllllllllllllllll
Qjjffffffffjjjjjjjjjjwwwwwqfssssssssssssssssssssss
Zzzzzzzzzzzzzzzwwwwwwwffffwwwffffqffffffffffqqjjjj
Ffffffffffjjjjjjjjjjwwwwwqfsssssssssssssssssssssss
Xxxxxxxxxxxxxxwwwwwwwffffwwwffffqffffffffffqqjjjjj
AssertionError Traceback (most recent call last)
in
1 parameters, last_name = model(data.split(“\n”), ix_to_char, char_to_ix, 22001, verbose = True)
2
----> 3 assert last_name == ‘Trodonosaurus\n’, “Wrong expected output”
4 print(“\033[92mAll tests passed!”)
AssertionError: Wrong expected output