@@ -38,8 +38,6 @@ class M3Embedder(AbsEmbedder):
3838 batch_size (int, optional): Batch size for inference. Defaults to :data:`256`.
3939 query_max_length (int, optional): Maximum length for query. Defaults to :data:`512`.
4040 passage_max_length (int, optional): Maximum length for passage. Defaults to :data:`512`.
41- instruction (Optional[str], optional): Instruction for embedding with :attr:`instruction_format`. Defaults to :data:`None`.
42- instruction_format (str, optional): Instruction format when using :attr:`instruction`. Defaults to :data:`"{}{}"`.
4341 return_dense (bool, optional): If true, will return the dense embedding. Defaults to :data:`True`.
4442 return_sparse (bool, optional): If true, will return the sparce embedding. Defaults to :data:`False`.
4543 return_colbert_vecs (bool, optional): If true, will return the colbert vectors. Defaults to :data:`False`.
@@ -66,8 +64,6 @@ def __init__(
6664 batch_size : int = 256 ,
6765 query_max_length : int = 512 ,
6866 passage_max_length : int = 512 ,
69- instruction : Optional [str ] = None ,
70- instruction_format : str = "{}{}" ,
7167 return_dense : bool = True ,
7268 return_sparse : bool = False ,
7369 return_colbert_vecs : bool = False ,
@@ -83,8 +79,6 @@ def __init__(
8379 batch_size = batch_size ,
8480 query_max_length = query_max_length ,
8581 passage_max_length = passage_max_length ,
86- instruction = instruction ,
87- instruction_format = instruction_format ,
8882 return_dense = return_dense ,
8983 return_sparse = return_sparse ,
9084 return_colbert_vecs = return_colbert_vecs ,
0 commit comments