allenai / allenai/longformer

Autoregressive and Relative Position Embedding Support

オープン
#219 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
2.2k
フォーク
285
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi! Nice work on the Longformer model! I am learning your model and have got some questions:

- I guess the code of LongformerSelfAttention has never enabled the `autoregressive` mode? Since I noticed that the `autoregressive` parameter is always set `False` when calling `diagonaled_mm_tvm`. If it is a bug, could you please fix it asap?
- Does this code support relative position embedding, as you mentioned in the paper that rpe is used in the autoregressive LM. If not, could you please release this part of code?

Thank you~

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。