├── .gitignore ├── LICENSE ├── README.md ├── hotpot ├── __init__.py ├── config.py ├── configurable.py ├── data_handling │ ├── __init__.py │ ├── data.py │ ├── dataset.py │ ├── hotpot │ │ ├── __init__.py │ │ ├── answer_span_detection.py │ │ ├── build_hotpot_questions.py │ │ ├── hotpot_data.py │ │ ├── hotpot_qa_training_data.py │ │ ├── hotpot_relevance_training_data.py │ │ └── question_paragraph_scoring.py │ ├── qa_training_data.py │ ├── relevance_training_data.py │ ├── span_data.py │ ├── squad │ │ ├── __init__.py │ │ ├── build _squad_relevance.py │ │ ├── simple_tf_idf_rank.py │ │ ├── squad_data.py │ │ └── squad_relevance_training_data.py │ └── word_vectors.py ├── elmo │ ├── __init__.py │ ├── build_elmo_vocab_from_db_counts.py │ ├── create_db_vocab.py │ ├── create_elmo_vocab.py │ ├── data.py │ ├── dump_embeddings.py │ ├── elmo.py │ └── lm_model.py ├── encoder.py ├── encoding │ ├── __init__.py │ ├── build_all_dev_tfidf_rankings.py │ ├── build_drqa_doc.py │ ├── build_openqa_from_encodings.py │ ├── encode_documents.py │ ├── encode_squad.py │ ├── iterative_encoding_retrieval.py │ ├── iterative_encoding_retrieval_batch.py │ ├── knn.py │ ├── old_iterative_ret.py │ └── paragraph_encoder.py ├── evaluator.py ├── model.py ├── model_dir.py ├── models │ ├── __init__.py │ ├── iterative_context_models.py │ ├── multiple_context_models.py │ ├── single_context_models.py │ └── single_context_qa_models.py ├── nn │ ├── __init__.py │ ├── attention.py │ ├── embedder.py │ ├── generative_layers.py │ ├── layers.py │ ├── ops.py │ ├── recurrent_layers.py │ ├── reformulation_layers.py │ ├── relevance_prediction.py │ ├── sentence_layers.py │ ├── similarity_layers.py │ ├── span_prediction.py │ └── span_prediction_ops.py ├── scripts │ ├── data_building │ │ ├── build_hotpot_distractors_dataset.py │ │ ├── build_hotpot_open_dataset.py │ │ ├── build_open_dataset_with_drqa_wiki.py │ │ └── open_paragraph_tfidf.py │ ├── encodings │ │ └── iterative_retrieval_eval.py │ ├── interactive.py │ ├── retriever │ │ ├── build_db.py │ │ ├── build_tfidf.py │ │ ├── eval.py │ │ └── interactive.py │ └── train_eval │ │ ├── ablate_hotpot_qa.py │ │ ├── ablate_hotpot_relevance.py │ │ ├── ablate_iterative_hotpot.py │ │ ├── ablate_squad_relevance.py │ │ ├── continue.py │ │ ├── eval_iterative_retriever.py │ │ ├── hotpot_full_relevance_ranking_eval.py │ │ ├── hotpot_iterative_basic_eval.py │ │ ├── hotpot_qa_distractors_eval.py │ │ ├── ranked_scores.py │ │ ├── ranked_scores_to_hotpot_pred.py │ │ ├── relevance_eval.py │ │ ├── squad_full_relevance_ranking_eval.py │ │ └── start_with_params.py ├── tfidf_retriever │ ├── __init__.py │ ├── doc_db.py │ ├── tfidf_doc_ranker.py │ └── utils.py ├── tokenizers │ ├── __init__.py │ ├── charoffset_tokenizer.py │ ├── corenlp_tokenizer.py │ ├── simple_tokenizer.py │ ├── spacy_tokenizer.py │ └── tokenizer.py ├── trainer.py └── utils.py ├── hotpot_evaluate_v1.py └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/README.md -------------------------------------------------------------------------------- /hotpot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hotpot/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/config.py -------------------------------------------------------------------------------- /hotpot/configurable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/configurable.py -------------------------------------------------------------------------------- /hotpot/data_handling/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hotpot/data_handling/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/data.py -------------------------------------------------------------------------------- /hotpot/data_handling/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/dataset.py -------------------------------------------------------------------------------- /hotpot/data_handling/hotpot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hotpot/data_handling/hotpot/answer_span_detection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/hotpot/answer_span_detection.py -------------------------------------------------------------------------------- /hotpot/data_handling/hotpot/build_hotpot_questions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/hotpot/build_hotpot_questions.py -------------------------------------------------------------------------------- /hotpot/data_handling/hotpot/hotpot_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/hotpot/hotpot_data.py -------------------------------------------------------------------------------- /hotpot/data_handling/hotpot/hotpot_qa_training_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/hotpot/hotpot_qa_training_data.py -------------------------------------------------------------------------------- /hotpot/data_handling/hotpot/hotpot_relevance_training_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/hotpot/hotpot_relevance_training_data.py -------------------------------------------------------------------------------- /hotpot/data_handling/hotpot/question_paragraph_scoring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/hotpot/question_paragraph_scoring.py -------------------------------------------------------------------------------- /hotpot/data_handling/qa_training_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/qa_training_data.py -------------------------------------------------------------------------------- /hotpot/data_handling/relevance_training_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/relevance_training_data.py -------------------------------------------------------------------------------- /hotpot/data_handling/span_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/span_data.py -------------------------------------------------------------------------------- /hotpot/data_handling/squad/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hotpot/data_handling/squad/build _squad_relevance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/squad/build _squad_relevance.py -------------------------------------------------------------------------------- /hotpot/data_handling/squad/simple_tf_idf_rank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/squad/simple_tf_idf_rank.py -------------------------------------------------------------------------------- /hotpot/data_handling/squad/squad_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/squad/squad_data.py -------------------------------------------------------------------------------- /hotpot/data_handling/squad/squad_relevance_training_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/squad/squad_relevance_training_data.py -------------------------------------------------------------------------------- /hotpot/data_handling/word_vectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/data_handling/word_vectors.py -------------------------------------------------------------------------------- /hotpot/elmo/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hotpot/elmo/build_elmo_vocab_from_db_counts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/elmo/build_elmo_vocab_from_db_counts.py -------------------------------------------------------------------------------- /hotpot/elmo/create_db_vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/elmo/create_db_vocab.py -------------------------------------------------------------------------------- /hotpot/elmo/create_elmo_vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/elmo/create_elmo_vocab.py -------------------------------------------------------------------------------- /hotpot/elmo/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/elmo/data.py -------------------------------------------------------------------------------- /hotpot/elmo/dump_embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/elmo/dump_embeddings.py -------------------------------------------------------------------------------- /hotpot/elmo/elmo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/elmo/elmo.py -------------------------------------------------------------------------------- /hotpot/elmo/lm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/elmo/lm_model.py -------------------------------------------------------------------------------- /hotpot/encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/encoder.py -------------------------------------------------------------------------------- /hotpot/encoding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hotpot/encoding/build_all_dev_tfidf_rankings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/encoding/build_all_dev_tfidf_rankings.py -------------------------------------------------------------------------------- /hotpot/encoding/build_drqa_doc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/encoding/build_drqa_doc.py -------------------------------------------------------------------------------- /hotpot/encoding/build_openqa_from_encodings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/encoding/build_openqa_from_encodings.py -------------------------------------------------------------------------------- /hotpot/encoding/encode_documents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/encoding/encode_documents.py -------------------------------------------------------------------------------- /hotpot/encoding/encode_squad.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/encoding/encode_squad.py -------------------------------------------------------------------------------- /hotpot/encoding/iterative_encoding_retrieval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/encoding/iterative_encoding_retrieval.py -------------------------------------------------------------------------------- /hotpot/encoding/iterative_encoding_retrieval_batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/encoding/iterative_encoding_retrieval_batch.py -------------------------------------------------------------------------------- /hotpot/encoding/knn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/encoding/knn.py -------------------------------------------------------------------------------- /hotpot/encoding/old_iterative_ret.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/encoding/old_iterative_ret.py -------------------------------------------------------------------------------- /hotpot/encoding/paragraph_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/encoding/paragraph_encoder.py -------------------------------------------------------------------------------- /hotpot/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/evaluator.py -------------------------------------------------------------------------------- /hotpot/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/model.py -------------------------------------------------------------------------------- /hotpot/model_dir.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/model_dir.py -------------------------------------------------------------------------------- /hotpot/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hotpot/models/iterative_context_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/models/iterative_context_models.py -------------------------------------------------------------------------------- /hotpot/models/multiple_context_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/models/multiple_context_models.py -------------------------------------------------------------------------------- /hotpot/models/single_context_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/models/single_context_models.py -------------------------------------------------------------------------------- /hotpot/models/single_context_qa_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/models/single_context_qa_models.py -------------------------------------------------------------------------------- /hotpot/nn/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hotpot/nn/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/nn/attention.py -------------------------------------------------------------------------------- /hotpot/nn/embedder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/nn/embedder.py -------------------------------------------------------------------------------- /hotpot/nn/generative_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/nn/generative_layers.py -------------------------------------------------------------------------------- /hotpot/nn/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/nn/layers.py -------------------------------------------------------------------------------- /hotpot/nn/ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/nn/ops.py -------------------------------------------------------------------------------- /hotpot/nn/recurrent_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/nn/recurrent_layers.py -------------------------------------------------------------------------------- /hotpot/nn/reformulation_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/nn/reformulation_layers.py -------------------------------------------------------------------------------- /hotpot/nn/relevance_prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/nn/relevance_prediction.py -------------------------------------------------------------------------------- /hotpot/nn/sentence_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/nn/sentence_layers.py -------------------------------------------------------------------------------- /hotpot/nn/similarity_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/nn/similarity_layers.py -------------------------------------------------------------------------------- /hotpot/nn/span_prediction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/nn/span_prediction.py -------------------------------------------------------------------------------- /hotpot/nn/span_prediction_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/nn/span_prediction_ops.py -------------------------------------------------------------------------------- /hotpot/scripts/data_building/build_hotpot_distractors_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/data_building/build_hotpot_distractors_dataset.py -------------------------------------------------------------------------------- /hotpot/scripts/data_building/build_hotpot_open_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/data_building/build_hotpot_open_dataset.py -------------------------------------------------------------------------------- /hotpot/scripts/data_building/build_open_dataset_with_drqa_wiki.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/data_building/build_open_dataset_with_drqa_wiki.py -------------------------------------------------------------------------------- /hotpot/scripts/data_building/open_paragraph_tfidf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/data_building/open_paragraph_tfidf.py -------------------------------------------------------------------------------- /hotpot/scripts/encodings/iterative_retrieval_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/encodings/iterative_retrieval_eval.py -------------------------------------------------------------------------------- /hotpot/scripts/interactive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/interactive.py -------------------------------------------------------------------------------- /hotpot/scripts/retriever/build_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/retriever/build_db.py -------------------------------------------------------------------------------- /hotpot/scripts/retriever/build_tfidf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/retriever/build_tfidf.py -------------------------------------------------------------------------------- /hotpot/scripts/retriever/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/retriever/eval.py -------------------------------------------------------------------------------- /hotpot/scripts/retriever/interactive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/retriever/interactive.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/ablate_hotpot_qa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/ablate_hotpot_qa.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/ablate_hotpot_relevance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/ablate_hotpot_relevance.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/ablate_iterative_hotpot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/ablate_iterative_hotpot.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/ablate_squad_relevance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/ablate_squad_relevance.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/continue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/continue.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/eval_iterative_retriever.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/eval_iterative_retriever.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/hotpot_full_relevance_ranking_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/hotpot_full_relevance_ranking_eval.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/hotpot_iterative_basic_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/hotpot_iterative_basic_eval.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/hotpot_qa_distractors_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/hotpot_qa_distractors_eval.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/ranked_scores.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/ranked_scores.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/ranked_scores_to_hotpot_pred.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/ranked_scores_to_hotpot_pred.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/relevance_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/relevance_eval.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/squad_full_relevance_ranking_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/squad_full_relevance_ranking_eval.py -------------------------------------------------------------------------------- /hotpot/scripts/train_eval/start_with_params.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/scripts/train_eval/start_with_params.py -------------------------------------------------------------------------------- /hotpot/tfidf_retriever/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hotpot/tfidf_retriever/doc_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/tfidf_retriever/doc_db.py -------------------------------------------------------------------------------- /hotpot/tfidf_retriever/tfidf_doc_ranker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/tfidf_retriever/tfidf_doc_ranker.py -------------------------------------------------------------------------------- /hotpot/tfidf_retriever/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/tfidf_retriever/utils.py -------------------------------------------------------------------------------- /hotpot/tokenizers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/tokenizers/__init__.py -------------------------------------------------------------------------------- /hotpot/tokenizers/charoffset_tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/tokenizers/charoffset_tokenizer.py -------------------------------------------------------------------------------- /hotpot/tokenizers/corenlp_tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/tokenizers/corenlp_tokenizer.py -------------------------------------------------------------------------------- /hotpot/tokenizers/simple_tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/tokenizers/simple_tokenizer.py -------------------------------------------------------------------------------- /hotpot/tokenizers/spacy_tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/tokenizers/spacy_tokenizer.py -------------------------------------------------------------------------------- /hotpot/tokenizers/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/tokenizers/tokenizer.py -------------------------------------------------------------------------------- /hotpot/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/trainer.py -------------------------------------------------------------------------------- /hotpot/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot/utils.py -------------------------------------------------------------------------------- /hotpot_evaluate_v1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/hotpot_evaluate_v1.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yairf11/MUPPET/HEAD/requirements.txt --------------------------------------------------------------------------------