Closed FabienRoger closed 1 year ago
Hi, The custom keyword functionality was only used for demo.py in case anyone wanted to exclude any keywords or proper nouns that are not detected by the spacy model.
If you'd like to use for imdb as well, just add this line in ours.py
.
The InfillModel will handle it afterwards and exclude it from being masked out.
Hope this helps!
Hi @FabienRoger I am closing the issue due to inactivity. Feel free to open it if there is another issue.
Some weights of the model checkpoint at bert-base-cased were not used when initializing BertForMaskedLM: ['bert.pooler.dense.bias', 'cls.seq_relationship.bias', 'cls.seq_relationship.weight', 'bert.pooler.dense.weight']
When running
scripts/example/run-imdb.sh
I get the following stack trace: