├── .gitignore ├── Dockerfile ├── README.md ├── requirements-with-torch.txt ├── requirements.txt ├── run.py └── src ├── __init__.py ├── data ├── __init__.py ├── glue_utils.py ├── mtl_dataset.py └── task_dataset.py ├── model ├── ca_mtl.py ├── decoder.py └── encoders │ ├── bert.py │ ├── ca_mtl_base.py │ ├── ca_mtl_large.py │ └── conditional_modules.py ├── mtl_trainer.py └── utils ├── __init__.py └── misc.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/README.md -------------------------------------------------------------------------------- /requirements-with-torch.txt: -------------------------------------------------------------------------------- 1 | torch==1.6.0 2 | -r requirements.txt 3 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/requirements.txt -------------------------------------------------------------------------------- /run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/run.py -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/data/glue_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/src/data/glue_utils.py -------------------------------------------------------------------------------- /src/data/mtl_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/src/data/mtl_dataset.py -------------------------------------------------------------------------------- /src/data/task_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/src/data/task_dataset.py -------------------------------------------------------------------------------- /src/model/ca_mtl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/src/model/ca_mtl.py -------------------------------------------------------------------------------- /src/model/decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/src/model/decoder.py -------------------------------------------------------------------------------- /src/model/encoders/bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/src/model/encoders/bert.py -------------------------------------------------------------------------------- /src/model/encoders/ca_mtl_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/src/model/encoders/ca_mtl_base.py -------------------------------------------------------------------------------- /src/model/encoders/ca_mtl_large.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/src/model/encoders/ca_mtl_large.py -------------------------------------------------------------------------------- /src/model/encoders/conditional_modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/src/model/encoders/conditional_modules.py -------------------------------------------------------------------------------- /src/mtl_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/src/mtl_trainer.py -------------------------------------------------------------------------------- /src/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/utils/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CAMTL/CA-MTL/HEAD/src/utils/misc.py --------------------------------------------------------------------------------