This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified ActionSpaceWalker to use DomainLanguage (#3006)
* moved action space walker and lf search script from iterative search * action space walker uses DomainLanguage * modified script for searching nlvr logical forms * addressed PR comments * mypy fix
- Loading branch information
Showing
5 changed files
with
225 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
from allennlp.semparse.domain_languages.domain_language import (DomainLanguage, START_SYMBOL, | ||
predicate, predicate_with_side_args) | ||
from allennlp.semparse.common.errors import ParsingError, ExecutionError | ||
from allennlp.semparse.domain_languages.nlvr_language import NlvrLanguage | ||
from allennlp.semparse.domain_languages.quarel_language import QuaRelLanguage | ||
from allennlp.semparse.domain_languages.wikitables_language import WikiTablesLanguage |
Oops, something went wrong.