FNet-pytorch
FNet-pytorch copied to clipboard
Unofficial implementation of Google's FNet: Mixing Tokens with Fourier Transforms
How can we mask/pad tokens for sequences of varied length ? When we use fft along dimension (-2) , sequences , if we just use zero padding the result will...
Dear @rishikksh20 , Thanks for your implementation! Can I ask what do you think about the effectiveness of Furier features as well as FNet when it's used to replace multi-head...
Hi, thanks for a great implementation! I wanted to clarify one thing that mismatches with the code, proposed in the article itself. In your code, you pre-normalize inputs, so that...
thanks for your impl, and I found that you may not code emdedding part, I think the part is important too. I suggest that you could write a demo from...
Hi, I propose you a slight factorisation of the code and it is clearer to read.