We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f3f80 commit aed0987Copy full SHA for aed0987
autointent/modules/scoring/_sklearn/sklearn_scorer.py
@@ -9,7 +9,7 @@
9
from typing_extensions import Self
10
11
from autointent import Context, Embedder
12
-from autointent.custom_types import LabelType
+from autointent.custom_types import ListOfLabels
13
from autointent.modules.abc import ScoringModule
14
15
logger = logging.getLogger(__name__)
@@ -103,7 +103,7 @@ def from_context(
103
def fit(
104
self,
105
utterances: list[str],
106
- labels: list[LabelType],
+ labels: ListOfLabels,
107
) -> None:
108
"""
109
Train the chosen sklearn classifier.
0 commit comments