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

Method batch_decode

magma/processing_magma.py:121–126  ·  view source on GitHub ↗

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

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

119
120 # Copied from transformers.models.clip.processing_clip.CLIPProcessor.batch_decode with CLIP->Llama
121 def batch_decode(self, *args, **kwargs):
122 """
123 This method forwards all its arguments to LlamaTokenizerFast's [`~PreTrainedTokenizer.batch_decode`]. Please
124 refer to the docstring of this method for more information.
125 """
126 return self.tokenizer.batch_decode(*args, **kwargs)
127
128 # Copied from transformers.models.clip.processing_clip.CLIPProcessor.decode with CLIP->Llama
129 def decode(self, *args, **kwargs):

Callers 6

__call__Method · 0.80
get_som_responseFunction · 0.80
get_qa_responseFunction · 0.80
get_parsed_content_iconFunction · 0.80
inferenceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected