-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
knowledge graph example #934
Conversation
…ased on evaluation on labelled data
d595c60
to
aa0e670
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, once the proposed changes are in (or dismissed) I am fine from the Text2Sparql side. Lets get @oryx1729 feedback for the KG part.
dd55c66
to
cd26ab3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
c1e18cb
to
f3e2490
Compare
This PR adds:
closes #917 #918 #919
Limitations:
Unfortunately, there seems to be no easy way to run the tutorial in google colab notebooks because GraphDB cannot be installed automatically. GraphDB requires filling out a form to download installer files: https://www.ontotext.com/products/graphdb/graphdb-free/
The number of beams in beam search
num_beams
is not parameterized but fixed to 5.The Text2SparqlRetriever is fixed to BartForConditionalGeneration models and could be generalized so that it works with any seq2seq model.