DTRD Source code for the paper "Towards Long-delayed Sparsity: Learning a Better Transformer through Reward Redistribution" accepted by IJCAI 2023.