Attention Sinks in LLMs for endless fluency
huggingface.co
Attention Sinks in LLMs for endless fluency
1–7 of 7 posts
Re: Attention Sinks in LLMs for endless fluency
#2It can be applied to pretrained LLMs with little to no additional effort, and Hugging Face transformers is working on first-party support. Until then, the third-party module in the blogpost already works well.
Re: Attention Sinks in LLMs for endless fluency
#3Re: Attention Sinks in LLMs for endless fluency
#4Re: Attention Sinks in LLMs for endless fluency
#5Re: Attention Sinks in LLMs for endless fluency
#6The paper published by Xiao et al. (2023)[0] states that "a surprisingly large amount of attention score is allocated to the initial tokens, irrespective of their relevance to the language modeling task" (p. 2). Does that mean that task prefixes used for LLM generation (e.g. "translate: [sentence]") are actually attention sinks? Or are they not? I don't really understand what they mean by "irrespective of their relev…
The clue is really that these tokens are just used to "offload" attention scores - their semantic meaning is irrelevant.
Re: Attention Sinks in LLMs for endless fluency
#7Appears that this is an open source implementation of the same "Efficient Streaming Language Models with Attention Sinks" paper from MIT, linked here 7 days ago. Published on Sept 29, 2023. https://news.ycombinator.com/item?id=37740932