alexhw15 / HiRe

4 stars 1 forks source link

关于epoch的设置 #3

Open YuyangWei opened 9 months ago

YuyangWei commented 9 months ago

您好,感谢分享。我在论文中看到您设置的epoch是30000。但是,我将epoch设置为30000时,结果相差很大。能具体说明你大约在多少epoch得到最优参数吗?期刊您的回复。

alexhw15 commented 9 months ago

I think the best epoch for nell 5-shot/3-shot/1-shot are 30000/40000/50000-ish, respectively.

YuyangWei commented 9 months ago

Thanks for your reply. I run the code with 1-shot setting command presented in Readme. But, the results significantly differ from the results reported in the paper. Can you tell me how to set a random seed or provide other processing techniques?

alexhw15 commented 9 months ago

Hi YuyangWei,

I have re-run the code on another device using the codes, datasets and run/test scripts directly downloaded from this repo. The best epoch under 1-shot setting on Nell dataset is 53, 000. On validation set, the MRR and Hits@10/5/1 is 0.154, 0.328, 0.237 and 0.066. On test set (which related work and our paper reports on), the results are 0.286, 0.468, 0.398 and 0.188, consistent with what we've reported. Hope this is helpful to you.

supersssp commented 9 months ago

我运行的结果在Nell 数据集上 1-shot 设置下的最佳 epoch 为 35, 000

YuyangWei commented 9 months ago

谢谢您的回复,我已经运行出和论文报告相近的结果

supersssp commented 9 months ago

hello, I run the code 1-shot on WiKI dataset. But,the result of MRR is only 0.240 . Can you tell me the command to train the wiki dataset and the the best epoch for wiki?