Skip to content

Commit

Permalink
Update help code block
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-savelyevv committed Nov 26, 2024
1 parent d32ad14 commit 0e9a967
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/source/openvino/export.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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}]
Expand All @@ -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.
Expand Down

0 comments on commit 0e9a967

Please sign in to comment.