class_docstr: Produces labels for a joint Group Relation / Sequence Labeling model.
  
  Sequence labels are packed into the group relation labels in the form of an
  additional group added to the end.
class_docstr_tok: ["Produces","labels","for","a","joint","Group","Relation","\/","Sequence","Labeling","model",".","Sequence","labels","are","packed","into","the","group","relation","labels","in","the","form","of","an","additional","group","added","to","the","end","."]
code: def __init__(self, pad_token, n_groups, bio_tagging=False):
      SequenceLabelingEncoder.__init__(
          self, pad_token, bio_tagging=bio_tagging
      )
      GroupRelationEncoder.__init__(self, pad_token, n_groups)
  
imports: from abc import ABCMeta
  import logging
  import json
  import numpy
  from finetune.encoding.target_encoders import BaseEncoder, Seq2SeqLabelEncoder, SequenceLabelingEncoder
label_desc: Use image node_id 1 to create a new JointGroupRelationEncoder object from inherited base classes: GroupRelationEncoder, SequenceLabelingEncoder with example: obj = JointGroupRelationEncoder(pad_token, n_groups, bio_tagging)