Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Fix test

davidmezzettia84f0a388c4e
diff --git a/test/python/testpipeline/testtrain/testtrainer.py b/test/python/testpipeline/testtrain/testtrainer.py
index d92ce8c8..86a029df 100644
--- a/test/python/testpipeline/testtrain/testtrainer.py
+++ b/test/python/testpipeline/testtrain/testtrainer.py
@@ -162,13 +162,13 @@ class TestTrainer(unittest.TestCase):
return ["text", "label"]
# pylint: disable=W0613
- def map(self, fn, batched, num_proc, remove_columns):
+ def map(self, fn, batched, batch_size, num_proc, remove_columns):
"""
Map each dataset row using fn.
Args:
fn: function
- batched: batch records
+ args: additional keyword args
Returns:
updated Dataset