# How to load a ORTModelForVision2Seq model?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-load-a-ortmodelforvision2seq-model%2F39631%3E%5C
**Category:** 🤗Transformers\
**Created:** [May 12, 2023, 10:16am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-load-a-ortmodelforvision2seq-model%2F39631 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FSSamDav)%5C
**Post date:** [May 12, 2023, 10:16am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-load-a-ortmodelforvision2seq-model%2F39631%2F1 "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?
