Skip to content

Commit c10e501

Browse files
fix: right command to install HF dependencies in warning
Related to c7307f5 Co-authored-by: Cédric Couralet <cedric.couralet@insee.fr>
1 parent ede273b commit c10e501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchTextClassifiers/tokenizers/WordPiece.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
if not HAS_HF:
88
raise ImportError(
9-
"The HuggingFace dependencies are needed to use this tokenizer. Please run 'uv add torchTextClassifiers --group hf-dep."
9+
"The HuggingFace dependencies are needed to use this tokenizer. Please run 'uv add torchTextClassifiers --extra huggingface."
1010
)
1111
else:
1212
from tokenizers import (

0 commit comments

Comments
 (0)