We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ExternalEncoder
1 parent 61293a2 commit 321655aCopy full SHA for 321655a
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