MCPcopy Create free account
hub / github.com/dqwang122/HeterSumGraph / __init__

Method __init__

module/dataloader.py:59–95  ·  view source on GitHub ↗

Initializes the Example, performing tokenization and truncation to produce the encoder, decoder and target sequences, which are stored in self. :param article_sents: list(strings) for single document or list(list(string)) for multi-document; one per article sentence. each token is separate

(self, article_sents, abstract_sents, vocab, sent_max_len, label)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 2

_pad_encoder_inputMethod · 0.95
word2idMethod · 0.80

Tested by

no test coverage detected