├── .flake8 ├── .github ├── dependabot.yml └── workflows │ └── main.yml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── allennlp_semparse ├── __init__.py ├── common │ ├── __init__.py │ ├── action_space_walker.py │ ├── date.py │ ├── errors.py │ ├── knowledge_graph.py │ ├── sql │ │ ├── __init__.py │ │ └── text2sql_utils.py │ ├── util.py │ └── wikitables │ │ ├── __init__.py │ │ ├── table_question_context.py │ │ └── wikitables_evaluator.py ├── dataset_readers │ ├── __init__.py │ ├── atis.py │ ├── grammar_based_text2sql.py │ ├── nlvr.py │ ├── template_text2sql.py │ └── wikitables.py ├── domain_languages │ ├── __init__.py │ ├── domain_language.py │ ├── nlvr_language.py │ └── wikitables_language.py ├── fields │ ├── __init__.py │ ├── knowledge_graph_field.py │ └── production_rule_field.py ├── models │ ├── __init__.py │ ├── atis │ │ ├── __init__.py │ │ └── atis_semantic_parser.py │ ├── nlvr │ │ ├── __init__.py │ │ ├── nlvr_coverage_semantic_parser.py │ │ ├── nlvr_direct_semantic_parser.py │ │ └── nlvr_semantic_parser.py │ ├── text2sql_parser.py │ └── wikitables │ │ ├── __init__.py │ │ ├── wikitables_erm_semantic_parser.py │ │ ├── wikitables_mml_semantic_parser.py │ │ └── wikitables_semantic_parser.py ├── nltk_languages │ ├── __init__.py │ ├── contexts │ │ └── __init__.py │ ├── type_declarations │ │ ├── __init__.py │ │ └── type_declaration.py │ └── worlds │ │ ├── __init__.py │ │ └── world.py ├── parsimonious_languages │ ├── __init__.py │ ├── contexts │ │ ├── __init__.py │ │ ├── atis_sql_table_context.py │ │ ├── atis_tables.py │ │ ├── sql_context_utils.py │ │ └── text2sql_table_context.py │ ├── executors │ │ ├── __init__.py │ │ └── sql_executor.py │ └── worlds │ │ ├── __init__.py │ │ ├── atis_world.py │ │ └── text2sql_world.py ├── predictors │ ├── __init__.py │ ├── atis_parser.py │ ├── nlvr_parser.py │ └── wikitables_parser.py ├── state_machines │ ├── __init__.py │ ├── beam_search.py │ ├── constrained_beam_search.py │ ├── states │ │ ├── __init__.py │ │ ├── checklist_statelet.py │ │ ├── coverage_state.py │ │ ├── grammar_based_state.py │ │ ├── grammar_statelet.py │ │ ├── lambda_grammar_statelet.py │ │ ├── rnn_statelet.py │ │ └── state.py │ ├── trainers │ │ ├── __init__.py │ │ ├── decoder_trainer.py │ │ ├── expected_risk_minimization.py │ │ └── maximum_marginal_likelihood.py │ ├── transition_functions │ │ ├── __init__.py │ │ ├── basic_transition_function.py │ │ ├── coverage_transition_function.py │ │ ├── linking_coverage_transition_function.py │ │ ├── linking_transition_function.py │ │ └── transition_function.py │ └── util.py └── version.py ├── codecov.yml ├── dev-requirements.txt ├── pyproject.toml ├── pytest.ini ├── requirements.txt ├── scripts ├── examine_sql_coverage.py ├── get_version.py ├── nlvr │ ├── generate_data_from_erm_model.py │ ├── get_nlvr_logical_forms.py │ ├── group_nlvr_worlds.py │ └── sed_commands.txt ├── reformat_text2sql_data.py └── wikitables │ ├── generate_data_from_erm_model.py │ ├── preprocess_data.py │ └── search_for_logical_forms.py ├── setup.py ├── test_fixtures ├── atis │ ├── experiment.json │ └── serialization │ │ ├── best.th │ │ ├── model.tar.gz │ │ └── vocabulary │ │ ├── non_padded_namespaces.txt │ │ ├── rule_labels.txt │ │ └── tokens.txt ├── data │ ├── atis │ │ └── sample.json │ ├── corenlp_processed_tables │ │ ├── TEST-1.table │ │ ├── TEST-10.table │ │ ├── TEST-11.table │ │ ├── TEST-2.table │ │ ├── TEST-3.table │ │ ├── TEST-4.table │ │ ├── TEST-5.table │ │ ├── TEST-6.table │ │ ├── TEST-7.table │ │ ├── TEST-8.table │ │ └── TEST-9.table │ ├── nlvr │ │ ├── sample_grouped_data.jsonl │ │ ├── sample_processed_data.jsonl │ │ └── sample_ungrouped_data.jsonl │ ├── quarel.jsonl │ ├── text2sql │ │ ├── restaurants-schema.csv │ │ ├── restaurants.db │ │ └── restaurants_tiny.json │ └── wikitables │ │ ├── action_space_walker_output │ │ ├── nt-0.gz │ │ └── nt-1.gz │ │ ├── action_space_walker_output_with_single_tarball │ │ └── all_lfs_tarball.tar.gz │ │ ├── dpd_output │ │ ├── nt-0.gz │ │ ├── nt-1.gz │ │ └── nt-64.gz │ │ ├── lots_of_ors_example.examples │ │ ├── sample_data.examples │ │ ├── sample_data_preprocessed.jsonl │ │ ├── sample_table.tagged │ │ ├── sample_table.tsv │ │ ├── sample_table_with_date.tsv │ │ └── tables │ │ ├── 109.tsv │ │ ├── 341.tagged │ │ ├── 346.tagged │ │ ├── 590.csv │ │ ├── 590.tagged │ │ ├── 590.tsv │ │ ├── 622.csv │ │ ├── 622.tagged │ │ └── 622.tsv ├── elmo │ ├── config │ │ └── characters_token_embedder.json │ ├── elmo_token_embeddings.hdf5 │ ├── lm_embeddings_0.hdf5 │ ├── lm_embeddings_1.hdf5 │ ├── lm_embeddings_2.hdf5 │ ├── lm_weights.hdf5 │ ├── options.json │ ├── sentences.json │ └── vocab_test.txt ├── nlvr_coverage_semantic_parser │ ├── experiment.json │ ├── mml_init_experiment.json │ ├── serialization │ │ ├── best.th │ │ ├── model.tar.gz │ │ └── vocabulary │ │ │ ├── denotations.txt │ │ │ ├── non_padded_namespaces.txt │ │ │ ├── rule_labels.txt │ │ │ └── tokens.txt │ └── ungrouped_experiment.json ├── nlvr_direct_semantic_parser │ ├── experiment.json │ └── serialization │ │ ├── best.th │ │ ├── model.tar.gz │ │ └── vocabulary │ │ ├── denotations.txt │ │ ├── non_padded_namespaces.txt │ │ ├── rule_labels.txt │ │ └── tokens.txt ├── text2sql │ └── experiment.json └── wikitables │ ├── experiment-elmo-no-features.json │ ├── experiment-erm.json │ ├── experiment-mixture.json │ ├── experiment.json │ └── serialization │ ├── best.th │ ├── model.tar.gz │ └── vocabulary │ ├── non_padded_namespaces.txt │ ├── rule_labels.txt │ └── tokens.txt ├── tests ├── __init__.py ├── common │ ├── __init__.py │ ├── action_space_walker_test.py │ ├── date_test.py │ ├── sql │ │ ├── __init__.py │ │ └── text2sql_utils_test.py │ ├── util_test.py │ └── wikitables │ │ ├── __init__.py │ │ └── table_question_context_test.py ├── dataset_readers │ ├── __init__.py │ ├── atis_test.py │ ├── grammar_based_text2sql_test.py │ ├── nlvr_test.py │ ├── template_text2sql_test.py │ └── wikitables_test.py ├── domain_languages │ ├── __init__.py │ ├── domain_language_test.py │ ├── nlvr_language_test.py │ └── wikitables_language_test.py ├── fields │ ├── __init__.py │ ├── knowledge_graph_field_test.py │ └── production_rule_field_test.py ├── models │ ├── __init__.py │ ├── atis │ │ ├── __init__.py │ │ ├── atis_grammar_statelet_test.py │ │ └── atis_semantic_parser_test.py │ ├── nlvr │ │ ├── __init__.py │ │ ├── nlvr_coverage_semantic_parser_test.py │ │ └── nlvr_direct_semantic_parser_test.py │ ├── quarel │ │ └── __init__.py │ ├── text2sql_parser_test.py │ └── wikitables │ │ ├── __init__.py │ │ ├── wikitables_erm_semantic_parser_test.py │ │ └── wikitables_mml_semantic_parser_test.py ├── nltk_languages │ ├── __init__.py │ ├── contexts │ │ └── __init__.py │ ├── type_declarations │ │ ├── __init__.py │ │ └── type_declaration_test.py │ └── worlds │ │ ├── __init__.py │ │ └── world_test.py ├── parsimonious_languages │ ├── __init__.py │ ├── contexts │ │ └── __init__.py │ ├── executors │ │ ├── __init__.py │ │ └── sql_executor_test.py │ └── worlds │ │ ├── __init__.py │ │ ├── atis_world_test.py │ │ └── text2sql_world_test.py ├── predictors │ ├── __init__.py │ ├── atis_parser_test.py │ ├── nlvr_parser_test.py │ └── wikitables_parser_test.py ├── semparse_test_case.py └── state_machines │ ├── __init__.py │ ├── beam_search_test.py │ ├── constrained_beam_search_test.py │ ├── simple_transition_system.py │ ├── states │ ├── __init__.py │ ├── grammar_statelet_test.py │ └── lambda_grammar_statelet_test.py │ ├── trainers │ ├── __init__.py │ ├── expected_risk_minimization_test.py │ └── maximum_marginal_likelihood_test.py │ ├── transition_functions │ ├── __init__.py │ └── basic_transition_function_test.py │ └── util_test.py └── training_config ├── wikitables_erm_parser.jsonnet └── wikitables_mml_parser.jsonnet /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/README.md -------------------------------------------------------------------------------- /allennlp_semparse/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/common/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/common/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/common/action_space_walker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/common/action_space_walker.py -------------------------------------------------------------------------------- /allennlp_semparse/common/date.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/common/date.py -------------------------------------------------------------------------------- /allennlp_semparse/common/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/common/errors.py -------------------------------------------------------------------------------- /allennlp_semparse/common/knowledge_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/common/knowledge_graph.py -------------------------------------------------------------------------------- /allennlp_semparse/common/sql/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /allennlp_semparse/common/sql/text2sql_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/common/sql/text2sql_utils.py -------------------------------------------------------------------------------- /allennlp_semparse/common/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/common/util.py -------------------------------------------------------------------------------- /allennlp_semparse/common/wikitables/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/common/wikitables/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/common/wikitables/table_question_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/common/wikitables/table_question_context.py -------------------------------------------------------------------------------- /allennlp_semparse/common/wikitables/wikitables_evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/common/wikitables/wikitables_evaluator.py -------------------------------------------------------------------------------- /allennlp_semparse/dataset_readers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/dataset_readers/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/dataset_readers/atis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/dataset_readers/atis.py -------------------------------------------------------------------------------- /allennlp_semparse/dataset_readers/grammar_based_text2sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/dataset_readers/grammar_based_text2sql.py -------------------------------------------------------------------------------- /allennlp_semparse/dataset_readers/nlvr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/dataset_readers/nlvr.py -------------------------------------------------------------------------------- /allennlp_semparse/dataset_readers/template_text2sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/dataset_readers/template_text2sql.py -------------------------------------------------------------------------------- /allennlp_semparse/dataset_readers/wikitables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/dataset_readers/wikitables.py -------------------------------------------------------------------------------- /allennlp_semparse/domain_languages/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/domain_languages/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/domain_languages/domain_language.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/domain_languages/domain_language.py -------------------------------------------------------------------------------- /allennlp_semparse/domain_languages/nlvr_language.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/domain_languages/nlvr_language.py -------------------------------------------------------------------------------- /allennlp_semparse/domain_languages/wikitables_language.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/domain_languages/wikitables_language.py -------------------------------------------------------------------------------- /allennlp_semparse/fields/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/fields/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/fields/knowledge_graph_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/fields/knowledge_graph_field.py -------------------------------------------------------------------------------- /allennlp_semparse/fields/production_rule_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/fields/production_rule_field.py -------------------------------------------------------------------------------- /allennlp_semparse/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/models/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/models/atis/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /allennlp_semparse/models/atis/atis_semantic_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/models/atis/atis_semantic_parser.py -------------------------------------------------------------------------------- /allennlp_semparse/models/nlvr/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /allennlp_semparse/models/nlvr/nlvr_coverage_semantic_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/models/nlvr/nlvr_coverage_semantic_parser.py -------------------------------------------------------------------------------- /allennlp_semparse/models/nlvr/nlvr_direct_semantic_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/models/nlvr/nlvr_direct_semantic_parser.py -------------------------------------------------------------------------------- /allennlp_semparse/models/nlvr/nlvr_semantic_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/models/nlvr/nlvr_semantic_parser.py -------------------------------------------------------------------------------- /allennlp_semparse/models/text2sql_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/models/text2sql_parser.py -------------------------------------------------------------------------------- /allennlp_semparse/models/wikitables/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /allennlp_semparse/models/wikitables/wikitables_erm_semantic_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/models/wikitables/wikitables_erm_semantic_parser.py -------------------------------------------------------------------------------- /allennlp_semparse/models/wikitables/wikitables_mml_semantic_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/models/wikitables/wikitables_mml_semantic_parser.py -------------------------------------------------------------------------------- /allennlp_semparse/models/wikitables/wikitables_semantic_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/models/wikitables/wikitables_semantic_parser.py -------------------------------------------------------------------------------- /allennlp_semparse/nltk_languages/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /allennlp_semparse/nltk_languages/contexts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /allennlp_semparse/nltk_languages/type_declarations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /allennlp_semparse/nltk_languages/type_declarations/type_declaration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/nltk_languages/type_declarations/type_declaration.py -------------------------------------------------------------------------------- /allennlp_semparse/nltk_languages/worlds/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /allennlp_semparse/nltk_languages/worlds/world.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/nltk_languages/worlds/world.py -------------------------------------------------------------------------------- /allennlp_semparse/parsimonious_languages/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /allennlp_semparse/parsimonious_languages/contexts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/parsimonious_languages/contexts/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/parsimonious_languages/contexts/atis_sql_table_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/parsimonious_languages/contexts/atis_sql_table_context.py -------------------------------------------------------------------------------- /allennlp_semparse/parsimonious_languages/contexts/atis_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/parsimonious_languages/contexts/atis_tables.py -------------------------------------------------------------------------------- /allennlp_semparse/parsimonious_languages/contexts/sql_context_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/parsimonious_languages/contexts/sql_context_utils.py -------------------------------------------------------------------------------- /allennlp_semparse/parsimonious_languages/contexts/text2sql_table_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/parsimonious_languages/contexts/text2sql_table_context.py -------------------------------------------------------------------------------- /allennlp_semparse/parsimonious_languages/executors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/parsimonious_languages/executors/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/parsimonious_languages/executors/sql_executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/parsimonious_languages/executors/sql_executor.py -------------------------------------------------------------------------------- /allennlp_semparse/parsimonious_languages/worlds/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/parsimonious_languages/worlds/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/parsimonious_languages/worlds/atis_world.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/parsimonious_languages/worlds/atis_world.py -------------------------------------------------------------------------------- /allennlp_semparse/parsimonious_languages/worlds/text2sql_world.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/parsimonious_languages/worlds/text2sql_world.py -------------------------------------------------------------------------------- /allennlp_semparse/predictors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/predictors/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/predictors/atis_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/predictors/atis_parser.py -------------------------------------------------------------------------------- /allennlp_semparse/predictors/nlvr_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/predictors/nlvr_parser.py -------------------------------------------------------------------------------- /allennlp_semparse/predictors/wikitables_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/predictors/wikitables_parser.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/beam_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/beam_search.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/constrained_beam_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/constrained_beam_search.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/states/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/states/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/states/checklist_statelet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/states/checklist_statelet.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/states/coverage_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/states/coverage_state.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/states/grammar_based_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/states/grammar_based_state.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/states/grammar_statelet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/states/grammar_statelet.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/states/lambda_grammar_statelet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/states/lambda_grammar_statelet.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/states/rnn_statelet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/states/rnn_statelet.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/states/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/states/state.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/trainers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/trainers/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/trainers/decoder_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/trainers/decoder_trainer.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/trainers/expected_risk_minimization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/trainers/expected_risk_minimization.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/trainers/maximum_marginal_likelihood.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/trainers/maximum_marginal_likelihood.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/transition_functions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/transition_functions/__init__.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/transition_functions/basic_transition_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/transition_functions/basic_transition_function.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/transition_functions/coverage_transition_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/transition_functions/coverage_transition_function.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/transition_functions/linking_coverage_transition_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/transition_functions/linking_coverage_transition_function.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/transition_functions/linking_transition_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/transition_functions/linking_transition_function.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/transition_functions/transition_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/transition_functions/transition_function.py -------------------------------------------------------------------------------- /allennlp_semparse/state_machines/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/state_machines/util.py -------------------------------------------------------------------------------- /allennlp_semparse/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/allennlp_semparse/version.py -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/codecov.yml -------------------------------------------------------------------------------- /dev-requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/dev-requirements.txt -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/examine_sql_coverage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/scripts/examine_sql_coverage.py -------------------------------------------------------------------------------- /scripts/get_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/scripts/get_version.py -------------------------------------------------------------------------------- /scripts/nlvr/generate_data_from_erm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/scripts/nlvr/generate_data_from_erm_model.py -------------------------------------------------------------------------------- /scripts/nlvr/get_nlvr_logical_forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/scripts/nlvr/get_nlvr_logical_forms.py -------------------------------------------------------------------------------- /scripts/nlvr/group_nlvr_worlds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/scripts/nlvr/group_nlvr_worlds.py -------------------------------------------------------------------------------- /scripts/nlvr/sed_commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/scripts/nlvr/sed_commands.txt -------------------------------------------------------------------------------- /scripts/reformat_text2sql_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/scripts/reformat_text2sql_data.py -------------------------------------------------------------------------------- /scripts/wikitables/generate_data_from_erm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/scripts/wikitables/generate_data_from_erm_model.py -------------------------------------------------------------------------------- /scripts/wikitables/preprocess_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/scripts/wikitables/preprocess_data.py -------------------------------------------------------------------------------- /scripts/wikitables/search_for_logical_forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/scripts/wikitables/search_for_logical_forms.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/setup.py -------------------------------------------------------------------------------- /test_fixtures/atis/experiment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/atis/experiment.json -------------------------------------------------------------------------------- /test_fixtures/atis/serialization/best.th: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/atis/serialization/best.th -------------------------------------------------------------------------------- /test_fixtures/atis/serialization/model.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/atis/serialization/model.tar.gz -------------------------------------------------------------------------------- /test_fixtures/atis/serialization/vocabulary/non_padded_namespaces.txt: -------------------------------------------------------------------------------- 1 | *tags 2 | *labels 3 | -------------------------------------------------------------------------------- /test_fixtures/atis/serialization/vocabulary/rule_labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/atis/serialization/vocabulary/rule_labels.txt -------------------------------------------------------------------------------- /test_fixtures/atis/serialization/vocabulary/tokens.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/atis/serialization/vocabulary/tokens.txt -------------------------------------------------------------------------------- /test_fixtures/data/atis/sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/atis/sample.json -------------------------------------------------------------------------------- /test_fixtures/data/corenlp_processed_tables/TEST-1.table: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/corenlp_processed_tables/TEST-1.table -------------------------------------------------------------------------------- /test_fixtures/data/corenlp_processed_tables/TEST-10.table: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/corenlp_processed_tables/TEST-10.table -------------------------------------------------------------------------------- /test_fixtures/data/corenlp_processed_tables/TEST-11.table: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/corenlp_processed_tables/TEST-11.table -------------------------------------------------------------------------------- /test_fixtures/data/corenlp_processed_tables/TEST-2.table: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/corenlp_processed_tables/TEST-2.table -------------------------------------------------------------------------------- /test_fixtures/data/corenlp_processed_tables/TEST-3.table: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/corenlp_processed_tables/TEST-3.table -------------------------------------------------------------------------------- /test_fixtures/data/corenlp_processed_tables/TEST-4.table: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/corenlp_processed_tables/TEST-4.table -------------------------------------------------------------------------------- /test_fixtures/data/corenlp_processed_tables/TEST-5.table: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/corenlp_processed_tables/TEST-5.table -------------------------------------------------------------------------------- /test_fixtures/data/corenlp_processed_tables/TEST-6.table: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/corenlp_processed_tables/TEST-6.table -------------------------------------------------------------------------------- /test_fixtures/data/corenlp_processed_tables/TEST-7.table: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/corenlp_processed_tables/TEST-7.table -------------------------------------------------------------------------------- /test_fixtures/data/corenlp_processed_tables/TEST-8.table: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/corenlp_processed_tables/TEST-8.table -------------------------------------------------------------------------------- /test_fixtures/data/corenlp_processed_tables/TEST-9.table: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/corenlp_processed_tables/TEST-9.table -------------------------------------------------------------------------------- /test_fixtures/data/nlvr/sample_grouped_data.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/nlvr/sample_grouped_data.jsonl -------------------------------------------------------------------------------- /test_fixtures/data/nlvr/sample_processed_data.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/nlvr/sample_processed_data.jsonl -------------------------------------------------------------------------------- /test_fixtures/data/nlvr/sample_ungrouped_data.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/nlvr/sample_ungrouped_data.jsonl -------------------------------------------------------------------------------- /test_fixtures/data/quarel.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/quarel.jsonl -------------------------------------------------------------------------------- /test_fixtures/data/text2sql/restaurants-schema.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/text2sql/restaurants-schema.csv -------------------------------------------------------------------------------- /test_fixtures/data/text2sql/restaurants.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/text2sql/restaurants.db -------------------------------------------------------------------------------- /test_fixtures/data/text2sql/restaurants_tiny.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/text2sql/restaurants_tiny.json -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/action_space_walker_output/nt-0.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/action_space_walker_output/nt-0.gz -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/action_space_walker_output/nt-1.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/action_space_walker_output/nt-1.gz -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/action_space_walker_output_with_single_tarball/all_lfs_tarball.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/action_space_walker_output_with_single_tarball/all_lfs_tarball.tar.gz -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/dpd_output/nt-0.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/dpd_output/nt-0.gz -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/dpd_output/nt-1.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/dpd_output/nt-1.gz -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/dpd_output/nt-64.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/dpd_output/nt-64.gz -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/lots_of_ors_example.examples: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/lots_of_ors_example.examples -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/sample_data.examples: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/sample_data.examples -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/sample_data_preprocessed.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/sample_data_preprocessed.jsonl -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/sample_table.tagged: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/sample_table.tagged -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/sample_table.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/sample_table.tsv -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/sample_table_with_date.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/sample_table_with_date.tsv -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/tables/109.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/tables/109.tsv -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/tables/341.tagged: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/tables/341.tagged -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/tables/346.tagged: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/tables/346.tagged -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/tables/590.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/tables/590.csv -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/tables/590.tagged: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/tables/590.tagged -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/tables/590.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/tables/590.tsv -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/tables/622.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/tables/622.csv -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/tables/622.tagged: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/tables/622.tagged -------------------------------------------------------------------------------- /test_fixtures/data/wikitables/tables/622.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/data/wikitables/tables/622.tsv -------------------------------------------------------------------------------- /test_fixtures/elmo/config/characters_token_embedder.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/elmo/config/characters_token_embedder.json -------------------------------------------------------------------------------- /test_fixtures/elmo/elmo_token_embeddings.hdf5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/elmo/elmo_token_embeddings.hdf5 -------------------------------------------------------------------------------- /test_fixtures/elmo/lm_embeddings_0.hdf5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/elmo/lm_embeddings_0.hdf5 -------------------------------------------------------------------------------- /test_fixtures/elmo/lm_embeddings_1.hdf5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/elmo/lm_embeddings_1.hdf5 -------------------------------------------------------------------------------- /test_fixtures/elmo/lm_embeddings_2.hdf5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/elmo/lm_embeddings_2.hdf5 -------------------------------------------------------------------------------- /test_fixtures/elmo/lm_weights.hdf5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/elmo/lm_weights.hdf5 -------------------------------------------------------------------------------- /test_fixtures/elmo/options.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/elmo/options.json -------------------------------------------------------------------------------- /test_fixtures/elmo/sentences.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/elmo/sentences.json -------------------------------------------------------------------------------- /test_fixtures/elmo/vocab_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/elmo/vocab_test.txt -------------------------------------------------------------------------------- /test_fixtures/nlvr_coverage_semantic_parser/experiment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/nlvr_coverage_semantic_parser/experiment.json -------------------------------------------------------------------------------- /test_fixtures/nlvr_coverage_semantic_parser/mml_init_experiment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/nlvr_coverage_semantic_parser/mml_init_experiment.json -------------------------------------------------------------------------------- /test_fixtures/nlvr_coverage_semantic_parser/serialization/best.th: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/nlvr_coverage_semantic_parser/serialization/best.th -------------------------------------------------------------------------------- /test_fixtures/nlvr_coverage_semantic_parser/serialization/model.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/nlvr_coverage_semantic_parser/serialization/model.tar.gz -------------------------------------------------------------------------------- /test_fixtures/nlvr_coverage_semantic_parser/serialization/vocabulary/denotations.txt: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | -------------------------------------------------------------------------------- /test_fixtures/nlvr_coverage_semantic_parser/serialization/vocabulary/non_padded_namespaces.txt: -------------------------------------------------------------------------------- 1 | denotations 2 | rule_labels 3 | -------------------------------------------------------------------------------- /test_fixtures/nlvr_coverage_semantic_parser/serialization/vocabulary/rule_labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/nlvr_coverage_semantic_parser/serialization/vocabulary/rule_labels.txt -------------------------------------------------------------------------------- /test_fixtures/nlvr_coverage_semantic_parser/serialization/vocabulary/tokens.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/nlvr_coverage_semantic_parser/serialization/vocabulary/tokens.txt -------------------------------------------------------------------------------- /test_fixtures/nlvr_coverage_semantic_parser/ungrouped_experiment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/nlvr_coverage_semantic_parser/ungrouped_experiment.json -------------------------------------------------------------------------------- /test_fixtures/nlvr_direct_semantic_parser/experiment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/nlvr_direct_semantic_parser/experiment.json -------------------------------------------------------------------------------- /test_fixtures/nlvr_direct_semantic_parser/serialization/best.th: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/nlvr_direct_semantic_parser/serialization/best.th -------------------------------------------------------------------------------- /test_fixtures/nlvr_direct_semantic_parser/serialization/model.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/nlvr_direct_semantic_parser/serialization/model.tar.gz -------------------------------------------------------------------------------- /test_fixtures/nlvr_direct_semantic_parser/serialization/vocabulary/denotations.txt: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | -------------------------------------------------------------------------------- /test_fixtures/nlvr_direct_semantic_parser/serialization/vocabulary/non_padded_namespaces.txt: -------------------------------------------------------------------------------- 1 | denotations 2 | rule_labels 3 | -------------------------------------------------------------------------------- /test_fixtures/nlvr_direct_semantic_parser/serialization/vocabulary/rule_labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/nlvr_direct_semantic_parser/serialization/vocabulary/rule_labels.txt -------------------------------------------------------------------------------- /test_fixtures/nlvr_direct_semantic_parser/serialization/vocabulary/tokens.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/nlvr_direct_semantic_parser/serialization/vocabulary/tokens.txt -------------------------------------------------------------------------------- /test_fixtures/text2sql/experiment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/text2sql/experiment.json -------------------------------------------------------------------------------- /test_fixtures/wikitables/experiment-elmo-no-features.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/wikitables/experiment-elmo-no-features.json -------------------------------------------------------------------------------- /test_fixtures/wikitables/experiment-erm.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/wikitables/experiment-erm.json -------------------------------------------------------------------------------- /test_fixtures/wikitables/experiment-mixture.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/wikitables/experiment-mixture.json -------------------------------------------------------------------------------- /test_fixtures/wikitables/experiment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/wikitables/experiment.json -------------------------------------------------------------------------------- /test_fixtures/wikitables/serialization/best.th: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/wikitables/serialization/best.th -------------------------------------------------------------------------------- /test_fixtures/wikitables/serialization/model.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/wikitables/serialization/model.tar.gz -------------------------------------------------------------------------------- /test_fixtures/wikitables/serialization/vocabulary/non_padded_namespaces.txt: -------------------------------------------------------------------------------- 1 | *tags 2 | *labels 3 | -------------------------------------------------------------------------------- /test_fixtures/wikitables/serialization/vocabulary/rule_labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/wikitables/serialization/vocabulary/rule_labels.txt -------------------------------------------------------------------------------- /test_fixtures/wikitables/serialization/vocabulary/tokens.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/test_fixtures/wikitables/serialization/vocabulary/tokens.txt -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/common/action_space_walker_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/common/action_space_walker_test.py -------------------------------------------------------------------------------- /tests/common/date_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/common/date_test.py -------------------------------------------------------------------------------- /tests/common/sql/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/common/sql/text2sql_utils_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/common/sql/text2sql_utils_test.py -------------------------------------------------------------------------------- /tests/common/util_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/common/util_test.py -------------------------------------------------------------------------------- /tests/common/wikitables/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/common/wikitables/table_question_context_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/common/wikitables/table_question_context_test.py -------------------------------------------------------------------------------- /tests/dataset_readers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/dataset_readers/atis_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/dataset_readers/atis_test.py -------------------------------------------------------------------------------- /tests/dataset_readers/grammar_based_text2sql_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/dataset_readers/grammar_based_text2sql_test.py -------------------------------------------------------------------------------- /tests/dataset_readers/nlvr_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/dataset_readers/nlvr_test.py -------------------------------------------------------------------------------- /tests/dataset_readers/template_text2sql_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/dataset_readers/template_text2sql_test.py -------------------------------------------------------------------------------- /tests/dataset_readers/wikitables_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/dataset_readers/wikitables_test.py -------------------------------------------------------------------------------- /tests/domain_languages/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/domain_languages/domain_language_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/domain_languages/domain_language_test.py -------------------------------------------------------------------------------- /tests/domain_languages/nlvr_language_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/domain_languages/nlvr_language_test.py -------------------------------------------------------------------------------- /tests/domain_languages/wikitables_language_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/domain_languages/wikitables_language_test.py -------------------------------------------------------------------------------- /tests/fields/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fields/knowledge_graph_field_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/fields/knowledge_graph_field_test.py -------------------------------------------------------------------------------- /tests/fields/production_rule_field_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/fields/production_rule_field_test.py -------------------------------------------------------------------------------- /tests/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/models/atis/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/models/atis/atis_grammar_statelet_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/models/atis/atis_grammar_statelet_test.py -------------------------------------------------------------------------------- /tests/models/atis/atis_semantic_parser_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/models/atis/atis_semantic_parser_test.py -------------------------------------------------------------------------------- /tests/models/nlvr/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/models/nlvr/nlvr_coverage_semantic_parser_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/models/nlvr/nlvr_coverage_semantic_parser_test.py -------------------------------------------------------------------------------- /tests/models/nlvr/nlvr_direct_semantic_parser_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/models/nlvr/nlvr_direct_semantic_parser_test.py -------------------------------------------------------------------------------- /tests/models/quarel/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/models/text2sql_parser_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/models/text2sql_parser_test.py -------------------------------------------------------------------------------- /tests/models/wikitables/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/models/wikitables/wikitables_erm_semantic_parser_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/models/wikitables/wikitables_erm_semantic_parser_test.py -------------------------------------------------------------------------------- /tests/models/wikitables/wikitables_mml_semantic_parser_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/models/wikitables/wikitables_mml_semantic_parser_test.py -------------------------------------------------------------------------------- /tests/nltk_languages/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/nltk_languages/contexts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/nltk_languages/type_declarations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/nltk_languages/type_declarations/type_declaration_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/nltk_languages/type_declarations/type_declaration_test.py -------------------------------------------------------------------------------- /tests/nltk_languages/worlds/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/nltk_languages/worlds/world_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/nltk_languages/worlds/world_test.py -------------------------------------------------------------------------------- /tests/parsimonious_languages/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/parsimonious_languages/contexts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/parsimonious_languages/executors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/parsimonious_languages/executors/sql_executor_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/parsimonious_languages/executors/sql_executor_test.py -------------------------------------------------------------------------------- /tests/parsimonious_languages/worlds/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/parsimonious_languages/worlds/atis_world_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/parsimonious_languages/worlds/atis_world_test.py -------------------------------------------------------------------------------- /tests/parsimonious_languages/worlds/text2sql_world_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/parsimonious_languages/worlds/text2sql_world_test.py -------------------------------------------------------------------------------- /tests/predictors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/predictors/atis_parser_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/predictors/atis_parser_test.py -------------------------------------------------------------------------------- /tests/predictors/nlvr_parser_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/predictors/nlvr_parser_test.py -------------------------------------------------------------------------------- /tests/predictors/wikitables_parser_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/predictors/wikitables_parser_test.py -------------------------------------------------------------------------------- /tests/semparse_test_case.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/semparse_test_case.py -------------------------------------------------------------------------------- /tests/state_machines/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/state_machines/beam_search_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/state_machines/beam_search_test.py -------------------------------------------------------------------------------- /tests/state_machines/constrained_beam_search_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/state_machines/constrained_beam_search_test.py -------------------------------------------------------------------------------- /tests/state_machines/simple_transition_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/state_machines/simple_transition_system.py -------------------------------------------------------------------------------- /tests/state_machines/states/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/state_machines/states/grammar_statelet_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/state_machines/states/grammar_statelet_test.py -------------------------------------------------------------------------------- /tests/state_machines/states/lambda_grammar_statelet_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/state_machines/states/lambda_grammar_statelet_test.py -------------------------------------------------------------------------------- /tests/state_machines/trainers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/state_machines/trainers/expected_risk_minimization_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/state_machines/trainers/expected_risk_minimization_test.py -------------------------------------------------------------------------------- /tests/state_machines/trainers/maximum_marginal_likelihood_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/state_machines/trainers/maximum_marginal_likelihood_test.py -------------------------------------------------------------------------------- /tests/state_machines/transition_functions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/state_machines/transition_functions/basic_transition_function_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/state_machines/transition_functions/basic_transition_function_test.py -------------------------------------------------------------------------------- /tests/state_machines/util_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/tests/state_machines/util_test.py -------------------------------------------------------------------------------- /training_config/wikitables_erm_parser.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/training_config/wikitables_erm_parser.jsonnet -------------------------------------------------------------------------------- /training_config/wikitables_mml_parser.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/allenai/allennlp-semparse/HEAD/training_config/wikitables_mml_parser.jsonnet --------------------------------------------------------------------------------