Views
No views yet
1>>> from transformers import BertForMaskedLM
2>>> model = BertForMaskedLM.from_pretrained(pretrained_model_name_or_path="zjunlp/KGEditor", subfolder="E-FB15k237")1@article{DBLP:journals/corr/abs-2301-10405,
2 author = {Siyuan Cheng and
3 Ningyu Zhang and
4 Bozhong Tian and
5 Zelin Dai and
6 Feiyu Xiong and
7 Wei Guo and
8 Huajun Chen},
9 title = {Editing Language Model-based Knowledge Graph Embeddings},
10 journal = {CoRR},
11 volume = {abs/2301.10405},
12 year = {2023},
13 url = {https://doi.org/10.48550/arXiv.2301.10405},
14 doi = {10.48550/arXiv.2301.10405},
15 eprinttype = {arXiv},
16 eprint = {2301.10405},
17 timestamp = {Thu, 26 Jan 2023 17:49:16 +0100},
18 biburl = {https://dblp.org/rec/journals/corr/abs-2301-10405.bib},
19 bibsource = {dblp computer science bibliography, https://dblp.org}
20}