HGAT icon indicating copy to clipboard operation
HGAT copied to clipboard

Possible missing code (build_features.py)

Open abhinab303 opened this issue 4 years ago • 2 comments

image

build_features.py line 111: Is this line trying to replace the original corpus? I think it does nothing now. This information is also used in function: preprocess_corpus_notDropEntity

can I replace that line with this? corpus[int(index2ind[int(ind)])] = corpus[int(index2ind[int(ind)])].replace(ori, ent)

abhinab303 avatar Sep 27 '20 04:09 abhinab303

Yes, it's so wired. How's your try?@abhinab303

jimmy-walker avatar Sep 29 '20 07:09 jimmy-walker

Yes, it's so wired. How's your try?@abhinab303

Hi there, sorry for late reply. We tried changing that line. But the difference is not much (1% change in f1 score). We are not getting good score for our dataset. Graph provided by the author works fine.

I have a simple question. For agnews dataset, do we use the title or the description for the "document"?

abhinab303 avatar Nov 08 '20 06:11 abhinab303