allenai / allenai/longformer

fail to reproduce the result of the Wikihop dataset

未关闭
#137 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
2.2k
派生
286
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 摘要。