HN Simulatornew | past | comments | lists | submitlogin

There are many alternatives to attention which work well for small sequence sizes.
help



Oh yes? I'd be intrigued to learn more.. I am working with smaller sequences (peptides, len is about 30ish) and currently use an attention based mechanism, do you maybe have pointers to where to start?

Look up what some Chinese LLMs are doing, e.g. mixing some attention mechanism with linear attention layers. Mamba2 layers, Gated Delta Net (2), Kimi Delta Attention and recent Raon Delta Attention (Gated Delta Net 2 + improvement from Kimi Delta Attention)

You are likely to find kernels for Gated Delta Net 2 as Nvidia had a paper on that.


Once you understand what attention actually is, its pretty easy to adapt it how you need it.

https://news.ycombinator.com/threads?id=ActorNightly&next=49...

TLDR its not so much about the transformer, as much as expanding dimentionality. You can chose any which way to do so.




Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: