MCPcopy
hub / github.com/microsoft/Magma / decode

Method decode

magma/processing_magma.py:129–134  ·  view source on GitHub ↗

This method forwards all its arguments to LlamaTokenizerFast's [`~PreTrainedTokenizer.decode`]. Please refer to the docstring of this method for more information.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

127
128 # Copied from transformers.models.clip.processing_clip.CLIPProcessor.decode with CLIP->Llama
129 def decode(self, *args, **kwargs):
130 """
131 This method forwards all its arguments to LlamaTokenizerFast's [`~PreTrainedTokenizer.decode`]. Please refer to
132 the docstring of this method for more information.
133 """
134 return self.tokenizer.decode(*args, **kwargs)
135
136 @property
137 # Copied from transformers.models.clip.processing_clip.CLIPProcessor.model_input_names

Callers 10

tok_decodeMethod · 0.80
generate_untilMethod · 0.80
__call__Method · 0.80
__call__Method · 0.80
__call__Method · 0.80
test_predictionFunction · 0.80
generate_responseFunction · 0.80
get_som_labeled_imgFunction · 0.80
is_english_simpleFunction · 0.80
play_gameFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_predictionFunction · 0.64