├── README.md ├── models ├── TENER.py └── __init__.py ├── modules ├── TransformerEmbedding.py ├── __init__.py ├── callbacks.py ├── pipe.py ├── relative_transformer.py ├── transformer.py └── utils.py ├── requirements.txt ├── train_elmo_en.py ├── train_tener_cn.py └── train_tener_en.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastnlp/TENER/HEAD/README.md -------------------------------------------------------------------------------- /models/TENER.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastnlp/TENER/HEAD/models/TENER.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/TransformerEmbedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastnlp/TENER/HEAD/modules/TransformerEmbedding.py -------------------------------------------------------------------------------- /modules/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/callbacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastnlp/TENER/HEAD/modules/callbacks.py -------------------------------------------------------------------------------- /modules/pipe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastnlp/TENER/HEAD/modules/pipe.py -------------------------------------------------------------------------------- /modules/relative_transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastnlp/TENER/HEAD/modules/relative_transformer.py -------------------------------------------------------------------------------- /modules/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastnlp/TENER/HEAD/modules/transformer.py -------------------------------------------------------------------------------- /modules/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastnlp/TENER/HEAD/modules/utils.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | fastNLP>=0.5 -------------------------------------------------------------------------------- /train_elmo_en.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastnlp/TENER/HEAD/train_elmo_en.py -------------------------------------------------------------------------------- /train_tener_cn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastnlp/TENER/HEAD/train_tener_cn.py -------------------------------------------------------------------------------- /train_tener_en.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastnlp/TENER/HEAD/train_tener_en.py --------------------------------------------------------------------------------