allenai / allenai/hidden-networks
Why the absolute value of scores?
オープン
- 主要言語
- 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 はまだ評価されていません。