We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5691472 commit 2e2a385Copy full SHA for 2e2a385
optimum/exporters/openvino/convert.py
@@ -851,7 +851,7 @@ def export_tokenizer(
851
852
if (
853
task is not None
854
- and (task.startswith("text-generation") or task.startswith("image-text-to-text"))
+ and (task.startswith("text-generation") or task == "image-text-to-text")
855
and compare_versions("openvino-tokenizers", ">=", "2024.3.0.0")
856
):
857
logger.info(f"Set tokenizer padding side to left for `{task}` task.")
0 commit comments