Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

test: isolate uncentered LEMUR coverage

morgan-coded90f7cc2078dd
diff --git a/test/python/testmodels/testpooling.py b/test/python/testmodels/testpooling.py
index bfbd35fe..49896963 100644
--- a/test/python/testmodels/testpooling.py
+++ b/test/python/testmodels/testpooling.py
@@ -272,7 +272,7 @@ class TestPooling(unittest.TestCase):
seed=42,
)
- pooling = PoolingFactory.create({"path": model, "device": self.device, "modelargs": {"lemur": {"path": output}}})
+ pooling = PoolingFactory.create({"path": model, "device": self.device, "modelargs": {"lemur": {"path": output}, "center": False}})
texts = ["Short text.", "A considerably longer synthetic document exercises padding behavior."]
queries = pooling.encode(texts, category="query")
documents = pooling.encode(texts, category="data")