K-BERT icon indicating copy to clipboard operation
K-BERT copied to clipboard

Source code of K-BERT (AAAI2020)

Results 59 K-BERT issues
Sort by recently updated
recently updated
newest added

您好,首先很感谢您对代码的分享!近期我在研究使用知识图谱进行文本分类的工作,在使用您的模型时,我发现三分类任务的性能相比二分类差距较大,因此想尝试更换更大的模型如bert-large。我想咨询一下,是不是下载bert-large之后下载uer/bert/bert-large-config就可以使用了?如果有必要的话,我还需要执行哪些操作以实现我的目的?

In the paper, I can see in the tables comparisons made between "K-BERT(Google)" and "K-BERT(Ours)". Shouldn't we also compare how K-BERT and BERT compete on a downstream task like relation...

您好,感谢您的分享 我有一个小问题请教,我们在注入三元组信息的时候通过实体进行注入,如此以来,我们好像已经告诉了机器谁是实体,再因此去识别实体是不是有一种“作弊”的行为呢

作者您好,我在阅读论文的过程中有些疑问,关于文中提到的K_Query以及K_Inject方法,这篇文章在导入实体与关系时以三元组的形式导出为spo格式的文件,那么在构造句子树的过程中,是如何将三元组信息添加到输入文本中的呢?比如Tim Cook CEO Apple...如何将CEO Apple加入到句子中的呢 ?关键词匹配还是通过学习spo文件中的信息,模型学到了这个关系 ,直接添加进去呢?K_Query以及K_Inject可以提供一个具体的解释吗?非常感谢!!!

您好,非常感谢您分享的额开源代码 请问我想要根据您所提出的k-bert使用我们自己构建的垂直领域知识图谱进行微调应该怎么做呢

Fix a typo in the README file.

Hello. I run the model with my custom dataset. However, it returns "ZeroDivisionError" as follows. What the most possible troubleshoot for this? Is there something wrong with the dataset? Thank...

Hello, How are you enforcing the -inf condition if the two words are not in the same branch ? In the code you are setting both the places as 1,...