inspirehep / magpie

Deep neural network framework for multi-label text classification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How magpie uses title and text

aburkov opened this issue · comments

Hi! In the training data examples, in *.txt files, there are two lines: the title and the abstract. How does Magpie deals with these two lines? Does it simply concatenate them together? I'm asking because at the prediction time the method "predict_from_text" only takes one parameter, so I suppose that the title is not used somehow differently from the abstract, right?

@aburkov yes yes, they're just concatenated together. Adding a new line is treated as an end of sentence.