I guess I am doing it right for
def model(data_x,
Since it is not proper to paste code, I paste the output:
j = 0 idx = 0
single_example = turiasaurus
single_example_chars ['t', 'u', 'r', 'i', 'a', 's', 'a', 'u', 'r', 'u', 's']
single_example_ix [14, 23, 24, 8, 0, 6, 0, 23, 24, 23, 6]
X = [None, 14, 23, 24, 8, 0, 6, 0, 23, 24, 23, 6]
Y = [14, 23, 24, 8, 0, 6, 0, 23, 24, 23, 6, 22]
But at Iteration: 22000, Loss: 22.685007
my output is:
Espgrongeus
Ytsahitosaurus
Epcopheimospmeustuxeorove
Elaanodelas
Prophes
Sajnodyhatocteys
Rophosaurus
Any idea where I was doing wrong? All the cells above were correct. And I think I got the idea of building X and Y
Thanks