From b22569fe7893b69c7507cc2e22c6c5a38e060826 Mon Sep 17 00:00:00 2001 From: Artur Paniukov Date: Wed, 18 Oct 2023 12:57:00 +0100 Subject: [PATCH] Fix imports --- .../tokenizer/python/ov_tokenizer/hf_parser.py | 2 +- .../tokenizer/python/ov_tokenizer/tokenizer_pipeline.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/python/ov_tokenizer/hf_parser.py b/modules/custom_operations/user_ie_extensions/tokenizer/python/ov_tokenizer/hf_parser.py index c46fdac70..2d3c1ba54 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/python/ov_tokenizer/hf_parser.py +++ b/modules/custom_operations/user_ie_extensions/tokenizer/python/ov_tokenizer/hf_parser.py @@ -10,7 +10,7 @@ import numpy as np import openvino.runtime.opset12 as opset -from constants import ( +from .constants import ( ATTENTION_MASK_INPUT_NAME, STRING_OUTPUT_NAME, TOKEN_IDS_INPUT_NAME, diff --git a/modules/custom_operations/user_ie_extensions/tokenizer/python/ov_tokenizer/tokenizer_pipeline.py b/modules/custom_operations/user_ie_extensions/tokenizer/python/ov_tokenizer/tokenizer_pipeline.py index 488a3ce34..4e0af7451 100644 --- a/modules/custom_operations/user_ie_extensions/tokenizer/python/ov_tokenizer/tokenizer_pipeline.py +++ b/modules/custom_operations/user_ie_extensions/tokenizer/python/ov_tokenizer/tokenizer_pipeline.py @@ -9,7 +9,7 @@ from typing import Any, Dict, List, Optional, Union import numpy as np -from constants import ( +from .constants import ( ATTENTION_MASK_INPUT_NAME, STRING_OUTPUT_NAME, TOKEN_IDS_INPUT_NAME,