New answers tagged

1 vote

When are Transformers better than LSTMs in time-series tasks such as classification?

Both the architecture have some use cases based on their architecture. Transformer Transformers are good when there are long-range dependencies, in those cases they outperform the LSTMs. Main key ...
Hiren Namera's user avatar
2 votes
Accepted

Is there any advantage to providing multi-dimensional input to torch modules?

Yes, for some applications, the spatial component of the tensor is indeed very important, but not for the examples you mentioned. The first point to clarify is that even though the ...
Cesar Ruiz's user avatar

Top 50 recent answers are included