class_docstr: BERT masked LM using Huggingface Transformers and TensorFlow 2.
class_docstr_tok: ["BERT","masked","LM","using","Huggingface","Transformers","and","TensorFlow","2","."]
code: def output_spec(self):
      return {
          "tokens": lit_types.Tokens(parent="text"),
          "pred_tokens": lit_types.TokenTopKPreds(align="tokens"),
          "cls_emb": lit_types.Embeddings(),
      }
  
imports: import re
  from lit_nlp.api import model
  from lit_nlp.api import types
  from lit_nlp.examples.models import model_utils
  from lit_nlp.lib import file_cache
  from lit_nlp.lib import utils
  import numpy
  import tensorflow
  import transformers
label_desc: Use image node_id 10 for calling the BertMLM obj's underlying member method code with example usage: obj.output_spec() and returns: dict