MCPcopy Create free account
hub / github.com/cedrickchee/transformers-llama / BatchEncoding

Class BatchEncoding

src/transformers/tokenization_utils_base.py:163–761  ·  view source on GitHub ↗

Holds the output of the [`~tokenization_utils_base.PreTrainedTokenizerBase.__call__`], [`~tokenization_utils_base.PreTrainedTokenizerBase.encode_plus`] and [`~tokenization_utils_base.PreTrainedTokenizerBase.batch_encode_plus`] methods (tokens, attention_masks, etc). This class is d

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls

no outgoing calls