From 3e2751fbaf24ef0fbd2234ad82a6047a7f4ff802 Mon Sep 17 00:00:00 2001 From: Rene Ravenel Date: Thu, 29 Aug 2024 11:13:47 -0700 Subject: [PATCH] Arg name correction: auth_token -> token --- bindings/python/py_src/tokenizers/__init__.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/py_src/tokenizers/__init__.pyi b/bindings/python/py_src/tokenizers/__init__.pyi index 0ad96fc8a..6c731ff0a 100644 --- a/bindings/python/py_src/tokenizers/__init__.pyi +++ b/bindings/python/py_src/tokenizers/__init__.pyi @@ -971,7 +971,7 @@ class Tokenizer: pass @staticmethod - def from_pretrained(identifier, revision="main", auth_token=None): + def from_pretrained(identifier, revision="main", token=None): """ Instantiate a new :class:`~tokenizers.Tokenizer` from an existing file on the Hugging Face Hub. @@ -982,7 +982,7 @@ class Tokenizer: a tokenizer.json file revision (:obj:`str`, defaults to `main`): A branch or commit id - auth_token (:obj:`str`, `optional`, defaults to `None`): + token (:obj:`str`, `optional`, defaults to `None`): An optional auth token used to access private repositories on the Hugging Face Hub