How do you I set up the shape for Recurrent Nueral Networks? #164
-
I am confused. Char-RNN[1] can have a variable length input, and that input is the training set. However, for a sufficiently long input there A subset would be the input: AAAC\n ---> input.txt A mapping to integers would be: {'A':0,'C':1,'B':2,'\n':3} Using this integer mapping translates the input to the array: I see that every in https://github.com/zkonduit/ezkl/tree/main/examples/onnx is a floating point number, and not an integer. If the shape corresponded to the alphabet, then the shape would be [1,128] and the input would have to be every character in the alphabet See also this repository for documentation: https://github.com/spro/char-rnn.pytorch |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
On the call, Dante suggested keeping the sequence length constant. Here is a cheat sheet for RNN. Here is a lecture: |
Beta Was this translation helpful? Give feedback.
-
@bshambaugh check out #235. This should resolve most of the issues you were facing :) |
Beta Was this translation helpful? Give feedback.
@bshambaugh check out #235. This should resolve most of the issues you were facing :)