diff --git a/docs/source/openvino/export.mdx b/docs/source/openvino/export.mdx index b3911f0c1..ed38c945e 100644 --- a/docs/source/openvino/export.mdx +++ b/docs/source/openvino/export.mdx @@ -29,7 +29,7 @@ optimum-cli export openvino --model local_llama --task text-generation-with-past Check out the help for more options: -```bash +``` usage: optimum-cli export openvino [-h] -m MODEL [--task TASK] [--framework {pt,tf}] [--trust-remote-code] [--weight-format {fp32,fp16,int8,int4,mxfp4,nf4}] [--library {transformers,diffusers,timm,sentence_transformers,open_clip}] @@ -50,14 +50,14 @@ Required arguments: Optional arguments: --task TASK The task to export the model for. If not specified, the task will be auto-inferred based on - the model. Available tasks depend on the model, but are among: ['image-to-image', 'image- - segmentation', 'inpainting', 'sentence-similarity', 'text-to-audio', 'image-to-text', - 'automatic-speech-recognition', 'token-classification', 'text-to-image', 'audio- - classification', 'feature-extraction', 'semantic-segmentation', 'masked-im', 'audio-xvector', + the model. Available tasks depend on the model, but are among: ['image-to-image', + 'image-segmentation', 'inpainting', 'sentence-similarity', 'text-to-audio', 'image-to-text', + 'automatic-speech-recognition', 'token-classification', 'text-to-image', 'audio-classification', + 'feature-extraction', 'semantic-segmentation', 'masked-im', 'audio-xvector', 'audio-frame-classification', 'text2text-generation', 'multiple-choice', 'depth-estimation', 'image-classification', 'fill-mask', 'zero-shot-object-detection', 'object-detection', 'question-answering', 'zero-shot-image-classification', 'mask-generation', 'text-generation', - 'text-classification']. For decoder models, use `xxx-with-past` to export the model using past + 'text-classification']. For decoder models, use 'xxx-with-past' to export the model using past key values in the decoder. --framework {pt,tf} The framework to use for the export. If not provided, will attempt to use the local checkpoint's original framework or what is available in the environment.