# How to load a ORTModelForVision2Seq model?

**URL:** <https://discuss.huggingface.co/t/how-to-load-a-ortmodelforvision2seq-model/39631>\
**Category:** 🤗Transformers\
**Created:** [May 12, 2023, 10:16am UTC](https://discuss.huggingface.co/t/how-to-load-a-ortmodelforvision2seq-model/39631 "2023-05-12T10:16:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SSamDav](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ssamdav/32/29888_2.png) [@SSamDav](https://discuss.huggingface.co/u/SSamDav)\
**Post date:** [May 12, 2023, 10:16am UTC](https://discuss.huggingface.co/t/how-to-load-a-ortmodelforvision2seq-model/39631/1 "2023-05-12T10:16:39Z")

</div>

Hi I converted a finetuned version of a TROCR model to onnx, which produced an encoder\_model.onnx and decoder\_model.onnx.

Now I want to load the model in ONNX, but I don’t know how.  
Do you know any place I can check how I can do this?
