ibatra / BERT-Keyword-Extractor

Deep Keyphrase Extraction using BERT
256 stars 71 forks source link

How to deal with longer input? #7

Closed simba-pumba closed 4 years ago

simba-pumba commented 4 years ago

I am going to use BERT-based Keyword Extraction. But MAX_LENGTH config is set to 75, so is it okay to change this value? As far as I know, BERT has a MAX input length of 512, but I would like to ask you how to solve it if you want to put a much longer input.

ibatra commented 4 years ago

Its okay to change the value!