Closed Dongyeongkim closed 1 year ago
https://github.com/fkodom/yet-another-retnet/blob/ee3979c7535b9f79a3020cb098d6b97f143bcd22/yet_another_retnet/retention.py#L16
I think this line should be F.silu rather than F.relu.
Thanks for reading.
Reference
@Dongyeongkim Definitely -- thanks for catching this. Feel free to open a PR, otherwise I will patch it this morning. 👍
I have opened the pr.
Thanks for fast reply
https://github.com/fkodom/yet-another-retnet/blob/ee3979c7535b9f79a3020cb098d6b97f143bcd22/yet_another_retnet/retention.py#L16
I think this line should be F.silu rather than F.relu.
Thanks for reading.
Reference