memray/seq2seq-keyphrase-pytorch

How to extract my own keyphrase?

Closed this issue · 1 comments

Hello:

I think your code is amazing but the README is too few to understand.
Excuse me, How to extract my own keyphrase?

  • which one is the main entry file
  • What data format should be input

Thanks you!!!

Best regards.

train.py: entry for preprocessing datasets in JSON format.
train.py: entry for training models.
predict.py: entry for generating phrases with well-trained models (checkpoints).

Please refer to these scripts as examples, which may offer some clues about how to run the code.