Add pydocstyle to the ruff rules (#52136)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Signed-off-by: Harry Mellor <hej.mellor@gmail.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
804e5377aa
commit
8c1557a79c
@@ -46,8 +46,8 @@ def detect_token_suffix(tokenizer: TokenizerLike) -> str:
|
||||
RuntimeError: The tokenizer declares the structural tokens through
|
||||
``model_specific_special_tokens``, which transformers 5 no longer
|
||||
round-trips.
|
||||
"""
|
||||
|
||||
"""
|
||||
import transformers
|
||||
|
||||
if int(transformers.__version__.split(".")[0]) >= 5:
|
||||
|
||||
Reference in New Issue
Block a user