├── .gitignore ├── LICENSE.txt ├── LeapOfThought ├── __init__.py ├── allennlp_models │ ├── __init__.py │ ├── config │ │ ├── esim_binary_qa.jsonnet │ │ └── transformer_binary_qa.jsonnet │ ├── dataset_readers │ │ ├── rule_reasoning_reader.py │ │ └── transformer_binary_qa_reader.py │ ├── models │ │ ├── esim_binary_qa_model.py │ │ └── transformer_binary_qa_model.py │ └── predictors │ │ └── transformer_binary_qa_predictor.py ├── artiset.py ├── artiset_factory.py ├── artisets │ ├── __init__.py │ ├── boolean_qa │ │ ├── __init__.py │ │ ├── concept_net.py │ │ ├── sizes.py │ │ └── twenty_questions.py │ ├── example_artiset.py │ └── soft_reasoning │ │ ├── __init__.py │ │ ├── counting.py │ │ ├── hypernyms.py │ │ ├── meronyms.py │ │ ├── rover.py │ │ └── taxonomic_reasoning_pilot.py ├── common │ ├── __init__.py │ ├── data_utils.py │ ├── file_utils.py │ ├── general.py │ ├── google_re_download.py │ └── trex_download.py ├── config.json ├── resources │ ├── __init__.py │ ├── conceptnet.py │ ├── teachai_kb.py │ ├── wikidata.py │ └── wordnet.py └── run.py ├── README.md ├── data └── resources │ ├── aristo-vocab-combined-kb-v3.tsv.zip │ ├── bands.csv │ ├── cities.csv │ ├── company_founders.csv │ ├── composition_v2.csv │ ├── conj_hyper_filter.csv │ ├── female_names.txt │ ├── fortune1000.xlsx │ ├── hasPartKB-srt.tsv │ ├── male_names.txt │ ├── manual_kb.csv │ ├── netflix_titles.csv │ ├── netflix_titles.csv.zip │ ├── pc_words.csv │ ├── person_children.csv │ ├── spouses.csv │ ├── superbowl.csv │ ├── taxonomy.txt │ ├── teachai_kb.csv │ ├── teachai_kb_backup.csv │ ├── wordnet-simple-isa-parts-v3.tsv │ ├── wordnet-simple-isa-parts-v3.tsv.zip │ └── wordnet_filtered_hypernyms.csv.gz ├── requirements.txt └── tests ├── artisets ├── __init__.py ├── boolean_qa │ ├── concept_net_test.py │ ├── sizes_test.py │ └── twenty_questions_test.py ├── example_artiset_test.py └── soft_reasoning │ ├── counting_test.py │ ├── hypernyms_test.py │ ├── meronyms_test.py │ ├── rover_test.py │ └── taxonomic_reasoning_pilot_test.py └── resources └── teachai_kb_tests.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /LeapOfThought/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/__init__.py -------------------------------------------------------------------------------- /LeapOfThought/allennlp_models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/allennlp_models/__init__.py -------------------------------------------------------------------------------- /LeapOfThought/allennlp_models/config/esim_binary_qa.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/allennlp_models/config/esim_binary_qa.jsonnet -------------------------------------------------------------------------------- /LeapOfThought/allennlp_models/config/transformer_binary_qa.jsonnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/allennlp_models/config/transformer_binary_qa.jsonnet -------------------------------------------------------------------------------- /LeapOfThought/allennlp_models/dataset_readers/rule_reasoning_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/allennlp_models/dataset_readers/rule_reasoning_reader.py -------------------------------------------------------------------------------- /LeapOfThought/allennlp_models/dataset_readers/transformer_binary_qa_reader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/allennlp_models/dataset_readers/transformer_binary_qa_reader.py -------------------------------------------------------------------------------- /LeapOfThought/allennlp_models/models/esim_binary_qa_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/allennlp_models/models/esim_binary_qa_model.py -------------------------------------------------------------------------------- /LeapOfThought/allennlp_models/models/transformer_binary_qa_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/allennlp_models/models/transformer_binary_qa_model.py -------------------------------------------------------------------------------- /LeapOfThought/allennlp_models/predictors/transformer_binary_qa_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/allennlp_models/predictors/transformer_binary_qa_predictor.py -------------------------------------------------------------------------------- /LeapOfThought/artiset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/artiset.py -------------------------------------------------------------------------------- /LeapOfThought/artiset_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/artiset_factory.py -------------------------------------------------------------------------------- /LeapOfThought/artisets/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LeapOfThought/artisets/boolean_qa/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LeapOfThought/artisets/boolean_qa/concept_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/artisets/boolean_qa/concept_net.py -------------------------------------------------------------------------------- /LeapOfThought/artisets/boolean_qa/sizes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/artisets/boolean_qa/sizes.py -------------------------------------------------------------------------------- /LeapOfThought/artisets/boolean_qa/twenty_questions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/artisets/boolean_qa/twenty_questions.py -------------------------------------------------------------------------------- /LeapOfThought/artisets/example_artiset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/artisets/example_artiset.py -------------------------------------------------------------------------------- /LeapOfThought/artisets/soft_reasoning/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/artisets/soft_reasoning/__init__.py -------------------------------------------------------------------------------- /LeapOfThought/artisets/soft_reasoning/counting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/artisets/soft_reasoning/counting.py -------------------------------------------------------------------------------- /LeapOfThought/artisets/soft_reasoning/hypernyms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/artisets/soft_reasoning/hypernyms.py -------------------------------------------------------------------------------- /LeapOfThought/artisets/soft_reasoning/meronyms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/artisets/soft_reasoning/meronyms.py -------------------------------------------------------------------------------- /LeapOfThought/artisets/soft_reasoning/rover.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/artisets/soft_reasoning/rover.py -------------------------------------------------------------------------------- /LeapOfThought/artisets/soft_reasoning/taxonomic_reasoning_pilot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/artisets/soft_reasoning/taxonomic_reasoning_pilot.py -------------------------------------------------------------------------------- /LeapOfThought/common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LeapOfThought/common/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/common/data_utils.py -------------------------------------------------------------------------------- /LeapOfThought/common/file_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/common/file_utils.py -------------------------------------------------------------------------------- /LeapOfThought/common/general.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/common/general.py -------------------------------------------------------------------------------- /LeapOfThought/common/google_re_download.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/common/google_re_download.py -------------------------------------------------------------------------------- /LeapOfThought/common/trex_download.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/common/trex_download.py -------------------------------------------------------------------------------- /LeapOfThought/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/config.json -------------------------------------------------------------------------------- /LeapOfThought/resources/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LeapOfThought/resources/conceptnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/resources/conceptnet.py -------------------------------------------------------------------------------- /LeapOfThought/resources/teachai_kb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/resources/teachai_kb.py -------------------------------------------------------------------------------- /LeapOfThought/resources/wikidata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/resources/wikidata.py -------------------------------------------------------------------------------- /LeapOfThought/resources/wordnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/resources/wordnet.py -------------------------------------------------------------------------------- /LeapOfThought/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/LeapOfThought/run.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/README.md -------------------------------------------------------------------------------- /data/resources/aristo-vocab-combined-kb-v3.tsv.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/aristo-vocab-combined-kb-v3.tsv.zip -------------------------------------------------------------------------------- /data/resources/bands.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/bands.csv -------------------------------------------------------------------------------- /data/resources/cities.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/cities.csv -------------------------------------------------------------------------------- /data/resources/company_founders.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/company_founders.csv -------------------------------------------------------------------------------- /data/resources/composition_v2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/composition_v2.csv -------------------------------------------------------------------------------- /data/resources/conj_hyper_filter.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/conj_hyper_filter.csv -------------------------------------------------------------------------------- /data/resources/female_names.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/female_names.txt -------------------------------------------------------------------------------- /data/resources/fortune1000.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/fortune1000.xlsx -------------------------------------------------------------------------------- /data/resources/hasPartKB-srt.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/hasPartKB-srt.tsv -------------------------------------------------------------------------------- /data/resources/male_names.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/male_names.txt -------------------------------------------------------------------------------- /data/resources/manual_kb.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/manual_kb.csv -------------------------------------------------------------------------------- /data/resources/netflix_titles.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/netflix_titles.csv -------------------------------------------------------------------------------- /data/resources/netflix_titles.csv.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/netflix_titles.csv.zip -------------------------------------------------------------------------------- /data/resources/pc_words.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/pc_words.csv -------------------------------------------------------------------------------- /data/resources/person_children.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/person_children.csv -------------------------------------------------------------------------------- /data/resources/spouses.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/spouses.csv -------------------------------------------------------------------------------- /data/resources/superbowl.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/superbowl.csv -------------------------------------------------------------------------------- /data/resources/taxonomy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/taxonomy.txt -------------------------------------------------------------------------------- /data/resources/teachai_kb.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/teachai_kb.csv -------------------------------------------------------------------------------- /data/resources/teachai_kb_backup.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/teachai_kb_backup.csv -------------------------------------------------------------------------------- /data/resources/wordnet-simple-isa-parts-v3.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/wordnet-simple-isa-parts-v3.tsv -------------------------------------------------------------------------------- /data/resources/wordnet-simple-isa-parts-v3.tsv.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/wordnet-simple-isa-parts-v3.tsv.zip -------------------------------------------------------------------------------- /data/resources/wordnet_filtered_hypernyms.csv.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/data/resources/wordnet_filtered_hypernyms.csv.gz -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/requirements.txt -------------------------------------------------------------------------------- /tests/artisets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/tests/artisets/__init__.py -------------------------------------------------------------------------------- /tests/artisets/boolean_qa/concept_net_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/tests/artisets/boolean_qa/concept_net_test.py -------------------------------------------------------------------------------- /tests/artisets/boolean_qa/sizes_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/tests/artisets/boolean_qa/sizes_test.py -------------------------------------------------------------------------------- /tests/artisets/boolean_qa/twenty_questions_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/tests/artisets/boolean_qa/twenty_questions_test.py -------------------------------------------------------------------------------- /tests/artisets/example_artiset_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/tests/artisets/example_artiset_test.py -------------------------------------------------------------------------------- /tests/artisets/soft_reasoning/counting_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/tests/artisets/soft_reasoning/counting_test.py -------------------------------------------------------------------------------- /tests/artisets/soft_reasoning/hypernyms_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/tests/artisets/soft_reasoning/hypernyms_test.py -------------------------------------------------------------------------------- /tests/artisets/soft_reasoning/meronyms_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/tests/artisets/soft_reasoning/meronyms_test.py -------------------------------------------------------------------------------- /tests/artisets/soft_reasoning/rover_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/tests/artisets/soft_reasoning/rover_test.py -------------------------------------------------------------------------------- /tests/artisets/soft_reasoning/taxonomic_reasoning_pilot_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/tests/artisets/soft_reasoning/taxonomic_reasoning_pilot_test.py -------------------------------------------------------------------------------- /tests/resources/teachai_kb_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alontalmor/LeapOfThought/HEAD/tests/resources/teachai_kb_tests.py --------------------------------------------------------------------------------