Skip to content

szhang42/alignment_attention

Repository files navigation

We adapt our code from huggingface. For details, please refer to the original repository.

Our code works for ALBERT. The codebase is compatible for finetuning pretrained ALBERT model on GLUE and SQUAD datasets. We provide an example bash file under examples folder to finetune ALBERT. The flag adver_type controls the alignment method was used.

Citation

@article{zhang2021alignment,
  title={Alignment Attention by Matching Key and Query Distributions},
  author={Zhang, Shujian and Fan, Xinjie and Zheng, Huangjie and Tanwisuth, Korawat and Zhou, Mingyuan},
  journal={arXiv preprint arXiv:2110.12567},
  year={2021}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published