Skip to content
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 occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Code to use trained model for Entity Linking #4

Open
dungtn opened this issue Aug 17, 2020 · 4 comments
Open

[Feature Request] Code to use trained model for Entity Linking #4

dungtn opened this issue Aug 17, 2020 · 4 comments

Comments

@dungtn
Copy link

dungtn commented Aug 17, 2020

Hi @izuna385,

Great work! I want to use your codebase for a downstream task. I find it a bit hard to modify the code to run prediction on given sentences. Can you please help?

Best!

@izuna385
Copy link
Owner

Currently I'm developing more user-friendly linking tool but yes PRs are welcome!
Thanks

@ruanchaves
Copy link

I just built a simple Flask server around a slightly modified version of this repository. You can take a look at my fork ( specially the src/client.py and src/api.py files ).

I won't submit a PR as it looks like a hack, but maybe it can give you some ideas.

@JLUGQQ
Copy link

JLUGQQ commented Apr 12, 2022

I just built a simple Flask server around a slightly modified version of this repository. You can take a look at my fork ( specially the src/client.py and src/api.py files ).

I won't submit a PR as it looks like a hack, but maybe it can give you some ideas.

Maybe the source data was changed. I run your code and your code had a error that "FileNotFoundError: [Errno 2] No such file or directory: './data/documents/wikipedia.json'" when I run the preprocess.py

@ruanchaves
Copy link

ruanchaves commented Apr 12, 2022

@JLUGQQ You're right, somebody deleted the wikipedia.json from the file, maybe because it was eating up too much space on their Drive.

Anyway, I have a backup of the original source data, you can download it here: zeshel.tar.bz2

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

4 participants