Hi, thanks for the excellent work!
In your repository, I see format of relation extraction label you save from dataset (link):
el_labels = np.ones(self.max_seq_length, dtype=int) * self.max_seq_lengthel_labels[word_to] = word_from
where el_labels[i] = jmeans words[j] link to words[i] and words[j] is question, words[i] is answer.
In this way, one word (label is answer) can be only linked by one word (label is question) . What happen if there are many words (label is question) that have same connection to one word(label is answer). May it cause loss links (connections) ?
Hi, thanks for the excellent work! In your repository, I see format of relation extraction label you save from dataset (link):
el_labels = np.ones(self.max_seq_length, dtype=int) * self.max_seq_length
el_labels[word_to] = word_from
whereel_labels[i] = j
means words[j] link to words[i] and words[j] is question, words[i] is answer. In this way, one word (label is answer) can be only linked by one word (label is question) . What happen if there are many words (label is question) that have same connection to one word(label is answer). May it cause loss links (connections) ?