by ipsum2 · 3y ago · 0 comments
What's the benefit of RWKV then? The results are practically identical to transformers.
- only need the hidden state at position t to compute t+1, i.e. run inference locally on edge devices
- fine-tunable to longer context lengths than seen in pre-training
If it continues to scale as well as it has so far it's pretty huge.
> So we basically have a model which trains like a transformer, except that long context length is not expensive. And during inference, we need substantially less memory and can implicitly handle “infinite” context length (though in practice, the model might have a hard time generalizing to much longer context lengths than it saw during training).
The tl:dr Linear Attention avoids the quadratic token scaling and is equivalent to specific instances of RNNs.