Open prashantkodali opened 8 months ago
hi, do you solve the problem?
@lucidrains any solution for this issue?
@prashantkodali do you find any solutions?
Hello @LitterBrother-Xiao - I implemented this a while back - specific to Encoder based models. I used PyTorch's forward hooks to implement the idea.
The approach didn't work for me - i didnt clean and upload the code - but can share it if it helps you.
Also, authors of the paper released the codebase a couple of months back - https://github.com/google-deepmind/calm. Hope this helps.
@prashantkodali thanks so much!
In the code-snippet below, is it possible to load Decoder/Encoder with pre-trained models from huggingface hub?