diff --git a/optimum/intel/openvino/modeling_seq2seq.py b/optimum/intel/openvino/modeling_seq2seq.py index d3d8f6a869..15493f7000 100644 --- a/optimum/intel/openvino/modeling_seq2seq.py +++ b/optimum/intel/openvino/modeling_seq2seq.py @@ -158,12 +158,12 @@ ```python >>> from transformers import {processor_class} - >>> from optimum.onnxruntime import {model_class} + >>> from optimum.intel import {model_class} >>> from PIL import Image >>> import requests >>> processor = {processor_class}.from_pretrained("{checkpoint}") - >>> model = {model_class}.from_pretrained("{checkpoint}", export=True, use_io_binding=True) + >>> model = {model_class}.from_pretrained("{checkpoint}", export=True) >>> url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/ai2d-demo.jpg" >>> image = Image.open(requests.get(url, stream=True).raw)