allenai / kb

KnowBert -- Knowledge Enhanced Contextual Word Representations
Apache License 2.0
370 stars 50 forks source link

Is there a way to convert the current model's format to the format of HuggingFace BERT models? #24

Open xuuuluuu opened 4 years ago

xuuuluuu commented 4 years ago

Is there a way to convert the current format to the format of HuggingFace BERT models?

matt-peters commented 4 years ago

It could be done but would require some work. KnowBert adds significant functionality to BERT (the integrated entity linkers, entity-span attention, span-span attention, etc.) that would need to be ported to HuggingFace.

lshowway commented 2 years ago

@xuuuluuu For data processing and modeling, KnowBERT_huggingface may help you.