MaartenGr / KeyBERT

Minimal keyword extraction with BERT
https://MaartenGr.github.io/KeyBERT/
MIT License
3.31k stars 337 forks source link

Failed to use albert_chinese_tiny, can you give some solution strategy? #145

Closed Duanmu0312 closed 1 year ago

Duanmu0312 commented 1 year ago

For example, https://huggingface.co/clue/albert_chinese_tiny

Duanmu0312 commented 1 year ago

I have solved this problem by adding "tokenizer_class": "BertTokenizer", to bert_chinese_tiny/config.json, thanks.