Skip to content

Commit

Permalink
Typo: tansformers -> transformers (#1597)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen authored Dec 13, 2023
1 parent abb2722 commit 40a942b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/exporters/onnx/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def main_export(
_variant (`str`, defaults to `default`):
Specify the variant of the ONNX export to use.
library_name (`Optional[str]`, defaults to `None`):
The library of the model (`"tansformers"` or `"diffusers"` or `"timm"` or `"sentence_transformers"`). If not provided, will attempt to automatically detect the library name for the checkpoint.
The library of the model (`"transformers"` or `"diffusers"` or `"timm"` or `"sentence_transformers"`). If not provided, will attempt to automatically detect the library name for the checkpoint.
legacy (`bool`, defaults to `False`):
Disable the use of position_ids for text-generation models that require it for batched generation. Also enable to export decoder only models in three files (without + with past and the merged model). This argument is introduced for backward compatibility and will be removed in a future release of Optimum.
**kwargs_shapes (`Dict`):
Expand Down

0 comments on commit 40a942b

Please sign in to comment.