allenai / allenai/hidden-networks

Why the absolute value of scores?

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

説明

When I ran the code, I found the gradients weird. I finally realized it was the `scores.abs()` step that flipped the sign of gradients.
Could you explain why we take the absolute value of this? I did notice in the paper there's a footnote.
> To ensure that the scores are positive we take the absolute value.

I think it could also work if we remove the `abs` operation, which matches the actual algorithm described in the paper; maybe that's just a heuristic.

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

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

評価

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

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

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