Methodforward(self, input_ids: torch.LongTensor, attention_mask=None, token_type_ids=None, token_span=None, **kwargs)
hanlp/layers/transformers/encoder.py:97
Methodget_list_data(self, amr, bos=None, eos=None, bert_tokenizer=None, max_tgt_length=None)
plugins/hanlp_common/hanlp_common/amr.py:549
Methodget_loss(self, arc_scores, rel_scores, arcs, rels, mask, arc_loss, rel_loss)
hanlp/components/parsers/biaffine_parser_tf.py:371
Methodget_loss(self, arc_scores, rel_scores, arcs, rels, mask, arc_loss, rel_loss)
hanlp/components/parsers/biaffine_parser_tf.py:552