Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/huggingface/transformers
/ keys
Method
keys
src/transformers/tokenization_utils_base.py:199–200 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
197
self._encodings = state[
"encodings"
]
198
199
def
keys(self):
200
return
self.data.keys()
201
202
def
values(self):
203
return
self.data.values()
Callers
15
run_xxx.py
File · 0.80
forward
Method · 0.80
load_tf_weights_in_xlnet
Function · 0.80
infer_shapes
Function · 0.80
from_pretrained
Method · 0.80
__init__
Method · 0.80
from_config
Method · 0.80
from_pretrained
Method · 0.80
from_config
Method · 0.80
from_pretrained
Method · 0.80
from_config
Method · 0.80
from_pretrained
Method · 0.80
Calls
no outgoing calls
Tested by
15
_config_zero_init
Function · 0.64
_create_and_check_torchscript
Method · 0.64
merge_model_tokenizer_mappings
Function · 0.64
convert_batch_encode_plus_format_to_encode_plus
Method · 0.64
test_pretrained_model_lists
Method · 0.64
test_batch_encode_plus_batch_sequence_length
Method · 0.64
test_pretokenized_inputs
Method · 0.64
test_batch_encode_plus_tensors
Method · 0.64
test_torch_encode_plus_sent_to_model
Method · 0.64
test_tf_encode_plus_sent_to_model
Method · 0.64
test_np_encode_plus_sent_to_model
Method · 0.64
test_tokenizer_from_pretrained
Method · 0.64