mirror of
https://github.com/mii443/tokenizers.git
synced 2025-12-03 19:28:20 +00:00
python stub.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user