We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c9b3147 + 91a769d commit 70abef2Copy full SHA for 70abef2
1 file changed
turftopic/encoders/base.py
@@ -8,7 +8,7 @@ class ExternalEncoder(ABC):
8
"""Base class for external encoder models."""
9
10
@abstractmethod
11
- def encode(sentences: Iterable[str]) -> np.ndarray:
+ def encode(self, sentences: Iterable[str]) -> np.ndarray:
12
"""Encodes sentences into an embedding matrix.
13
14
Parameters
0 commit comments