# Default for the Decoder past\_key\_values - Marian

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdefault-for-the-decoder-past-key-values-marian%2F28998%3E%5C
**Category:** Intermediate\
**Created:** [January 5, 2023, 3:11pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdefault-for-the-decoder-past-key-values-marian%2F28998 "2023-01-05T15:11:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iprovalov](https://avatars.discourse-cdn.com/v4/letter/i/c0e974/32.png) [@iprovalov](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fiprovalov)%5C
**Post date:** [January 5, 2023, 3:11pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdefault-for-the-decoder-past-key-values-marian%2F28998%2F1 "2023-01-05T15:11:44Z")

</div>

I am converting Marian to Onnx, using pytorch export. My question is regarding the past\_key\_values optional parameter. The way I understand this, for the onnx export, every parameter must be specified.

Are there reasonable default **past\_key\_values** which can be passed in for the initial token in the decoder sequence?

Thank you,

Ivan
