├── .gitignore ├── Baseline ├── Baseline.ipynb ├── baseline_lstm.ipynb ├── baseline_lstm_attention.ipynb ├── empty └── readme ├── README.md ├── data ├── Baseline_data_training for hyperbolic.ipynb ├── download_multinli_data.sh ├── dummy.py ├── loader.py └── multinli_1.0 │ ├── README.txt │ └── paper.pdf ├── embeddings └── poincare │ ├── README.md │ └── download_pretrained_emb.sh ├── hypernn ├── README.md ├── __init__.py ├── config.py ├── embeddings.py ├── logger.py ├── models.py ├── modules.py ├── ops │ ├── __init__.py │ ├── common.py │ ├── euclid.py │ └── mobius.py ├── optim.py ├── test.py ├── train_hyperbolic_concatrnn.py ├── train_hyperbolic_deepavg_net.py └── training.py ├── report └── report.pdf ├── requirements.txt ├── run_tests.sh └── test ├── __init__.py ├── hypernn ├── ops │ └── test_mobius.py ├── test_models.py └── test_modules.py └── np_utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/.gitignore -------------------------------------------------------------------------------- /Baseline/Baseline.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/Baseline/Baseline.ipynb -------------------------------------------------------------------------------- /Baseline/baseline_lstm.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/Baseline/baseline_lstm.ipynb -------------------------------------------------------------------------------- /Baseline/baseline_lstm_attention.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/Baseline/baseline_lstm_attention.ipynb -------------------------------------------------------------------------------- /Baseline/empty: -------------------------------------------------------------------------------- 1 | #trial 2 | -------------------------------------------------------------------------------- /Baseline/readme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/Baseline/readme -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/README.md -------------------------------------------------------------------------------- /data/Baseline_data_training for hyperbolic.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/data/Baseline_data_training for hyperbolic.ipynb -------------------------------------------------------------------------------- /data/download_multinli_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/data/download_multinli_data.sh -------------------------------------------------------------------------------- /data/dummy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/data/dummy.py -------------------------------------------------------------------------------- /data/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/data/loader.py -------------------------------------------------------------------------------- /data/multinli_1.0/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/data/multinli_1.0/README.txt -------------------------------------------------------------------------------- /data/multinli_1.0/paper.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/data/multinli_1.0/paper.pdf -------------------------------------------------------------------------------- /embeddings/poincare/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/embeddings/poincare/README.md -------------------------------------------------------------------------------- /embeddings/poincare/download_pretrained_emb.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | curl https://polybox.ethz.ch/index.php/s/TzX6cXGqCX5KvAn/download > poincare_glove.tar 4 | -------------------------------------------------------------------------------- /hypernn/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/README.md -------------------------------------------------------------------------------- /hypernn/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hypernn/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/config.py -------------------------------------------------------------------------------- /hypernn/embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/embeddings.py -------------------------------------------------------------------------------- /hypernn/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/logger.py -------------------------------------------------------------------------------- /hypernn/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/models.py -------------------------------------------------------------------------------- /hypernn/modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/modules.py -------------------------------------------------------------------------------- /hypernn/ops/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hypernn/ops/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/ops/common.py -------------------------------------------------------------------------------- /hypernn/ops/euclid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/ops/euclid.py -------------------------------------------------------------------------------- /hypernn/ops/mobius.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/ops/mobius.py -------------------------------------------------------------------------------- /hypernn/optim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/optim.py -------------------------------------------------------------------------------- /hypernn/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/test.py -------------------------------------------------------------------------------- /hypernn/train_hyperbolic_concatrnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/train_hyperbolic_concatrnn.py -------------------------------------------------------------------------------- /hypernn/train_hyperbolic_deepavg_net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/train_hyperbolic_deepavg_net.py -------------------------------------------------------------------------------- /hypernn/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/hypernn/training.py -------------------------------------------------------------------------------- /report/report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/report/report.pdf -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/requirements.txt -------------------------------------------------------------------------------- /run_tests.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | pytest -v 4 | -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/hypernn/ops/test_mobius.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/test/hypernn/ops/test_mobius.py -------------------------------------------------------------------------------- /test/hypernn/test_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/test/hypernn/test_models.py -------------------------------------------------------------------------------- /test/hypernn/test_modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/test/hypernn/test_modules.py -------------------------------------------------------------------------------- /test/np_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dhruvdcoder/HyperA/HEAD/test/np_utils.py --------------------------------------------------------------------------------