semantic-compressor 1.7__tar.gz → 1.8__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {semantic_compressor-1.7/semantic_compressor.egg-info → semantic_compressor-1.8}/PKG-INFO +1 -1
- {semantic_compressor-1.7 → semantic_compressor-1.8}/compressor/semantic.py +1 -1
- {semantic_compressor-1.7 → semantic_compressor-1.8}/pyproject.toml +1 -1
- {semantic_compressor-1.7 → semantic_compressor-1.8/semantic_compressor.egg-info}/PKG-INFO +1 -1
- {semantic_compressor-1.7 → semantic_compressor-1.8}/setup.py +1 -1
- {semantic_compressor-1.7 → semantic_compressor-1.8}/LICENSE +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/README.md +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/compressor/__init__.py +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/compressor/minbpe/__init__.py +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/compressor/minbpe/base.py +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/compressor/minbpe/basic.py +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/compressor/minbpe/regex.py +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/compressor/resources/embedding_model.onnx +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/compressor/resources/en_stopwords.pkl +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/compressor/resources/lid.176.ftz +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/compressor/resources/pt_stopwords.pkl +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/semantic_compressor.egg-info/SOURCES.txt +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/semantic_compressor.egg-info/dependency_links.txt +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/semantic_compressor.egg-info/requires.txt +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/semantic_compressor.egg-info/top_level.txt +0 -0
- {semantic_compressor-1.7 → semantic_compressor-1.8}/setup.cfg +0 -0
@@ -339,7 +339,7 @@ def find_needle_in_haystack(
|
|
339
339
|
haystack_semantic_embeddings = list(executor.map(extract_semantic_embeddings, blocks))
|
340
340
|
|
341
341
|
if embedding_mode in {'textual', 'both'}:
|
342
|
-
with ProcessPoolExecutor(max_workers=cpu_count()//1.5) as executor:
|
342
|
+
with ProcessPoolExecutor(max_workers=int(cpu_count()//1.5)) as executor:
|
343
343
|
haystack_textual_embeddings = list(
|
344
344
|
executor.map(preprocess_and_extract_textual_embedding, blocks, [use_stemming]*len(blocks), [lang]*len(blocks))
|
345
345
|
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{semantic_compressor-1.7 → semantic_compressor-1.8}/compressor/resources/embedding_model.onnx
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{semantic_compressor-1.7 → semantic_compressor-1.8}/semantic_compressor.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{semantic_compressor-1.7 → semantic_compressor-1.8}/semantic_compressor.egg-info/requires.txt
RENAMED
File without changes
|
{semantic_compressor-1.7 → semantic_compressor-1.8}/semantic_compressor.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|