Thanks for reply. Im not really sure if I got the idea right then:
I thought each (embedded) word is read in bei a single cell of an encoder? E.g. There is a sentence of 10 words, then Id need an Encoder of at least 10 GRU cells? So every GRU cell holds the information for one word?
Or is the input of an single GRU cell (which I thought is the hidden_dim) all 10 words?
Same for the decoder: I thought the max length of a predicted sentence is the length of a Decoder?