├── README.md ├── datasets ├── multi_retriever ├── data │ └── nli_data_process.py ├── models │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ └── tokenization.cpython-37.pyc │ └── tokenization.py ├── multi_step_retriever.py └── retriever │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── dense_retriever.cpython-37.pyc │ ├── sparse_retriever_fast.cpython-37.pyc │ └── vector_index.cpython-37.pyc │ ├── dense_retriever.py │ ├── sparse_retriever.py │ ├── sparse_retriever_fast.py │ └── vector_index.py ├── news_nli ├── .gitignore ├── bert_nli.py ├── datasets │ ├── .gitignore │ └── gossipcop_content_no_ignore.tsv ├── output │ ├── .gitignore │ └── nli_model │ │ ├── .gitignore │ │ ├── gossipcop │ │ └── .gitignore │ │ └── politifact │ │ └── .gitignore ├── test_trained_model.py ├── train.py └── utils │ ├── input_example.py │ ├── logging_handler.py │ ├── nli_data_reader.py │ └── utils.py └── requirements.txt /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/README.md -------------------------------------------------------------------------------- /datasets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/datasets -------------------------------------------------------------------------------- /multi_retriever/data/nli_data_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/data/nli_data_process.py -------------------------------------------------------------------------------- /multi_retriever/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multi_retriever/models/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/models/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /multi_retriever/models/__pycache__/tokenization.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/models/__pycache__/tokenization.cpython-37.pyc -------------------------------------------------------------------------------- /multi_retriever/models/tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/models/tokenization.py -------------------------------------------------------------------------------- /multi_retriever/multi_step_retriever.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/multi_step_retriever.py -------------------------------------------------------------------------------- /multi_retriever/retriever/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /multi_retriever/retriever/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/retriever/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /multi_retriever/retriever/__pycache__/dense_retriever.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/retriever/__pycache__/dense_retriever.cpython-37.pyc -------------------------------------------------------------------------------- /multi_retriever/retriever/__pycache__/sparse_retriever_fast.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/retriever/__pycache__/sparse_retriever_fast.cpython-37.pyc -------------------------------------------------------------------------------- /multi_retriever/retriever/__pycache__/vector_index.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/retriever/__pycache__/vector_index.cpython-37.pyc -------------------------------------------------------------------------------- /multi_retriever/retriever/dense_retriever.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/retriever/dense_retriever.py -------------------------------------------------------------------------------- /multi_retriever/retriever/sparse_retriever.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/retriever/sparse_retriever.py -------------------------------------------------------------------------------- /multi_retriever/retriever/sparse_retriever_fast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/retriever/sparse_retriever_fast.py -------------------------------------------------------------------------------- /multi_retriever/retriever/vector_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/multi_retriever/retriever/vector_index.py -------------------------------------------------------------------------------- /news_nli/.gitignore: -------------------------------------------------------------------------------- 1 | apex/ 2 | venv_nli/ 3 | *.pyc 4 | -------------------------------------------------------------------------------- /news_nli/bert_nli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/news_nli/bert_nli.py -------------------------------------------------------------------------------- /news_nli/datasets/.gitignore: -------------------------------------------------------------------------------- 1 | AllNLI/ 2 | -------------------------------------------------------------------------------- /news_nli/datasets/gossipcop_content_no_ignore.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/news_nli/datasets/gossipcop_content_no_ignore.tsv -------------------------------------------------------------------------------- /news_nli/output/.gitignore: -------------------------------------------------------------------------------- 1 | sample_model.state_dict 2 | -------------------------------------------------------------------------------- /news_nli/output/nli_model/.gitignore: -------------------------------------------------------------------------------- 1 | sample_model.state_dict 2 | -------------------------------------------------------------------------------- /news_nli/output/nli_model/gossipcop/.gitignore: -------------------------------------------------------------------------------- 1 | sample_model.state_dict 2 | -------------------------------------------------------------------------------- /news_nli/output/nli_model/politifact/.gitignore: -------------------------------------------------------------------------------- 1 | sample_model.state_dict 2 | -------------------------------------------------------------------------------- /news_nli/test_trained_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/news_nli/test_trained_model.py -------------------------------------------------------------------------------- /news_nli/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/news_nli/train.py -------------------------------------------------------------------------------- /news_nli/utils/input_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/news_nli/utils/input_example.py -------------------------------------------------------------------------------- /news_nli/utils/logging_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/news_nli/utils/logging_handler.py -------------------------------------------------------------------------------- /news_nli/utils/nli_data_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/news_nli/utils/nli_data_reader.py -------------------------------------------------------------------------------- /news_nli/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/news_nli/utils/utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Complex-data/MUSER/HEAD/requirements.txt --------------------------------------------------------------------------------