Entrada de Pandipedia
In LLMs, is it true that long prompts require more encoding time than decoding?

Yes, in LLMs, it is true that long prompts require more encoding time than decoding. This is because the encoder is designed to learn embeddings for various predictive modeling tasks[1], while the decoder is designed to generate new texts[1] based on the encoded information. Therefore, the process of encoding long inputs can be more time-consuming than decoding them.
Desa aquesta resposta
Crea el teu compte per conservar aquesta resposta i continuar-hi més tard.
Ho sentim, Pandi no ha pogut trobar una resposta.
Veiem alternatives:
- Modifica la consulta.
- Inicia un nou fil.
- Elimina les fonts (si s'han afegit manualment).