├── .gitignore ├── AnnotationInterface ├── cleanup_unsubmitted.py ├── templates │ ├── feedback.html │ ├── login.html │ └── questions.html └── webserver.py ├── CLARK_news └── full │ ├── external_sources.json │ ├── external_sources_cache.jsonl │ ├── property_to_results.csv │ ├── questions.csv │ ├── timestamp_to_questions.json │ └── url_timestamp_to_archive_url.jsonl ├── CheckInterface ├── cleanup_unsubmitted.py ├── templates │ ├── feedback.html │ ├── login.html │ └── questions.html └── webserver.py ├── README.md ├── dataloaders ├── __init__.py ├── convo_dataset.py └── news_dataset.py ├── imgs ├── dataset.png ├── method.png └── teaser.png ├── lm_eval.py ├── models ├── __init__.py ├── kb_model.py └── lang_model.py ├── requirements.txt ├── script ├── extract_queries.py ├── generate_wikidata_questions.py ├── get_wikidata_triples.py └── pull_external_sources.py ├── setup.sh └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/.gitignore -------------------------------------------------------------------------------- /AnnotationInterface/cleanup_unsubmitted.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/AnnotationInterface/cleanup_unsubmitted.py -------------------------------------------------------------------------------- /AnnotationInterface/templates/feedback.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/AnnotationInterface/templates/feedback.html -------------------------------------------------------------------------------- /AnnotationInterface/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/AnnotationInterface/templates/login.html -------------------------------------------------------------------------------- /AnnotationInterface/templates/questions.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/AnnotationInterface/templates/questions.html -------------------------------------------------------------------------------- /AnnotationInterface/webserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/AnnotationInterface/webserver.py -------------------------------------------------------------------------------- /CLARK_news/full/external_sources.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/CLARK_news/full/external_sources.json -------------------------------------------------------------------------------- /CLARK_news/full/external_sources_cache.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/CLARK_news/full/external_sources_cache.jsonl -------------------------------------------------------------------------------- /CLARK_news/full/property_to_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/CLARK_news/full/property_to_results.csv -------------------------------------------------------------------------------- /CLARK_news/full/questions.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/CLARK_news/full/questions.csv -------------------------------------------------------------------------------- /CLARK_news/full/timestamp_to_questions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/CLARK_news/full/timestamp_to_questions.json -------------------------------------------------------------------------------- /CLARK_news/full/url_timestamp_to_archive_url.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/CLARK_news/full/url_timestamp_to_archive_url.jsonl -------------------------------------------------------------------------------- /CheckInterface/cleanup_unsubmitted.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/CheckInterface/cleanup_unsubmitted.py -------------------------------------------------------------------------------- /CheckInterface/templates/feedback.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/CheckInterface/templates/feedback.html -------------------------------------------------------------------------------- /CheckInterface/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/CheckInterface/templates/login.html -------------------------------------------------------------------------------- /CheckInterface/templates/questions.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/CheckInterface/templates/questions.html -------------------------------------------------------------------------------- /CheckInterface/webserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/CheckInterface/webserver.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/README.md -------------------------------------------------------------------------------- /dataloaders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/dataloaders/__init__.py -------------------------------------------------------------------------------- /dataloaders/convo_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/dataloaders/convo_dataset.py -------------------------------------------------------------------------------- /dataloaders/news_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/dataloaders/news_dataset.py -------------------------------------------------------------------------------- /imgs/dataset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/imgs/dataset.png -------------------------------------------------------------------------------- /imgs/method.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/imgs/method.png -------------------------------------------------------------------------------- /imgs/teaser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/imgs/teaser.png -------------------------------------------------------------------------------- /lm_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/lm_eval.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/models/__init__.py -------------------------------------------------------------------------------- /models/kb_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/models/kb_model.py -------------------------------------------------------------------------------- /models/lang_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/models/lang_model.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/requirements.txt -------------------------------------------------------------------------------- /script/extract_queries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/script/extract_queries.py -------------------------------------------------------------------------------- /script/generate_wikidata_questions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/script/generate_wikidata_questions.py -------------------------------------------------------------------------------- /script/get_wikidata_triples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/script/get_wikidata_triples.py -------------------------------------------------------------------------------- /script/pull_external_sources.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/script/pull_external_sources.py -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/setup.sh -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/belindal/ERASE/HEAD/utils.py --------------------------------------------------------------------------------