├── .gitignore ├── LICENSE ├── README.md ├── configs ├── django-idioms │ ├── nl2code-0404-allmatches-anysplit-multimean.jsonnet │ ├── nl2code-0425-allmatches-anysplit-multimean.jsonnet │ └── nl2code-0425-rewritten-anysplit.jsonnet ├── django │ ├── nl2code-0425.jsonnet │ └── nl2code.jsonnet ├── hearthstone-idioms │ ├── nl2code-0201-allmatches-anysplit-multimean.jsonnet │ ├── nl2code-0201-allmatches-anysplit.jsonnet │ └── nl2code.jsonnet ├── hearthstone │ ├── nl2code-tiny.jsonnet │ └── nl2code.jsonnet ├── spider-20190205 │ ├── arxiv-1906.11790v1.jsonnet │ ├── nl2code-0206.jsonnet │ ├── nl2code-0212.jsonnet │ ├── nl2code-0214.jsonnet │ ├── nl2code-0220.jsonnet │ ├── nl2code-0302.jsonnet │ ├── nl2code-0315-sketch.jsonnet │ ├── nl2code-0327.jsonnet │ ├── nl2code-0401.jsonnet │ ├── nl2code-0402.jsonnet │ ├── nl2code-0418.jsonnet │ ├── nl2code-0420-sketch.jsonnet │ ├── nl2code-0420.jsonnet │ ├── nl2code-0422.jsonnet │ ├── nl2code-0423.jsonnet │ ├── nl2code-0428-base.libsonnet │ ├── nl2code-0428-random.jsonnet │ ├── nl2code-0428-stability.jsonnet │ ├── nl2code-0428-stability.libsonnet │ ├── nl2code-0428-stability.philly.jsonnet │ ├── nl2code-0518-opt.jsonnet │ └── nl2code-0521-ablations.jsonnet ├── spider-idioms │ ├── miner-0513-full-trees.jsonnet │ ├── miner-0513.jsonnet │ ├── miner-0518-full-trees.jsonnet │ ├── miner-0518.jsonnet │ ├── nl2code-0513.jsonnet │ └── nl2code-0518.jsonnet └── spider │ └── nl2code.jsonnet ├── data ├── hearthstone │ ├── dev_hs.in │ ├── dev_hs.out │ ├── test_hs.in │ ├── test_hs.out │ ├── train_hs.in │ └── train_hs.out └── spider-20190205 │ ├── .gitignore │ ├── SHA256SUMS │ ├── generate.sh │ └── train_spider.json.patch ├── eval.py ├── experiments ├── .gitignore ├── README.md ├── django-idioms │ └── eval_20190425_allmatches_anysplit_multimean.py ├── hearthstone-idioms │ ├── eval_20190201_allmatches_anysplit_multimean-20191031.py │ └── eval_20190201_allmatches_anysplit_multimean.py ├── hearthstone │ └── eval_20181231_baseline.py ├── spider-20190205 │ ├── 20190214.py │ ├── 20190214_att3.py │ ├── 20190214_eval.py │ ├── 20190220.py │ ├── 20190223.py │ ├── 20190223_nobatch_retry.py │ ├── eval_20190223_nobatch_retry.py │ ├── eval_20190302.py │ ├── eval_20190315-sketch.py │ ├── eval_20190327.py │ ├── eval_20190401.py │ ├── eval_20190402.py │ ├── eval_20190420.py │ ├── eval_20190428_random.py │ ├── eval_20190428_stability.py │ ├── eval_20190518_opt.py │ └── eval_20190521_ablations.py └── spider-idioms │ ├── eval_nl2code-0513.py │ └── eval_nl2code-0518.py ├── infer.py ├── notebooks ├── django_idioms_multilabel_20190425.ipynb ├── django_idioms_multilabel_results_20190404.ipynb ├── hearthstone_idioms_20190116_results.ipynb ├── hearthstone_idioms_20190201_analysis_20190729.ipynb ├── hearthstone_idioms_20190201_debug.ipynb ├── hearthstone_idioms_20190201_results_20190301.ipynb ├── hearthstone_idioms_20190201_results_20190523.ipynb ├── hearthstone_idioms_20190201_results_20191031.ipynb ├── spider_20190214.ipynb ├── spider_20190302.ipynb ├── spider_20190302_cumulative_latex.ipynb ├── spider_20190302_sketch.ipynb ├── spider_20190315_sketch.ipynb ├── spider_20190327.ipynb ├── spider_20190401.ipynb ├── spider_20190401_diff_20190327.ipynb ├── spider_20190402.ipynb ├── spider_20190420.ipynb ├── spider_20190428_randomness.ipynb ├── spider_20190518_opt.ipynb ├── spider_20190521_ablations.ipynb ├── spider_20190523_latex.ipynb ├── spider_column_coverage.ipynb └── spider_idioms_20190518.ipynb ├── preprocess.py ├── scripts ├── compare_spider.py ├── convert_log_to_tensorboard.py ├── debug_spider_batched.py ├── output_spider_evaluation.py ├── spider_vocab.py ├── test_idiom_ast_roundtrip.py ├── test_spider_roundtrip.py └── tree_bpe.py ├── seq2struct ├── __init__.py ├── ast_util.py ├── beam_search.py ├── cobatch │ ├── __init__.py │ ├── _batcher.pyx │ ├── barrier.py │ ├── batcher.py │ ├── batcher_test.py │ ├── torch_batcher.py │ └── torch_batcher_test.py ├── datasets │ ├── __init__.py │ ├── django.py │ ├── hearthstone.py │ ├── idiom_ast.py │ └── spider.py ├── grammars │ ├── Python.asdl │ ├── Spider.asdl │ ├── __init__.py │ ├── idiom_ast.py │ ├── python.py │ └── spider.py ├── models │ ├── __init__.py │ ├── abstract_preproc.py │ ├── attention.py │ ├── enc_dec.py │ ├── idiom_miner.py │ ├── lstm.py │ ├── nl2code │ │ ├── __init__.py │ │ ├── decoder.py │ │ ├── encoder.py │ │ └── idiom_template.py │ ├── spider_enc.py │ ├── spider_enc_modules.py │ ├── spider_enc_old.py │ └── transformer.py ├── optimizers.py ├── resources │ ├── __init__.py │ ├── corenlp.py │ └── pretrained_embeddings.py └── utils │ ├── __init__.py │ ├── batched_sequence.py │ ├── evaluation.py │ ├── indexed_file.py │ ├── parallelizer.py │ ├── random_state.py │ ├── registry.py │ ├── saver.py │ ├── serialization.py │ ├── test_batched_sequence.py │ ├── test_parallelizer.py │ └── vocab.py ├── setup.py ├── setup.sh ├── third_party ├── __init__.py ├── argparser │ ├── LICENSE │ ├── README.md │ ├── argparser.sh │ └── test.sh ├── spider │ ├── README.md │ ├── __init__.py │ ├── baselines │ │ ├── .gitignore │ │ ├── README.md │ │ ├── nl2code │ │ │ ├── README.md │ │ │ ├── astnode.py │ │ │ ├── clean_sql.sh │ │ │ ├── code_gen.py │ │ │ ├── components.py │ │ │ ├── config.py │ │ │ ├── data_preprocess │ │ │ │ └── clean_sql.py │ │ │ ├── dataset.py │ │ │ ├── decoder.py │ │ │ ├── evaluation.py │ │ │ ├── interactive_mode.py │ │ │ ├── lang │ │ │ │ ├── __init__.py │ │ │ │ ├── grammar.py │ │ │ │ ├── ifttt │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── grammar.py │ │ │ │ │ ├── ifttt_dataset.py │ │ │ │ │ └── parse.py │ │ │ │ ├── py │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── grammar.py │ │ │ │ │ ├── parse.py │ │ │ │ │ ├── py_dataset.py │ │ │ │ │ ├── seq2tree_exp.py │ │ │ │ │ └── unaryclosure.py │ │ │ │ ├── sql │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── ast_to_sql.js │ │ │ │ │ ├── grammar.py │ │ │ │ │ ├── parse.py │ │ │ │ │ ├── parser-ast.js │ │ │ │ │ ├── plot-1.py │ │ │ │ │ ├── sql_dataset.py │ │ │ │ │ ├── sqlgenerate-kai.js │ │ │ │ │ └── sqlgenerate.js │ │ │ │ ├── type_system.py │ │ │ │ └── util.py │ │ │ ├── learner.py │ │ │ ├── main.py │ │ │ ├── model.py │ │ │ ├── nn │ │ │ │ ├── __init__.py │ │ │ │ ├── activations.py │ │ │ │ ├── initializations.py │ │ │ │ ├── layers │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── convolution.py │ │ │ │ │ ├── core.py │ │ │ │ │ ├── embeddings.py │ │ │ │ │ └── recurrent.py │ │ │ │ ├── objectives.py │ │ │ │ ├── optimizers.py │ │ │ │ └── utils │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── config_factory.py │ │ │ │ │ ├── generic_utils.py │ │ │ │ │ ├── io_utils.py │ │ │ │ │ ├── np_utils.py │ │ │ │ │ ├── test_utils.py │ │ │ │ │ └── theano_utils.py │ │ │ ├── node_modules │ │ │ │ ├── .bin │ │ │ │ │ └── sqlite-parser │ │ │ │ └── sqlite-parser │ │ │ │ │ ├── CHANGELOG.md │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── bin │ │ │ │ │ └── sqlite-parser │ │ │ │ │ ├── dist │ │ │ │ │ └── sqlite-parser.js │ │ │ │ │ ├── lib │ │ │ │ │ ├── index.js │ │ │ │ │ ├── parser.js │ │ │ │ │ ├── streaming-shim.js │ │ │ │ │ ├── streaming.js │ │ │ │ │ └── tracer.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── parse.py │ │ │ ├── parse_hiro.py │ │ │ ├── preprocess.sh │ │ │ ├── sql2ast.sh │ │ │ ├── test_data.sh │ │ │ ├── test_data_radn.sh │ │ │ ├── train_data.sh │ │ │ ├── train_data_radn.sh │ │ │ └── util.py │ │ ├── seq2seq_attention_copy │ │ │ ├── CONTRIBUTING.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── bin │ │ │ │ ├── __init__.py │ │ │ │ ├── data │ │ │ │ │ ├── cnn_daily_mail_summarization │ │ │ │ │ │ ├── process_data.sh │ │ │ │ │ │ └── process_story.py │ │ │ │ │ ├── toy.sh │ │ │ │ │ └── wmt16_en_de.sh │ │ │ │ ├── infer.py │ │ │ │ ├── tools │ │ │ │ │ ├── beam_search_viz │ │ │ │ │ │ ├── tree.css │ │ │ │ │ │ └── tree.js │ │ │ │ │ ├── generate_beam_viz.py │ │ │ │ │ ├── generate_toy_data.py │ │ │ │ │ ├── generate_vocab.py │ │ │ │ │ ├── multi-bleu.perl │ │ │ │ │ ├── profile.py │ │ │ │ │ └── tokenizer.py │ │ │ │ └── train.py │ │ │ ├── config_builder.py │ │ │ ├── data │ │ │ │ └── pre_process │ │ │ │ │ ├── generate_vocab.py │ │ │ │ │ └── utils.py │ │ │ ├── experimental_configs │ │ │ │ ├── attn_copying_tune_data.yaml │ │ │ │ ├── attn_copying_tune_data_radn_split.yaml │ │ │ │ ├── attn_tune_data.yaml │ │ │ │ ├── attn_tune_data_radn_split.yaml │ │ │ │ ├── basic_tune_data.yaml │ │ │ │ └── basic_tune_data_radn_split.yaml │ │ │ ├── seq2seq │ │ │ │ ├── __init__.py │ │ │ │ ├── configurable.py │ │ │ │ ├── contrib │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── experiment.py │ │ │ │ │ ├── rnn_cell.py │ │ │ │ │ └── seq2seq │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── decoder.py │ │ │ │ │ │ └── helper.py │ │ │ │ ├── data │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── copying_data_provider.py │ │ │ │ │ ├── copying_decoder.py │ │ │ │ │ ├── embeddings.py │ │ │ │ │ ├── input_pipeline.py │ │ │ │ │ ├── parallel_data_provider.py │ │ │ │ │ ├── postproc.py │ │ │ │ │ ├── sequence_example_decoder.py │ │ │ │ │ ├── split_tokens_decoder.py │ │ │ │ │ ├── triple_data_provider.py │ │ │ │ │ └── vocab.py │ │ │ │ ├── decoders │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── attention.py │ │ │ │ │ ├── attention_decoder.py │ │ │ │ │ ├── basic_decoder.py │ │ │ │ │ ├── beam_search_decoder.py │ │ │ │ │ ├── rnn_decoder.py │ │ │ │ │ └── schema_attention_decoder.py │ │ │ │ ├── encoders │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── conv_encoder.py │ │ │ │ │ ├── encoder.py │ │ │ │ │ ├── image_encoder.py │ │ │ │ │ ├── pooling_encoder.py │ │ │ │ │ └── rnn_encoder.py │ │ │ │ ├── global_vars.py │ │ │ │ ├── graph_module.py │ │ │ │ ├── graph_utils.py │ │ │ │ ├── inference │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── beam_search.py │ │ │ │ │ └── inference.py │ │ │ │ ├── losses.py │ │ │ │ ├── metrics │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bleu.py │ │ │ │ │ ├── metric_specs.py │ │ │ │ │ └── rouge.py │ │ │ │ ├── models │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── attention_copying_seq2seq.py │ │ │ │ │ ├── attention_seq2seq.py │ │ │ │ │ ├── basic_seq2seq.py │ │ │ │ │ ├── bridges.py │ │ │ │ │ ├── image2seq.py │ │ │ │ │ ├── model_base.py │ │ │ │ │ ├── schema_attention_copying_seq2seq.py │ │ │ │ │ ├── schema_attention_seq2seq.py │ │ │ │ │ └── seq2seq_model.py │ │ │ │ ├── tasks │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── decode_text.py │ │ │ │ │ ├── dump_attention.py │ │ │ │ │ ├── dump_beams.py │ │ │ │ │ └── inference_task.py │ │ │ │ ├── test │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── attention_test.py │ │ │ │ │ ├── beam_search_test.py │ │ │ │ │ ├── bridges_test.py │ │ │ │ │ ├── conv_encoder_test.py │ │ │ │ │ ├── data_test.py │ │ │ │ │ ├── decoder_test.py │ │ │ │ │ ├── example_config_test.py │ │ │ │ │ ├── hooks_test.py │ │ │ │ │ ├── input_pipeline_test.py │ │ │ │ │ ├── losses_test.py │ │ │ │ │ ├── metrics_test.py │ │ │ │ │ ├── models_test.py │ │ │ │ │ ├── pipeline_test.py │ │ │ │ │ ├── pooling_encoder_test.py │ │ │ │ │ ├── rnn_cell_test.py │ │ │ │ │ ├── rnn_encoder_test.py │ │ │ │ │ ├── train_utils_test.py │ │ │ │ │ ├── utils.py │ │ │ │ │ └── vocab_test.py │ │ │ │ └── training │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── hooks.py │ │ │ │ │ └── utils.py │ │ │ └── setup.py │ │ ├── sqlnet │ │ │ ├── README.md │ │ │ ├── scripts │ │ │ │ ├── __init__.py │ │ │ │ ├── data_process.py │ │ │ │ ├── lib │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── dbengine.py │ │ │ │ ├── model │ │ │ │ │ ├── .DS_Store │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── modules │ │ │ │ │ │ ├── .DS_Store │ │ │ │ │ │ ├── __init__.py │ │ │ │ │ │ ├── cond_predict.py │ │ │ │ │ │ ├── group_predict.py │ │ │ │ │ │ ├── net_utils.py │ │ │ │ │ │ ├── order_predict.py │ │ │ │ │ │ ├── sel_predict.py │ │ │ │ │ │ └── word_embedding.py │ │ │ │ │ └── sqlnet.py │ │ │ │ └── utils.py │ │ │ ├── test.py │ │ │ └── train.py │ │ └── typesql │ │ │ ├── README.md │ │ │ ├── generate_datasets │ │ │ ├── .ipynb_checkpoints │ │ │ │ ├── test_data_process-checkpoint.ipynb │ │ │ │ └── train_data_process-checkpoint.ipynb │ │ │ ├── test_data_process.ipynb │ │ │ └── train_data_process.ipynb │ │ │ ├── scripts │ │ │ ├── __init__.py │ │ │ ├── data_process.py │ │ │ ├── lib │ │ │ │ ├── __init__.py │ │ │ │ └── dbengine.py │ │ │ ├── model │ │ │ │ ├── .DS_Store │ │ │ │ ├── __init__.py │ │ │ │ ├── modules │ │ │ │ │ ├── .DS_Store │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── cond_predict.py │ │ │ │ │ ├── group_predict.py │ │ │ │ │ ├── net_utils.py │ │ │ │ │ ├── order_predict.py │ │ │ │ │ ├── sel_predict.py │ │ │ │ │ └── word_embedding.py │ │ │ │ └── typesql.py │ │ │ └── utils.py │ │ │ ├── test.py │ │ │ └── train.py │ ├── evaluation.py │ ├── evaluation_examples │ │ ├── README.md │ │ ├── eval_result_example.txt │ │ ├── gold_example.txt │ │ └── pred_example.txt │ ├── preprocess │ │ ├── README.md │ │ ├── __init__.py │ │ ├── get_tables.py │ │ ├── parse_raw_json.py │ │ ├── parse_sql_one.py │ │ ├── parsed_sql_examples.sql │ │ └── schema.py │ └── process_sql.py └── syntaxSQL │ ├── README.md │ ├── __init__.py │ ├── data_augment │ ├── fix_wikisql_tables.py │ ├── train_patterns.json │ └── wikisql_tables.json │ ├── generate_wikisql_augment.py │ ├── models │ ├── __init__.py │ ├── agg_predictor.py │ ├── andor_predictor.py │ ├── col_predictor.py │ ├── desasc_limit_predictor.py │ ├── having_predictor.py │ ├── keyword_predictor.py │ ├── multisql_predictor.py │ ├── net_utils.py │ ├── op_predictor.py │ └── root_teminal_predictor.py │ ├── preprocess_train_dev_data.py │ ├── requirements.txt │ ├── supermodel.py │ ├── test.py │ ├── test_gen.sh │ ├── train.py │ ├── train_all.sh │ ├── utils.py │ └── word_embedding.py └── train.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/README.md -------------------------------------------------------------------------------- /configs/django-idioms/nl2code-0404-allmatches-anysplit-multimean.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/django-idioms/nl2code-0404-allmatches-anysplit-multimean.jsonnet -------------------------------------------------------------------------------- /configs/django-idioms/nl2code-0425-allmatches-anysplit-multimean.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/django-idioms/nl2code-0425-allmatches-anysplit-multimean.jsonnet -------------------------------------------------------------------------------- /configs/django-idioms/nl2code-0425-rewritten-anysplit.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/django-idioms/nl2code-0425-rewritten-anysplit.jsonnet -------------------------------------------------------------------------------- /configs/django/nl2code-0425.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/django/nl2code-0425.jsonnet -------------------------------------------------------------------------------- /configs/django/nl2code.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/django/nl2code.jsonnet -------------------------------------------------------------------------------- /configs/hearthstone-idioms/nl2code-0201-allmatches-anysplit-multimean.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/hearthstone-idioms/nl2code-0201-allmatches-anysplit-multimean.jsonnet -------------------------------------------------------------------------------- /configs/hearthstone-idioms/nl2code-0201-allmatches-anysplit.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/hearthstone-idioms/nl2code-0201-allmatches-anysplit.jsonnet -------------------------------------------------------------------------------- /configs/hearthstone-idioms/nl2code.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/hearthstone-idioms/nl2code.jsonnet -------------------------------------------------------------------------------- /configs/hearthstone/nl2code-tiny.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/hearthstone/nl2code-tiny.jsonnet -------------------------------------------------------------------------------- /configs/hearthstone/nl2code.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/hearthstone/nl2code.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/arxiv-1906.11790v1.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/arxiv-1906.11790v1.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0206.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0206.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0212.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0212.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0214.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0214.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0220.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0220.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0302.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0302.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0315-sketch.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0315-sketch.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0327.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0327.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0401.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0401.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0402.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0402.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0418.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0418.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0420-sketch.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0420-sketch.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0420.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0420.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0422.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0422.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0423.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0423.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0428-base.libsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0428-base.libsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0428-random.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0428-random.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0428-stability.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0428-stability.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0428-stability.libsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0428-stability.libsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0428-stability.philly.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0428-stability.philly.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0518-opt.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0518-opt.jsonnet -------------------------------------------------------------------------------- /configs/spider-20190205/nl2code-0521-ablations.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-20190205/nl2code-0521-ablations.jsonnet -------------------------------------------------------------------------------- /configs/spider-idioms/miner-0513-full-trees.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-idioms/miner-0513-full-trees.jsonnet -------------------------------------------------------------------------------- /configs/spider-idioms/miner-0513.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-idioms/miner-0513.jsonnet -------------------------------------------------------------------------------- /configs/spider-idioms/miner-0518-full-trees.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-idioms/miner-0518-full-trees.jsonnet -------------------------------------------------------------------------------- /configs/spider-idioms/miner-0518.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-idioms/miner-0518.jsonnet -------------------------------------------------------------------------------- /configs/spider-idioms/nl2code-0513.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-idioms/nl2code-0513.jsonnet -------------------------------------------------------------------------------- /configs/spider-idioms/nl2code-0518.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider-idioms/nl2code-0518.jsonnet -------------------------------------------------------------------------------- /configs/spider/nl2code.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/configs/spider/nl2code.jsonnet -------------------------------------------------------------------------------- /data/hearthstone/dev_hs.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/data/hearthstone/dev_hs.in -------------------------------------------------------------------------------- /data/hearthstone/dev_hs.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/data/hearthstone/dev_hs.out -------------------------------------------------------------------------------- /data/hearthstone/test_hs.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/data/hearthstone/test_hs.in -------------------------------------------------------------------------------- /data/hearthstone/test_hs.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/data/hearthstone/test_hs.out -------------------------------------------------------------------------------- /data/hearthstone/train_hs.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/data/hearthstone/train_hs.in -------------------------------------------------------------------------------- /data/hearthstone/train_hs.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/data/hearthstone/train_hs.out -------------------------------------------------------------------------------- /data/spider-20190205/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/data/spider-20190205/.gitignore -------------------------------------------------------------------------------- /data/spider-20190205/SHA256SUMS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/data/spider-20190205/SHA256SUMS -------------------------------------------------------------------------------- /data/spider-20190205/generate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/data/spider-20190205/generate.sh -------------------------------------------------------------------------------- /data/spider-20190205/train_spider.json.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/data/spider-20190205/train_spider.json.patch -------------------------------------------------------------------------------- /eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/eval.py -------------------------------------------------------------------------------- /experiments/.gitignore: -------------------------------------------------------------------------------- 1 | *.sh 2 | -------------------------------------------------------------------------------- /experiments/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/README.md -------------------------------------------------------------------------------- /experiments/django-idioms/eval_20190425_allmatches_anysplit_multimean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/django-idioms/eval_20190425_allmatches_anysplit_multimean.py -------------------------------------------------------------------------------- /experiments/hearthstone-idioms/eval_20190201_allmatches_anysplit_multimean-20191031.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/hearthstone-idioms/eval_20190201_allmatches_anysplit_multimean-20191031.py -------------------------------------------------------------------------------- /experiments/hearthstone-idioms/eval_20190201_allmatches_anysplit_multimean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/hearthstone-idioms/eval_20190201_allmatches_anysplit_multimean.py -------------------------------------------------------------------------------- /experiments/hearthstone/eval_20181231_baseline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/hearthstone/eval_20181231_baseline.py -------------------------------------------------------------------------------- /experiments/spider-20190205/20190214.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/20190214.py -------------------------------------------------------------------------------- /experiments/spider-20190205/20190214_att3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/20190214_att3.py -------------------------------------------------------------------------------- /experiments/spider-20190205/20190214_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/20190214_eval.py -------------------------------------------------------------------------------- /experiments/spider-20190205/20190220.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/20190220.py -------------------------------------------------------------------------------- /experiments/spider-20190205/20190223.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/20190223.py -------------------------------------------------------------------------------- /experiments/spider-20190205/20190223_nobatch_retry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/20190223_nobatch_retry.py -------------------------------------------------------------------------------- /experiments/spider-20190205/eval_20190223_nobatch_retry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/eval_20190223_nobatch_retry.py -------------------------------------------------------------------------------- /experiments/spider-20190205/eval_20190302.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/eval_20190302.py -------------------------------------------------------------------------------- /experiments/spider-20190205/eval_20190315-sketch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/eval_20190315-sketch.py -------------------------------------------------------------------------------- /experiments/spider-20190205/eval_20190327.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/eval_20190327.py -------------------------------------------------------------------------------- /experiments/spider-20190205/eval_20190401.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/eval_20190401.py -------------------------------------------------------------------------------- /experiments/spider-20190205/eval_20190402.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/eval_20190402.py -------------------------------------------------------------------------------- /experiments/spider-20190205/eval_20190420.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/eval_20190420.py -------------------------------------------------------------------------------- /experiments/spider-20190205/eval_20190428_random.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/eval_20190428_random.py -------------------------------------------------------------------------------- /experiments/spider-20190205/eval_20190428_stability.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/eval_20190428_stability.py -------------------------------------------------------------------------------- /experiments/spider-20190205/eval_20190518_opt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/eval_20190518_opt.py -------------------------------------------------------------------------------- /experiments/spider-20190205/eval_20190521_ablations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-20190205/eval_20190521_ablations.py -------------------------------------------------------------------------------- /experiments/spider-idioms/eval_nl2code-0513.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-idioms/eval_nl2code-0513.py -------------------------------------------------------------------------------- /experiments/spider-idioms/eval_nl2code-0518.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/experiments/spider-idioms/eval_nl2code-0518.py -------------------------------------------------------------------------------- /infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/infer.py -------------------------------------------------------------------------------- /notebooks/django_idioms_multilabel_20190425.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/django_idioms_multilabel_20190425.ipynb -------------------------------------------------------------------------------- /notebooks/django_idioms_multilabel_results_20190404.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/django_idioms_multilabel_results_20190404.ipynb -------------------------------------------------------------------------------- /notebooks/hearthstone_idioms_20190116_results.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/hearthstone_idioms_20190116_results.ipynb -------------------------------------------------------------------------------- /notebooks/hearthstone_idioms_20190201_analysis_20190729.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/hearthstone_idioms_20190201_analysis_20190729.ipynb -------------------------------------------------------------------------------- /notebooks/hearthstone_idioms_20190201_debug.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/hearthstone_idioms_20190201_debug.ipynb -------------------------------------------------------------------------------- /notebooks/hearthstone_idioms_20190201_results_20190301.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/hearthstone_idioms_20190201_results_20190301.ipynb -------------------------------------------------------------------------------- /notebooks/hearthstone_idioms_20190201_results_20190523.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/hearthstone_idioms_20190201_results_20190523.ipynb -------------------------------------------------------------------------------- /notebooks/hearthstone_idioms_20190201_results_20191031.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/hearthstone_idioms_20190201_results_20191031.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190214.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190214.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190302.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190302.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190302_cumulative_latex.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190302_cumulative_latex.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190302_sketch.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190302_sketch.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190315_sketch.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190315_sketch.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190327.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190327.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190401.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190401.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190401_diff_20190327.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190401_diff_20190327.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190402.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190402.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190420.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190420.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190428_randomness.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190428_randomness.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190518_opt.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190518_opt.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190521_ablations.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190521_ablations.ipynb -------------------------------------------------------------------------------- /notebooks/spider_20190523_latex.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_20190523_latex.ipynb -------------------------------------------------------------------------------- /notebooks/spider_column_coverage.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_column_coverage.ipynb -------------------------------------------------------------------------------- /notebooks/spider_idioms_20190518.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/notebooks/spider_idioms_20190518.ipynb -------------------------------------------------------------------------------- /preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/preprocess.py -------------------------------------------------------------------------------- /scripts/compare_spider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/scripts/compare_spider.py -------------------------------------------------------------------------------- /scripts/convert_log_to_tensorboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/scripts/convert_log_to_tensorboard.py -------------------------------------------------------------------------------- /scripts/debug_spider_batched.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/scripts/debug_spider_batched.py -------------------------------------------------------------------------------- /scripts/output_spider_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/scripts/output_spider_evaluation.py -------------------------------------------------------------------------------- /scripts/spider_vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/scripts/spider_vocab.py -------------------------------------------------------------------------------- /scripts/test_idiom_ast_roundtrip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/scripts/test_idiom_ast_roundtrip.py -------------------------------------------------------------------------------- /scripts/test_spider_roundtrip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/scripts/test_spider_roundtrip.py -------------------------------------------------------------------------------- /scripts/tree_bpe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/scripts/tree_bpe.py -------------------------------------------------------------------------------- /seq2struct/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /seq2struct/ast_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/ast_util.py -------------------------------------------------------------------------------- /seq2struct/beam_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/beam_search.py -------------------------------------------------------------------------------- /seq2struct/cobatch/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /seq2struct/cobatch/_batcher.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/cobatch/_batcher.pyx -------------------------------------------------------------------------------- /seq2struct/cobatch/barrier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/cobatch/barrier.py -------------------------------------------------------------------------------- /seq2struct/cobatch/batcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/cobatch/batcher.py -------------------------------------------------------------------------------- /seq2struct/cobatch/batcher_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/cobatch/batcher_test.py -------------------------------------------------------------------------------- /seq2struct/cobatch/torch_batcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/cobatch/torch_batcher.py -------------------------------------------------------------------------------- /seq2struct/cobatch/torch_batcher_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/cobatch/torch_batcher_test.py -------------------------------------------------------------------------------- /seq2struct/datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/datasets/__init__.py -------------------------------------------------------------------------------- /seq2struct/datasets/django.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/datasets/django.py -------------------------------------------------------------------------------- /seq2struct/datasets/hearthstone.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/datasets/hearthstone.py -------------------------------------------------------------------------------- /seq2struct/datasets/idiom_ast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/datasets/idiom_ast.py -------------------------------------------------------------------------------- /seq2struct/datasets/spider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/datasets/spider.py -------------------------------------------------------------------------------- /seq2struct/grammars/Python.asdl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/grammars/Python.asdl -------------------------------------------------------------------------------- /seq2struct/grammars/Spider.asdl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/grammars/Spider.asdl -------------------------------------------------------------------------------- /seq2struct/grammars/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/grammars/__init__.py -------------------------------------------------------------------------------- /seq2struct/grammars/idiom_ast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/grammars/idiom_ast.py -------------------------------------------------------------------------------- /seq2struct/grammars/python.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/grammars/python.py -------------------------------------------------------------------------------- /seq2struct/grammars/spider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/grammars/spider.py -------------------------------------------------------------------------------- /seq2struct/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/__init__.py -------------------------------------------------------------------------------- /seq2struct/models/abstract_preproc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/abstract_preproc.py -------------------------------------------------------------------------------- /seq2struct/models/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/attention.py -------------------------------------------------------------------------------- /seq2struct/models/enc_dec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/enc_dec.py -------------------------------------------------------------------------------- /seq2struct/models/idiom_miner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/idiom_miner.py -------------------------------------------------------------------------------- /seq2struct/models/lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/lstm.py -------------------------------------------------------------------------------- /seq2struct/models/nl2code/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/nl2code/__init__.py -------------------------------------------------------------------------------- /seq2struct/models/nl2code/decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/nl2code/decoder.py -------------------------------------------------------------------------------- /seq2struct/models/nl2code/encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/nl2code/encoder.py -------------------------------------------------------------------------------- /seq2struct/models/nl2code/idiom_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/nl2code/idiom_template.py -------------------------------------------------------------------------------- /seq2struct/models/spider_enc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/spider_enc.py -------------------------------------------------------------------------------- /seq2struct/models/spider_enc_modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/spider_enc_modules.py -------------------------------------------------------------------------------- /seq2struct/models/spider_enc_old.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/spider_enc_old.py -------------------------------------------------------------------------------- /seq2struct/models/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/models/transformer.py -------------------------------------------------------------------------------- /seq2struct/optimizers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/optimizers.py -------------------------------------------------------------------------------- /seq2struct/resources/__init__.py: -------------------------------------------------------------------------------- 1 | from . import pretrained_embeddings 2 | -------------------------------------------------------------------------------- /seq2struct/resources/corenlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/resources/corenlp.py -------------------------------------------------------------------------------- /seq2struct/resources/pretrained_embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/resources/pretrained_embeddings.py -------------------------------------------------------------------------------- /seq2struct/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /seq2struct/utils/batched_sequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/utils/batched_sequence.py -------------------------------------------------------------------------------- /seq2struct/utils/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/utils/evaluation.py -------------------------------------------------------------------------------- /seq2struct/utils/indexed_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/utils/indexed_file.py -------------------------------------------------------------------------------- /seq2struct/utils/parallelizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/utils/parallelizer.py -------------------------------------------------------------------------------- /seq2struct/utils/random_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/utils/random_state.py -------------------------------------------------------------------------------- /seq2struct/utils/registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/utils/registry.py -------------------------------------------------------------------------------- /seq2struct/utils/saver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/utils/saver.py -------------------------------------------------------------------------------- /seq2struct/utils/serialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/utils/serialization.py -------------------------------------------------------------------------------- /seq2struct/utils/test_batched_sequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/utils/test_batched_sequence.py -------------------------------------------------------------------------------- /seq2struct/utils/test_parallelizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/utils/test_parallelizer.py -------------------------------------------------------------------------------- /seq2struct/utils/vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/seq2struct/utils/vocab.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/setup.py -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/setup.sh -------------------------------------------------------------------------------- /third_party/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/argparser/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/argparser/LICENSE -------------------------------------------------------------------------------- /third_party/argparser/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/argparser/README.md -------------------------------------------------------------------------------- /third_party/argparser/argparser.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/argparser/argparser.sh -------------------------------------------------------------------------------- /third_party/argparser/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/argparser/test.sh -------------------------------------------------------------------------------- /third_party/spider/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/README.md -------------------------------------------------------------------------------- /third_party/spider/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/.gitignore -------------------------------------------------------------------------------- /third_party/spider/baselines/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/README.md -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/README.md -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/astnode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/astnode.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/clean_sql.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/clean_sql.sh -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/code_gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/code_gen.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/components.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/components.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/config.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/data_preprocess/clean_sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/data_preprocess/clean_sql.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/dataset.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/decoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/evaluation.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/interactive_mode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/interactive_mode.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/grammar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/grammar.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/ifttt/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/ifttt/grammar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/ifttt/grammar.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/ifttt/ifttt_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/ifttt/ifttt_dataset.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/ifttt/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/ifttt/parse.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/py/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/py/grammar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/py/grammar.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/py/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/py/parse.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/py/py_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/py/py_dataset.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/py/seq2tree_exp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/py/seq2tree_exp.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/py/unaryclosure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/py/unaryclosure.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/sql/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/sql/ast_to_sql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/sql/ast_to_sql.js -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/sql/grammar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/sql/grammar.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/sql/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/sql/parse.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/sql/parser-ast.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/sql/parser-ast.js -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/sql/plot-1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/sql/plot-1.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/sql/sql_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/sql/sql_dataset.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/sql/sqlgenerate-kai.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/sql/sqlgenerate-kai.js -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/sql/sqlgenerate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/sql/sqlgenerate.js -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/type_system.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/lang/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/lang/util.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/learner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/learner.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/main.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/model.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'yinpengcheng' 2 | -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/activations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/activations.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/initializations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/initializations.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/layers/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'yinpengcheng' 2 | -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/layers/convolution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/layers/convolution.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/layers/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/layers/core.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/layers/embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/layers/embeddings.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/layers/recurrent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/layers/recurrent.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/objectives.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/objectives.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/optimizers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/optimizers.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/utils/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'yinpengcheng' 2 | -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/utils/config_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/utils/config_factory.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/utils/generic_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/utils/generic_utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/utils/io_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/utils/io_utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/utils/np_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/utils/np_utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/utils/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/utils/test_utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/nn/utils/theano_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/nn/utils/theano_utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/node_modules/.bin/sqlite-parser: -------------------------------------------------------------------------------- 1 | ../sqlite-parser/bin/sqlite-parser -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/node_modules/sqlite-parser/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/node_modules/sqlite-parser/CHANGELOG.md -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/node_modules/sqlite-parser/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/node_modules/sqlite-parser/LICENSE -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/node_modules/sqlite-parser/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/node_modules/sqlite-parser/README.md -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/node_modules/sqlite-parser/bin/sqlite-parser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/node_modules/sqlite-parser/bin/sqlite-parser -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/node_modules/sqlite-parser/dist/sqlite-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/node_modules/sqlite-parser/dist/sqlite-parser.js -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/node_modules/sqlite-parser/lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/node_modules/sqlite-parser/lib/index.js -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/node_modules/sqlite-parser/lib/parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/node_modules/sqlite-parser/lib/parser.js -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/node_modules/sqlite-parser/lib/streaming-shim.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/node_modules/sqlite-parser/lib/streaming-shim.js -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/node_modules/sqlite-parser/lib/streaming.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/node_modules/sqlite-parser/lib/streaming.js -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/node_modules/sqlite-parser/lib/tracer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/node_modules/sqlite-parser/lib/tracer.js -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/node_modules/sqlite-parser/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/node_modules/sqlite-parser/package.json -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/package.json -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/parse.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/parse_hiro.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/parse_hiro.py -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/preprocess.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/preprocess.sh -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/sql2ast.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/sql2ast.sh -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/test_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/test_data.sh -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/test_data_radn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/test_data_radn.sh -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/train_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/train_data.sh -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/train_data_radn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/train_data_radn.sh -------------------------------------------------------------------------------- /third_party/spider/baselines/nl2code/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/nl2code/util.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/CONTRIBUTING.md -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/LICENSE -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/README.md -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/data/cnn_daily_mail_summarization/process_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/data/cnn_daily_mail_summarization/process_data.sh -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/data/cnn_daily_mail_summarization/process_story.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/data/cnn_daily_mail_summarization/process_story.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/data/toy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/data/toy.sh -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/data/wmt16_en_de.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/data/wmt16_en_de.sh -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/infer.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/tools/beam_search_viz/tree.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/tools/beam_search_viz/tree.css -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/tools/beam_search_viz/tree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/tools/beam_search_viz/tree.js -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/tools/generate_beam_viz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/tools/generate_beam_viz.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/tools/generate_toy_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/tools/generate_toy_data.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/tools/generate_vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/tools/generate_vocab.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/tools/multi-bleu.perl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/tools/multi-bleu.perl -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/tools/profile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/tools/profile.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/tools/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/tools/tokenizer.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/bin/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/bin/train.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/config_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/config_builder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/data/pre_process/generate_vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/data/pre_process/generate_vocab.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/data/pre_process/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/data/pre_process/utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/experimental_configs/attn_copying_tune_data.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/experimental_configs/attn_copying_tune_data.yaml -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/experimental_configs/attn_copying_tune_data_radn_split.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/experimental_configs/attn_copying_tune_data_radn_split.yaml -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/experimental_configs/attn_tune_data.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/experimental_configs/attn_tune_data.yaml -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/experimental_configs/attn_tune_data_radn_split.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/experimental_configs/attn_tune_data_radn_split.yaml -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/experimental_configs/basic_tune_data.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/experimental_configs/basic_tune_data.yaml -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/experimental_configs/basic_tune_data_radn_split.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/experimental_configs/basic_tune_data_radn_split.yaml -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/__init__.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/configurable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/configurable.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/contrib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/contrib/__init__.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/contrib/experiment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/contrib/experiment.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/contrib/rnn_cell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/contrib/rnn_cell.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/__init__.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/decoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/helper.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/__init__.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/copying_data_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/copying_data_provider.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/copying_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/copying_decoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/embeddings.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/input_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/input_pipeline.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/parallel_data_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/parallel_data_provider.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/postproc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/postproc.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/sequence_example_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/sequence_example_decoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/split_tokens_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/split_tokens_decoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/triple_data_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/triple_data_provider.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/data/vocab.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/__init__.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/attention.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/attention_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/attention_decoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/basic_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/basic_decoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/beam_search_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/beam_search_decoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/rnn_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/rnn_decoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/schema_attention_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/decoders/schema_attention_decoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/encoders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/encoders/__init__.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/encoders/conv_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/encoders/conv_encoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/encoders/encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/encoders/encoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/encoders/image_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/encoders/image_encoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/encoders/pooling_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/encoders/pooling_encoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/global_vars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/global_vars.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/graph_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/graph_module.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/graph_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/graph_utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/inference/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/inference/__init__.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/inference/beam_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/inference/beam_search.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/inference/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/inference/inference.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/losses.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/metrics/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/metrics/__init__.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/metrics/bleu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/metrics/bleu.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/metrics/metric_specs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/metrics/metric_specs.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/metrics/rouge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/metrics/rouge.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/__init__.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/attention_copying_seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/attention_copying_seq2seq.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/attention_seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/attention_seq2seq.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/basic_seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/basic_seq2seq.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/image2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/image2seq.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/model_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/model_base.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_copying_seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_copying_seq2seq.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_seq2seq.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/seq2seq_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/models/seq2seq_model.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/tasks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/tasks/__init__.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/tasks/decode_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/tasks/decode_text.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_attention.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_beams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_beams.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/tasks/inference_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/tasks/inference_task.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/__init__.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/attention_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/attention_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/beam_search_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/beam_search_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/bridges_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/bridges_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/conv_encoder_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/conv_encoder_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/data_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/data_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/decoder_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/decoder_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/example_config_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/example_config_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/hooks_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/hooks_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/input_pipeline_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/input_pipeline_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/losses_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/losses_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/metrics_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/metrics_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/models_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/models_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/pipeline_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/pipeline_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/pooling_encoder_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/pooling_encoder_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/rnn_cell_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/rnn_cell_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/rnn_encoder_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/rnn_encoder_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/train_utils_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/train_utils_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/vocab_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/test/vocab_test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/training/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/training/__init__.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/seq2seq/training/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/seq2seq/training/utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/seq2seq_attention_copy/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/seq2seq_attention_copy/setup.py -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/README.md -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/data_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/scripts/data_process.py -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/lib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/lib/dbengine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/scripts/lib/dbengine.py -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/model/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/scripts/model/.DS_Store -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/model/modules/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/scripts/model/modules/.DS_Store -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/model/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/model/modules/cond_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/scripts/model/modules/cond_predict.py -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/model/modules/group_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/scripts/model/modules/group_predict.py -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/model/modules/net_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/scripts/model/modules/net_utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/model/modules/order_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/scripts/model/modules/order_predict.py -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/model/modules/sel_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/scripts/model/modules/sel_predict.py -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/model/modules/word_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/scripts/model/modules/word_embedding.py -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/model/sqlnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/scripts/model/sqlnet.py -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/scripts/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/scripts/utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/sqlnet/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/sqlnet/train.py -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/README.md -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/generate_datasets/.ipynb_checkpoints/test_data_process-checkpoint.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/generate_datasets/.ipynb_checkpoints/test_data_process-checkpoint.ipynb -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/generate_datasets/.ipynb_checkpoints/train_data_process-checkpoint.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/generate_datasets/.ipynb_checkpoints/train_data_process-checkpoint.ipynb -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/generate_datasets/test_data_process.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/generate_datasets/test_data_process.ipynb -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/generate_datasets/train_data_process.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/generate_datasets/train_data_process.ipynb -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/data_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/scripts/data_process.py -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/lib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/lib/dbengine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/scripts/lib/dbengine.py -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/model/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/scripts/model/.DS_Store -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/model/modules/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/scripts/model/modules/.DS_Store -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/model/modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/model/modules/cond_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/scripts/model/modules/cond_predict.py -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/model/modules/group_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/scripts/model/modules/group_predict.py -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/model/modules/net_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/scripts/model/modules/net_utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/model/modules/order_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/scripts/model/modules/order_predict.py -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/model/modules/sel_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/scripts/model/modules/sel_predict.py -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/model/modules/word_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/scripts/model/modules/word_embedding.py -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/model/typesql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/scripts/model/typesql.py -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/scripts/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/scripts/utils.py -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/test.py -------------------------------------------------------------------------------- /third_party/spider/baselines/typesql/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/baselines/typesql/train.py -------------------------------------------------------------------------------- /third_party/spider/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/evaluation.py -------------------------------------------------------------------------------- /third_party/spider/evaluation_examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/evaluation_examples/README.md -------------------------------------------------------------------------------- /third_party/spider/evaluation_examples/eval_result_example.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/evaluation_examples/eval_result_example.txt -------------------------------------------------------------------------------- /third_party/spider/evaluation_examples/gold_example.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/evaluation_examples/gold_example.txt -------------------------------------------------------------------------------- /third_party/spider/evaluation_examples/pred_example.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/evaluation_examples/pred_example.txt -------------------------------------------------------------------------------- /third_party/spider/preprocess/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/preprocess/README.md -------------------------------------------------------------------------------- /third_party/spider/preprocess/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/spider/preprocess/get_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/preprocess/get_tables.py -------------------------------------------------------------------------------- /third_party/spider/preprocess/parse_raw_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/preprocess/parse_raw_json.py -------------------------------------------------------------------------------- /third_party/spider/preprocess/parse_sql_one.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/preprocess/parse_sql_one.py -------------------------------------------------------------------------------- /third_party/spider/preprocess/parsed_sql_examples.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/preprocess/parsed_sql_examples.sql -------------------------------------------------------------------------------- /third_party/spider/preprocess/schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/preprocess/schema.py -------------------------------------------------------------------------------- /third_party/spider/process_sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/spider/process_sql.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/README.md -------------------------------------------------------------------------------- /third_party/syntaxSQL/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/syntaxSQL/data_augment/fix_wikisql_tables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/data_augment/fix_wikisql_tables.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/data_augment/train_patterns.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/data_augment/train_patterns.json -------------------------------------------------------------------------------- /third_party/syntaxSQL/data_augment/wikisql_tables.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/data_augment/wikisql_tables.json -------------------------------------------------------------------------------- /third_party/syntaxSQL/generate_wikisql_augment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/generate_wikisql_augment.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /third_party/syntaxSQL/models/agg_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/models/agg_predictor.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/models/andor_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/models/andor_predictor.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/models/col_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/models/col_predictor.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/models/desasc_limit_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/models/desasc_limit_predictor.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/models/having_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/models/having_predictor.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/models/keyword_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/models/keyword_predictor.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/models/multisql_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/models/multisql_predictor.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/models/net_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/models/net_utils.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/models/op_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/models/op_predictor.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/models/root_teminal_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/models/root_teminal_predictor.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/preprocess_train_dev_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/preprocess_train_dev_data.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/requirements.txt -------------------------------------------------------------------------------- /third_party/syntaxSQL/supermodel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/supermodel.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/test.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/test_gen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/test_gen.sh -------------------------------------------------------------------------------- /third_party/syntaxSQL/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/train.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/train_all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/train_all.sh -------------------------------------------------------------------------------- /third_party/syntaxSQL/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/utils.py -------------------------------------------------------------------------------- /third_party/syntaxSQL/word_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/third_party/syntaxSQL/word_embedding.py -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rshin/seq2struct/HEAD/train.py --------------------------------------------------------------------------------