i need help about 4th exercise , training the model. My loss is going up. Also The results are wrong. there is a problem about my implementation . Can anyone help to solve it?
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 = [None, 20, 21, 18, 9, 1, 19, 1, 21, 18, 21, 19, 0]