allenai / allenai/longformer

fail to reproduce the result of the Wikihop dataset

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

説明

Following the implementation detail in Longformer paper, as below, I tried to reproduce the Roberta result on wikihop dataset, but only got f1 66.47 (lr=3e-5, epoch15, bsz64), much lower than 72.4 (in paper).
![image](https://user-images.githubusercontent.com/6142174/99340994-0951f800-28c4-11eb-91d6-45a2417f2bf3.png)

I want to check the way I implemented is correct.

1. There is only one sample in one batch, and each row of the batch stores one chunk of the sample.
2. Each chunk is represented as **[q] question [/q] [ent] cand1 [/ent] [ent] cand2 [/ent] ... [ent] candN [/ent] context1 **, always carried with **[q] question [/q] [ent] cand1 [/ent] [ent] cand2 [/ent] ... [ent] candN [/ent]** .
3. I found the question in wikihop dataset is composed by a property and an object, such as
> member_of_political_party thomas l. woolwine

so I replace the '_' with a whitespace.
4. do not shuffle multiple contexts (supports) in one sample
5. do not shuffle candidates in one chunk

Any suggestions and comments are welcomed. Thanks.

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

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

評価

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

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

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