Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
GaggiX
47 days ago
|
parent
|
context
|
favorite
| on:
Deep Learning in JavaScript
The nn.Block should probably be renamed to nn.DecoderBlock as it's not very clear if it's supposed to be an encoder or a decoder block, also an option to disable the mask from attention. That said, very cool project.
eduardoleao052
47 days ago
|
next
[–]
You are absolutely right! Will solve that as soon as possible. Thanks for the feedback!
jsight
46 days ago
|
prev
[–]
If you have the option to disable the mask, isn't it then a generic nn.Block?
GaggiX
46 days ago
|
parent
|
next
[–]
The ability to disable the mask in nn.MultiHeadSelfAttention, then having nn.DecoderBlock and a nn.EncoderBlock.
eduardoleao052
46 days ago
|
root
|
parent
|
next
[–]
I think that’s it. I’ll probably add that soon
eduardoleao052
46 days ago
|
parent
|
prev
[–]
It would be with some simple tweaks. For instance, the current block does not support Cross-Attention, just Self-Attention.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: