python stub.py

This commit is contained in:
Arthur Zucker
2023-09-05 17:33:14 +00:00
parent f435af8b71
commit a7ace4480d

View File

@@ -899,6 +899,14 @@ class Tokenizer:
:class:`~tokenizers.Tokenizer`: The new tokenizer
"""
pass
def get_added_tokens_decoder(self):
"""
Get the underlying vocabulary
Returns:
:obj:`Dict[int, AddedToken]`: The vocabulary
"""
pass
def get_vocab(self, with_added_tokens=True):
"""
Get the underlying vocabulary