kgmodule-utils 0.2.3__tar.gz → 0.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/PKG-INFO +1 -1
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/pyproject.toml +1 -1
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/src/kg_utils/__init__.py +1 -1
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/src/kg_utils/embedder.py +2 -0
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/LICENSE +0 -0
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/README.md +0 -0
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/src/kg_utils/embed.py +0 -0
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/src/kg_utils/py.typed +0 -0
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/src/kg_utils/snapshots/__init__.py +0 -0
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/src/kg_utils/snapshots/manager.py +0 -0
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/src/kg_utils/snapshots/models.py +0 -0
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/src/kg_utils/types/__init__.py +0 -0
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/src/kg_utils/types/extractor.py +0 -0
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/src/kg_utils/types/module.py +0 -0
- {kgmodule_utils-0.2.3 → kgmodule_utils-0.2.4}/src/kg_utils/types/specs.py +0 -0
|
@@ -10,7 +10,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
10
10
|
|
|
11
11
|
[project]
|
|
12
12
|
name = "kgmodule-utils"
|
|
13
|
-
version = "0.2.
|
|
13
|
+
version = "0.2.4"
|
|
14
14
|
description = "Shared types and snapshot infrastructure for the KGModule SDK"
|
|
15
15
|
readme = "README.md"
|
|
16
16
|
license = { text = "Elastic-2.0" }
|
|
@@ -99,6 +99,7 @@ def load_sentence_transformer(model_name: str = DEFAULT_MODEL) -> Any:
|
|
|
99
99
|
from transformers import logging as hf_logging # pylint: disable=import-outside-toplevel
|
|
100
100
|
|
|
101
101
|
hf_logging.set_verbosity_error()
|
|
102
|
+
hf_logging.disable_progress_bar() # TQDM_DISABLE alone misses transformers' _tqdm_active gate
|
|
102
103
|
except ImportError:
|
|
103
104
|
pass
|
|
104
105
|
|
|
@@ -143,6 +144,7 @@ class SentenceTransformerEmbedder(Embedder):
|
|
|
143
144
|
from transformers import logging as hf_logging # pylint: disable=import-outside-toplevel
|
|
144
145
|
|
|
145
146
|
hf_logging.set_verbosity_error()
|
|
147
|
+
hf_logging.disable_progress_bar()
|
|
146
148
|
except ImportError:
|
|
147
149
|
pass
|
|
148
150
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|