MCPcopy Create free account
hub / github.com/google-research/language / decode

Method decode

language/serene/preprocessing.py:627–628  ·  view source on GitHub ↗
(self, ids)

Source from the content-addressed store, hash-verified

625 return tokens, word_ids, masks, segment_ids
626
627 def decode(self, ids):
628 raise NotImplementedError()
629
630 def vocab_size(self):
631 return len(self._tokenizer.vocab)

Callers 15

generate_examplesFunction · 0.45
__init__Method · 0.45
hotpot_eval_fnFunction · 0.45
fetch_aliasesMethod · 0.45
get_nameMethod · 0.45
get_aliasesMethod · 0.45
mainFunction · 0.45
process_tfrFunction · 0.45
encodeMethod · 0.45
encodeMethod · 0.45
unwrap_tensorFunction · 0.45
tf_to_strFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_lowercaseMethod · 0.36