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"
}