Highway Transformer
1.0.0
该仓库是使用Self-Dependency Unit的 Transformer-XL 的演示代码。这项工作与 Gating-enhanced Transformer 变体密切相关,例如 Google 的 Switch Transformer。
柴业坤等。等人。 , Highway Transformer :自门增强型自我关注网络 (ACL 2020)
bash getdata.sh
cd pytorch/xl_L6_scripts && bash < script-name > .sh train --work_dir " PATH_TO_WORK_DIR "
cd XL-L6-results && tensorboard --logdir=.
训练业务流程 | 训练损失 |
---|---|
评估bpc | 评估损失 |
---|---|
对于学术背景下的归属,请将本作品引用为:
@inproceedings{chai-etal-2020-highway,
title = " Highway Transformer : Self-Gating Enhanced Self-Attentive Networks",
author = "Chai, Yekun and
Jin, Shuo and
Hou, Xinwen",
booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
month = jul,
year = "2020",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/2020.acl-main.616",
pages = "6887--6900"
}