Skip to content

Commit

Permalink
Fix seq class initialization
Browse files Browse the repository at this point in the history
Signed-off-by: Alex-Brooks <[email protected]>
  • Loading branch information
alex-jw-brooks committed Sep 12, 2023
1 parent 0161d72 commit fca1afa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def bootstrap(cls, *args, **kwargs) -> "HFAutoSequenceClassifier":
return super().bootstrap(*args, return_dict=True, **kwargs)

@staticmethod
def build_task_tokenize_closure(*args, **kwargs) -> Tuple[Callable, bool]:
def tokenize_function(*args, **kwargs) -> Tuple[Callable, bool]:
raise NotImplementedError(
"Tokenize func builder not implemented for sequence classifier"
"Tokenize func not implemented for sequence classifier"
)

0 comments on commit fca1afa

Please sign in to comment.