class_docstr: Base class for Wikisum problems.
class_docstr_tok: ["Base","class","for","Wikisum","problems","."]
code: def hparams(self, defaults, unused_model_hparams):
      p = defaults
      p.stop_at_eos = True
  
      p.vocab_size = {
          "inputs": self._encoders["inputs"].vocab_size,
          "targets": self._encoders["targets"].vocab_size,
      }
      p.modality = {
          "inputs": modalities.ModalityType.SYMBOL,
          "targets": modalities.ModalityType.SYMBOL,
      }
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import json
  import math
  import os
  import re
  import string
  import tempfile
  import six
  from tensor2tensor.data_generators import generator_utils
  from tensor2tensor.data_generators import problem
  from tensor2tensor.data_generators import text_encoder
  from tensor2tensor.data_generators import tokenizer
  from tensor2tensor.data_generators.wikisum import utils
  from tensor2tensor.layers import modalities
  from tensor2tensor.utils import metrics
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
label_desc: Use image node_id 5 for calling the WikisumBase obj's underlying member method code with example usage: obj.hparams(defaults, unused_model_hparams) without return types