class_docstr: Problem spec for parsing tokenized Icelandic text to constituency trees.
code: def hparams(self, defaults, unused_model_hparams):
      p = defaults
      p.modality = {
          "inputs": modalities.ModalityType.SYMBOL,
          "targets": modalities.ModalityType.SYMBOL,
      }
      p.vocab_size = {
          "inputs": self._encoders["inputs"].vocab_size,
          "targets": self.targeted_vocab_size,
      }
      p.input_space_id = self.input_space_id
      p.target_space_id = self.target_space_id
      p.loss_multiplier = 2.5
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  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 text_problems
  from tensor2tensor.layers import modalities
  from tensor2tensor.utils import registry
label_desc: Use image node_id 8 for calling the ParsingIcelandic16k obj's underlying member method code with example usage: obj.hparams(defaults, unused_model_hparams) without return types