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

Does the Ranking model currently only support one hop? #12

Closed
LLLLLLoki opened this issue Feb 10, 2022 · 1 comment
Closed

Does the Ranking model currently only support one hop? #12

LLLLLLoki opened this issue Feb 10, 2022 · 1 comment

Comments

@LLLLLLoki
Copy link

LLLLLLoki commented Feb 10, 2022

For what reason does the Ranking model currently only support one hop?
the code search over graphs.py at 187

The alpha version only considers one entity and one step
def generate_all_logical_forms_alpha(entity: str,
domains: List[str] = None,
offline=True):

@entslscheia
Copy link
Collaborator

Hi,

For ranking model, we support both one-hop and two-hops queries. Also, we iterate over all identified entities for candidate query enumeration. You can check the code here.

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

2 participants