3 ms·
What is "speculative decoding"?
by theanonymousone 2y ago
What is "speculative decoding"?
- regularfry 2y agoSpeculative decoding is using a small model to quickly generate a sequence that every so often you pass through a larger model to check and correct. It can be much faster than just using the larger model, with tolerably close accuracy.
- qeternity 2y ago> with tolerably close accuracy. No, speculative decoding has exactly the same accuracy as the target model. It is mathematically identical to greedy decoding.