├── .gitignore ├── README.md ├── __init__.py ├── _config.yml ├── allenconfigs ├── naqanet.jsonnet ├── semqa │ └── train │ │ ├── drop_bert_test.jsonnet │ │ ├── drop_parser.jsonnet │ │ ├── drop_parser_bert.jsonnet │ │ ├── drop_qanet.jsonnet │ │ ├── passage_attn2count.jsonnet │ │ ├── passage_attn2span.jsonnet │ │ └── utils.libsonnet └── utils.libsonnet ├── analysis ├── __init__.py ├── avg_random_seeds.py ├── comparative_error_analysis.py ├── compare_MTMSN_Ours.py ├── dev_numsteps_annotation.tsv └── num_steps_analysis.py ├── datasets ├── __init__.py ├── drop │ ├── __init__.py │ ├── analysis │ │ ├── __init__.py │ │ ├── answer_type.py │ │ ├── ngram_split.py │ │ ├── parabucketedsize.py │ │ ├── quespara_size.py │ │ ├── supervision_stats.py │ │ ├── write_qidqstr.py │ │ ├── write_ques_str.py │ │ └── write_sample_json.py │ ├── constants.py │ ├── fulldata_setting │ │ ├── __init__.py │ │ └── merge_mydata.py │ ├── merge_datasets.py │ ├── preprocess │ │ ├── README.md │ │ ├── __init__.py │ │ ├── datecomp │ │ │ ├── __init__.py │ │ │ ├── date_comparison_prune.py │ │ │ └── date_data_augmentation.py │ │ ├── how_many_yards │ │ │ ├── __init__.py │ │ │ ├── all_num_ques.py │ │ │ ├── count_ques.py │ │ │ ├── count_ques_alternate.py │ │ │ ├── how_many_yards.py │ │ │ ├── how_many_yards_alternate.py │ │ │ └── yards_difference.py │ │ ├── ner_process.py │ │ ├── numcomp │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── add_supervision.py │ │ │ └── prune_numcomp.py │ │ ├── percent │ │ │ ├── __init__.py │ │ │ └── percent.py │ │ ├── synthetic │ │ │ ├── __init__.py │ │ │ ├── count_ques.py │ │ │ └── num_grounding.py │ │ ├── tokenize.py │ │ ├── who_relocate │ │ │ ├── __init__.py │ │ │ ├── relocate_wprogs.py │ │ │ └── relocate_wprogs_alternate.py │ │ └── year_diff │ │ │ ├── __init__.py │ │ │ └── year_diff.py │ ├── remove_execution_supervision.py │ ├── remove_strong_supervision.py │ ├── sample_dataset.py │ ├── split_dev.py │ ├── split_dev_ratio.py │ ├── split_qtype_dev.py │ └── synthetic │ │ ├── __init__.py │ │ └── pattn2count.py └── utils │ ├── __init__.py │ ├── sizes.py │ └── sortDocs.py ├── interpret_drop ├── __init__.py ├── compute_interpretability.py ├── data_manipulation │ ├── __init__.py │ └── simplify_programs.py └── logical_form_supervision.py ├── pattn2count_ckpt ├── best.th ├── config.json ├── log │ ├── train │ │ └── events.out.tfevents.1557369269.gissing │ └── validation │ │ └── events.out.tfevents.1557369269.gissing ├── metrics_epoch_0.json ├── metrics_epoch_1.json ├── metrics_epoch_2.json ├── metrics_epoch_3.json ├── metrics_epoch_4.json ├── metrics_epoch_5.json ├── metrics_epoch_6.json ├── model.tar.gz ├── model_state_epoch_6.th ├── predictions │ ├── eval.txt │ └── preds.txt ├── training_state_epoch_6.th └── vocabulary │ └── non_padded_namespaces.txt ├── scripts ├── allennlp │ ├── base │ │ ├── evaluate.sh │ │ ├── make_model_tar.sh │ │ ├── predict.sh │ │ ├── resume.sh │ │ ├── train.sh │ │ └── vocab.sh │ └── models │ │ ├── drop_bert │ │ ├── evaluate.sh │ │ ├── evaluate_subdatasets.sh │ │ ├── flame.sh │ │ ├── predict.sh │ │ ├── predict_interpret.sh │ │ ├── predict_subdatasets.sh │ │ ├── train.sh │ │ └── train_localtest.sh │ │ ├── drop_parser │ │ ├── evaluate.sh │ │ ├── finetune.sh │ │ ├── predict.sh │ │ ├── sampletrain.sh │ │ └── train.sh │ │ ├── drop_pattn2count │ │ ├── predict.sh │ │ └── train.sh │ │ ├── drop_pattn2span │ │ ├── predict.sh │ │ └── train.sh │ │ └── naqanet │ │ ├── evaluate.sh │ │ ├── predict.sh │ │ └── train.sh ├── aws_datacopy.sh ├── datasets │ ├── drop │ │ ├── make_droppruned_data.sh │ │ ├── merge_datasets.sh │ │ ├── merge_multiple_datasets.sh │ │ ├── preprocess_data.sh │ │ ├── process_datecomp_ques.sh │ │ ├── process_how_many_yards.sh │ │ ├── process_numcomp_ques.sh │ │ ├── process_who_relocate.sh │ │ ├── process_yardsdiff.sh │ │ ├── process_yeardiff.sh │ │ ├── prune_ques.sh │ │ ├── remove_execution_supervision.sh │ │ ├── remove_strong_supervision.sh │ │ ├── split_dev_set.sh │ │ └── split_qtype_dev_set.sh │ └── post_iclr │ │ ├── make_droppruned_data.sh │ │ ├── make_droppruned_nov19_data.sh │ │ └── merge_partial_to_fulldata.sh └── iclr │ ├── evaluate.sh │ ├── evaluate_subdatasets.sh │ ├── predict.sh │ └── train.sh ├── semqa ├── __init__.py ├── data │ ├── __init__.py │ ├── dataset_readers │ │ ├── __init__.py │ │ ├── drop_reader.py │ │ ├── drop_reader_bert.py │ │ ├── numdist2count.py │ │ ├── passage_attn2span.py │ │ └── pattn2count_reader.py │ └── iterators │ │ ├── __init__.py │ │ └── filter_iterator.py ├── domain_languages │ ├── __init__.py │ ├── domain_language_utils.py │ ├── drop_execution_parameters.py │ ├── drop_language.py │ └── test_language.py ├── models │ ├── __init__.py │ ├── drop_parser.py │ ├── drop_parser_base.py │ ├── drop_parser_bert.py │ ├── passage_attn_to_count.py │ ├── passage_attn_to_span.py │ ├── qanet.py │ └── utils │ │ ├── __init__.py │ │ ├── bert_config_test.json │ │ ├── bidaf_utils.py │ │ ├── generic_utils.py │ │ └── semparse_utils.py ├── predictors │ ├── __init__.py │ ├── demo_predictor.py │ ├── drop_parser_predictor.py │ ├── drop_qanet_predictor.py │ └── pattn2count_predictor.py ├── profiler │ ├── __init__.py │ └── profile.py ├── state_machines │ ├── __init__.py │ ├── constrained_beam_search.py │ ├── prefixed_beam_search.py │ └── transition_functions │ │ ├── __init__.py │ │ └── linking_transition_func_emb.py └── tests │ ├── __init__.py │ ├── data │ └── drop │ │ └── date │ │ └── drop.json │ ├── fixtures │ ├── __init__.py │ └── drop_parser │ │ ├── __init__.py │ │ └── experiment.json │ └── models │ ├── __init__.py │ └── drop │ ├── __init__.py │ └── drop_parser_test.py ├── test ├── __init__.py ├── accuracy.py ├── allowed_prefix_beamsearch.py ├── attention2count.py ├── blockdiagonal.py ├── count_distribution.py ├── date_compare.py ├── date_compare_attn.py ├── date_data_augmentation.py ├── date_first_or_last.py ├── date_gold_lf.py ├── eval.py ├── f1.py ├── func_call.py ├── gru_test.py ├── langtest.py ├── lf_dist.py ├── max_min_dist.py ├── multiprocess.py ├── nerd_analysis.py ├── number_token_max.py ├── profiler_test.py ├── relocate.py ├── sample_data.py └── tokenization.py └── utils ├── TAUtils.py ├── __init__.py ├── constants.py ├── evaluate_jsonnet.py ├── fenwicktree.py ├── spacyutils.py ├── stopwords.txt └── util.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/_config.yml -------------------------------------------------------------------------------- /allenconfigs/naqanet.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/allenconfigs/naqanet.jsonnet -------------------------------------------------------------------------------- /allenconfigs/semqa/train/drop_bert_test.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/allenconfigs/semqa/train/drop_bert_test.jsonnet -------------------------------------------------------------------------------- /allenconfigs/semqa/train/drop_parser.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/allenconfigs/semqa/train/drop_parser.jsonnet -------------------------------------------------------------------------------- /allenconfigs/semqa/train/drop_parser_bert.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/allenconfigs/semqa/train/drop_parser_bert.jsonnet -------------------------------------------------------------------------------- /allenconfigs/semqa/train/drop_qanet.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/allenconfigs/semqa/train/drop_qanet.jsonnet -------------------------------------------------------------------------------- /allenconfigs/semqa/train/passage_attn2count.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/allenconfigs/semqa/train/passage_attn2count.jsonnet -------------------------------------------------------------------------------- /allenconfigs/semqa/train/passage_attn2span.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/allenconfigs/semqa/train/passage_attn2span.jsonnet -------------------------------------------------------------------------------- /allenconfigs/semqa/train/utils.libsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/allenconfigs/semqa/train/utils.libsonnet -------------------------------------------------------------------------------- /allenconfigs/utils.libsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/allenconfigs/utils.libsonnet -------------------------------------------------------------------------------- /analysis/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /analysis/avg_random_seeds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/analysis/avg_random_seeds.py -------------------------------------------------------------------------------- /analysis/comparative_error_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/analysis/comparative_error_analysis.py -------------------------------------------------------------------------------- /analysis/compare_MTMSN_Ours.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/analysis/compare_MTMSN_Ours.py -------------------------------------------------------------------------------- /analysis/dev_numsteps_annotation.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/analysis/dev_numsteps_annotation.tsv -------------------------------------------------------------------------------- /analysis/num_steps_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/analysis/num_steps_analysis.py -------------------------------------------------------------------------------- /datasets/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/analysis/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/analysis/answer_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/analysis/answer_type.py -------------------------------------------------------------------------------- /datasets/drop/analysis/ngram_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/analysis/ngram_split.py -------------------------------------------------------------------------------- /datasets/drop/analysis/parabucketedsize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/analysis/parabucketedsize.py -------------------------------------------------------------------------------- /datasets/drop/analysis/quespara_size.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/analysis/quespara_size.py -------------------------------------------------------------------------------- /datasets/drop/analysis/supervision_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/analysis/supervision_stats.py -------------------------------------------------------------------------------- /datasets/drop/analysis/write_qidqstr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/analysis/write_qidqstr.py -------------------------------------------------------------------------------- /datasets/drop/analysis/write_ques_str.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/analysis/write_ques_str.py -------------------------------------------------------------------------------- /datasets/drop/analysis/write_sample_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/analysis/write_sample_json.py -------------------------------------------------------------------------------- /datasets/drop/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/constants.py -------------------------------------------------------------------------------- /datasets/drop/fulldata_setting/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/fulldata_setting/merge_mydata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/fulldata_setting/merge_mydata.py -------------------------------------------------------------------------------- /datasets/drop/merge_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/merge_datasets.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/README.md -------------------------------------------------------------------------------- /datasets/drop/preprocess/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/preprocess/datecomp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/preprocess/datecomp/date_comparison_prune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/datecomp/date_comparison_prune.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/datecomp/date_data_augmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/datecomp/date_data_augmentation.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/how_many_yards/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/preprocess/how_many_yards/all_num_ques.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/how_many_yards/all_num_ques.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/how_many_yards/count_ques.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/how_many_yards/count_ques.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/how_many_yards/count_ques_alternate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/how_many_yards/count_ques_alternate.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/how_many_yards/how_many_yards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/how_many_yards/how_many_yards.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/how_many_yards/how_many_yards_alternate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/how_many_yards/how_many_yards_alternate.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/how_many_yards/yards_difference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/how_many_yards/yards_difference.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/ner_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/ner_process.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/numcomp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/numcomp/README.md -------------------------------------------------------------------------------- /datasets/drop/preprocess/numcomp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/preprocess/numcomp/add_supervision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/numcomp/add_supervision.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/numcomp/prune_numcomp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/numcomp/prune_numcomp.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/percent/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/preprocess/percent/percent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/percent/percent.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/synthetic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/preprocess/synthetic/count_ques.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/synthetic/count_ques.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/synthetic/num_grounding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/synthetic/num_grounding.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/tokenize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/tokenize.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/who_relocate/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/preprocess/who_relocate/relocate_wprogs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/who_relocate/relocate_wprogs.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/who_relocate/relocate_wprogs_alternate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/who_relocate/relocate_wprogs_alternate.py -------------------------------------------------------------------------------- /datasets/drop/preprocess/year_diff/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/preprocess/year_diff/year_diff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/preprocess/year_diff/year_diff.py -------------------------------------------------------------------------------- /datasets/drop/remove_execution_supervision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/remove_execution_supervision.py -------------------------------------------------------------------------------- /datasets/drop/remove_strong_supervision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/remove_strong_supervision.py -------------------------------------------------------------------------------- /datasets/drop/sample_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/sample_dataset.py -------------------------------------------------------------------------------- /datasets/drop/split_dev.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/split_dev.py -------------------------------------------------------------------------------- /datasets/drop/split_dev_ratio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/split_dev_ratio.py -------------------------------------------------------------------------------- /datasets/drop/split_qtype_dev.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/split_qtype_dev.py -------------------------------------------------------------------------------- /datasets/drop/synthetic/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/drop/synthetic/pattn2count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/drop/synthetic/pattn2count.py -------------------------------------------------------------------------------- /datasets/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datasets/utils/sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/utils/sizes.py -------------------------------------------------------------------------------- /datasets/utils/sortDocs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/datasets/utils/sortDocs.py -------------------------------------------------------------------------------- /interpret_drop/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /interpret_drop/compute_interpretability.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/interpret_drop/compute_interpretability.py -------------------------------------------------------------------------------- /interpret_drop/data_manipulation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /interpret_drop/data_manipulation/simplify_programs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/interpret_drop/data_manipulation/simplify_programs.py -------------------------------------------------------------------------------- /interpret_drop/logical_form_supervision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/interpret_drop/logical_form_supervision.py -------------------------------------------------------------------------------- /pattn2count_ckpt/best.th: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/best.th -------------------------------------------------------------------------------- /pattn2count_ckpt/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/config.json -------------------------------------------------------------------------------- /pattn2count_ckpt/log/train/events.out.tfevents.1557369269.gissing: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/log/train/events.out.tfevents.1557369269.gissing -------------------------------------------------------------------------------- /pattn2count_ckpt/log/validation/events.out.tfevents.1557369269.gissing: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/log/validation/events.out.tfevents.1557369269.gissing -------------------------------------------------------------------------------- /pattn2count_ckpt/metrics_epoch_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/metrics_epoch_0.json -------------------------------------------------------------------------------- /pattn2count_ckpt/metrics_epoch_1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/metrics_epoch_1.json -------------------------------------------------------------------------------- /pattn2count_ckpt/metrics_epoch_2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/metrics_epoch_2.json -------------------------------------------------------------------------------- /pattn2count_ckpt/metrics_epoch_3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/metrics_epoch_3.json -------------------------------------------------------------------------------- /pattn2count_ckpt/metrics_epoch_4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/metrics_epoch_4.json -------------------------------------------------------------------------------- /pattn2count_ckpt/metrics_epoch_5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/metrics_epoch_5.json -------------------------------------------------------------------------------- /pattn2count_ckpt/metrics_epoch_6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/metrics_epoch_6.json -------------------------------------------------------------------------------- /pattn2count_ckpt/model.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/model.tar.gz -------------------------------------------------------------------------------- /pattn2count_ckpt/model_state_epoch_6.th: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/model_state_epoch_6.th -------------------------------------------------------------------------------- /pattn2count_ckpt/predictions/eval.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/predictions/eval.txt -------------------------------------------------------------------------------- /pattn2count_ckpt/predictions/preds.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/predictions/preds.txt -------------------------------------------------------------------------------- /pattn2count_ckpt/training_state_epoch_6.th: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/pattn2count_ckpt/training_state_epoch_6.th -------------------------------------------------------------------------------- /pattn2count_ckpt/vocabulary/non_padded_namespaces.txt: -------------------------------------------------------------------------------- 1 | *tags 2 | *labels 3 | -------------------------------------------------------------------------------- /scripts/allennlp/base/evaluate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/base/evaluate.sh -------------------------------------------------------------------------------- /scripts/allennlp/base/make_model_tar.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/base/make_model_tar.sh -------------------------------------------------------------------------------- /scripts/allennlp/base/predict.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/base/predict.sh -------------------------------------------------------------------------------- /scripts/allennlp/base/resume.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/base/resume.sh -------------------------------------------------------------------------------- /scripts/allennlp/base/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/base/train.sh -------------------------------------------------------------------------------- /scripts/allennlp/base/vocab.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/base/vocab.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_bert/evaluate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_bert/evaluate.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_bert/evaluate_subdatasets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_bert/evaluate_subdatasets.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_bert/flame.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_bert/flame.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_bert/predict.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_bert/predict.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_bert/predict_interpret.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_bert/predict_interpret.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_bert/predict_subdatasets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_bert/predict_subdatasets.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_bert/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_bert/train.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_bert/train_localtest.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_bert/train_localtest.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_parser/evaluate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_parser/evaluate.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_parser/finetune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_parser/finetune.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_parser/predict.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_parser/predict.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_parser/sampletrain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_parser/sampletrain.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_parser/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_parser/train.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_pattn2count/predict.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_pattn2count/predict.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_pattn2count/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_pattn2count/train.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_pattn2span/predict.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_pattn2span/predict.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/drop_pattn2span/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/drop_pattn2span/train.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/naqanet/evaluate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/naqanet/evaluate.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/naqanet/predict.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/naqanet/predict.sh -------------------------------------------------------------------------------- /scripts/allennlp/models/naqanet/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/allennlp/models/naqanet/train.sh -------------------------------------------------------------------------------- /scripts/aws_datacopy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/aws_datacopy.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/make_droppruned_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/make_droppruned_data.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/merge_datasets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/merge_datasets.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/merge_multiple_datasets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/merge_multiple_datasets.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/preprocess_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/preprocess_data.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/process_datecomp_ques.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/process_datecomp_ques.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/process_how_many_yards.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/process_how_many_yards.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/process_numcomp_ques.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/process_numcomp_ques.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/process_who_relocate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/process_who_relocate.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/process_yardsdiff.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/process_yardsdiff.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/process_yeardiff.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/process_yeardiff.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/prune_ques.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/prune_ques.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/remove_execution_supervision.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/remove_execution_supervision.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/remove_strong_supervision.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/remove_strong_supervision.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/split_dev_set.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/split_dev_set.sh -------------------------------------------------------------------------------- /scripts/datasets/drop/split_qtype_dev_set.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/drop/split_qtype_dev_set.sh -------------------------------------------------------------------------------- /scripts/datasets/post_iclr/make_droppruned_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/post_iclr/make_droppruned_data.sh -------------------------------------------------------------------------------- /scripts/datasets/post_iclr/make_droppruned_nov19_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/post_iclr/make_droppruned_nov19_data.sh -------------------------------------------------------------------------------- /scripts/datasets/post_iclr/merge_partial_to_fulldata.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/datasets/post_iclr/merge_partial_to_fulldata.sh -------------------------------------------------------------------------------- /scripts/iclr/evaluate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/iclr/evaluate.sh -------------------------------------------------------------------------------- /scripts/iclr/evaluate_subdatasets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/iclr/evaluate_subdatasets.sh -------------------------------------------------------------------------------- /scripts/iclr/predict.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/iclr/predict.sh -------------------------------------------------------------------------------- /scripts/iclr/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/scripts/iclr/train.sh -------------------------------------------------------------------------------- /semqa/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/__init__.py -------------------------------------------------------------------------------- /semqa/data/__init__.py: -------------------------------------------------------------------------------- 1 | import semqa.data.iterators 2 | -------------------------------------------------------------------------------- /semqa/data/dataset_readers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /semqa/data/dataset_readers/drop_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/data/dataset_readers/drop_reader.py -------------------------------------------------------------------------------- /semqa/data/dataset_readers/drop_reader_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/data/dataset_readers/drop_reader_bert.py -------------------------------------------------------------------------------- /semqa/data/dataset_readers/numdist2count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/data/dataset_readers/numdist2count.py -------------------------------------------------------------------------------- /semqa/data/dataset_readers/passage_attn2span.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/data/dataset_readers/passage_attn2span.py -------------------------------------------------------------------------------- /semqa/data/dataset_readers/pattn2count_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/data/dataset_readers/pattn2count_reader.py -------------------------------------------------------------------------------- /semqa/data/iterators/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/data/iterators/__init__.py -------------------------------------------------------------------------------- /semqa/data/iterators/filter_iterator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/data/iterators/filter_iterator.py -------------------------------------------------------------------------------- /semqa/domain_languages/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/domain_languages/__init__.py -------------------------------------------------------------------------------- /semqa/domain_languages/domain_language_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/domain_languages/domain_language_utils.py -------------------------------------------------------------------------------- /semqa/domain_languages/drop_execution_parameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/domain_languages/drop_execution_parameters.py -------------------------------------------------------------------------------- /semqa/domain_languages/drop_language.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/domain_languages/drop_language.py -------------------------------------------------------------------------------- /semqa/domain_languages/test_language.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/domain_languages/test_language.py -------------------------------------------------------------------------------- /semqa/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /semqa/models/drop_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/models/drop_parser.py -------------------------------------------------------------------------------- /semqa/models/drop_parser_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/models/drop_parser_base.py -------------------------------------------------------------------------------- /semqa/models/drop_parser_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/models/drop_parser_bert.py -------------------------------------------------------------------------------- /semqa/models/passage_attn_to_count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/models/passage_attn_to_count.py -------------------------------------------------------------------------------- /semqa/models/passage_attn_to_span.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/models/passage_attn_to_span.py -------------------------------------------------------------------------------- /semqa/models/qanet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/models/qanet.py -------------------------------------------------------------------------------- /semqa/models/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /semqa/models/utils/bert_config_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/models/utils/bert_config_test.json -------------------------------------------------------------------------------- /semqa/models/utils/bidaf_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/models/utils/bidaf_utils.py -------------------------------------------------------------------------------- /semqa/models/utils/generic_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/models/utils/generic_utils.py -------------------------------------------------------------------------------- /semqa/models/utils/semparse_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/models/utils/semparse_utils.py -------------------------------------------------------------------------------- /semqa/predictors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /semqa/predictors/demo_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/predictors/demo_predictor.py -------------------------------------------------------------------------------- /semqa/predictors/drop_parser_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/predictors/drop_parser_predictor.py -------------------------------------------------------------------------------- /semqa/predictors/drop_qanet_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/predictors/drop_qanet_predictor.py -------------------------------------------------------------------------------- /semqa/predictors/pattn2count_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/predictors/pattn2count_predictor.py -------------------------------------------------------------------------------- /semqa/profiler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /semqa/profiler/profile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/profiler/profile.py -------------------------------------------------------------------------------- /semqa/state_machines/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/state_machines/__init__.py -------------------------------------------------------------------------------- /semqa/state_machines/constrained_beam_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/state_machines/constrained_beam_search.py -------------------------------------------------------------------------------- /semqa/state_machines/prefixed_beam_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/state_machines/prefixed_beam_search.py -------------------------------------------------------------------------------- /semqa/state_machines/transition_functions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/state_machines/transition_functions/__init__.py -------------------------------------------------------------------------------- /semqa/state_machines/transition_functions/linking_transition_func_emb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/state_machines/transition_functions/linking_transition_func_emb.py -------------------------------------------------------------------------------- /semqa/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /semqa/tests/data/drop/date/drop.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/tests/data/drop/date/drop.json -------------------------------------------------------------------------------- /semqa/tests/fixtures/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /semqa/tests/fixtures/drop_parser/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /semqa/tests/fixtures/drop_parser/experiment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/tests/fixtures/drop_parser/experiment.json -------------------------------------------------------------------------------- /semqa/tests/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /semqa/tests/models/drop/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /semqa/tests/models/drop/drop_parser_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/semqa/tests/models/drop/drop_parser_test.py -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/accuracy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/accuracy.py -------------------------------------------------------------------------------- /test/allowed_prefix_beamsearch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/allowed_prefix_beamsearch.py -------------------------------------------------------------------------------- /test/attention2count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/attention2count.py -------------------------------------------------------------------------------- /test/blockdiagonal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/blockdiagonal.py -------------------------------------------------------------------------------- /test/count_distribution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/count_distribution.py -------------------------------------------------------------------------------- /test/date_compare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/date_compare.py -------------------------------------------------------------------------------- /test/date_compare_attn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/date_compare_attn.py -------------------------------------------------------------------------------- /test/date_data_augmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/date_data_augmentation.py -------------------------------------------------------------------------------- /test/date_first_or_last.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/date_first_or_last.py -------------------------------------------------------------------------------- /test/date_gold_lf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/date_gold_lf.py -------------------------------------------------------------------------------- /test/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/eval.py -------------------------------------------------------------------------------- /test/f1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/f1.py -------------------------------------------------------------------------------- /test/func_call.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/func_call.py -------------------------------------------------------------------------------- /test/gru_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/gru_test.py -------------------------------------------------------------------------------- /test/langtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/langtest.py -------------------------------------------------------------------------------- /test/lf_dist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/lf_dist.py -------------------------------------------------------------------------------- /test/max_min_dist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/max_min_dist.py -------------------------------------------------------------------------------- /test/multiprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/multiprocess.py -------------------------------------------------------------------------------- /test/nerd_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/nerd_analysis.py -------------------------------------------------------------------------------- /test/number_token_max.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/number_token_max.py -------------------------------------------------------------------------------- /test/profiler_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/profiler_test.py -------------------------------------------------------------------------------- /test/relocate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/relocate.py -------------------------------------------------------------------------------- /test/sample_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/sample_data.py -------------------------------------------------------------------------------- /test/tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/test/tokenization.py -------------------------------------------------------------------------------- /utils/TAUtils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/utils/TAUtils.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/utils/constants.py -------------------------------------------------------------------------------- /utils/evaluate_jsonnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/utils/evaluate_jsonnet.py -------------------------------------------------------------------------------- /utils/fenwicktree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/utils/fenwicktree.py -------------------------------------------------------------------------------- /utils/spacyutils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/utils/spacyutils.py -------------------------------------------------------------------------------- /utils/stopwords.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/utils/stopwords.txt -------------------------------------------------------------------------------- /utils/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitishgupta/nmn-drop/HEAD/utils/util.py --------------------------------------------------------------------------------