8000 self-supervised entity linker · Issue #19 · allenai/kb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

self-supervised entity linker #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasion 8000 ally send you account related emails.

Already on GitHub? Sign in to your account

Open
abdkiwan opened this issue Mar 30, 2020 · 4 comments
Open

self-supervised entity linker #19

abdkiwan opened this issue Mar 30, 2020 · 4 comments

Comments

@abdkiwan
Copy link

Thanks for making the code available online.
I want to insert a new knowledge graph like (ConceptNet) into KnowBert. To do that I need to train an entity linker for it. However, I don't have labelled data for the entity linker, and as I understood from the paper, it is possible to train the linker in a self-supervised way.
How to adapt the configuration files in order to do this task ?

Thanks in advance

@matt-peters
Copy link
Contributor

We haven't tried to integrate ConceptNet, but it should be relatively straightforward as previous approaches (cited in our paper) have just used some variant of string match to find relevant KB nodes. The code is configured to only use the entity linking loss if there is entity linking supervision, so removing the relevant sections from the config file (the entity_linking sections here: https://github.com/allenai/kb/blob/master/training_config/pretraining/knowbert_wordnet.jsonnet#L38 and https://github.com/allenai/kb/blob/master/training_config/pretraining/knowbert_wordnet.jsonnet#L86) will take care of most of it.

@abdkiwan
Copy link
Author
abdkiwan commented Apr 1, 2020

Thanks for the reply.
I tried your solution but I got some errors in the dataset_reader and iterator.
How should their parameters be ?
Would be possible if you provide the full json object for (dataset_reader - iterator) ?

thanks in advance

@matt-peters
Copy link
Contributor

I haven't run experiments without the entity linking annotation so unfortunately can't easily provide a config file.

@ilyalasy
Copy link
ilyalasy commented Oct 8, 2021

Hey, @abdkiwan, did you achieve any results in your task?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0