davda54 / sam

SAM: Sharpness-Aware Minimization (PyTorch)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do we give credit?

ClashLuke opened this issue · comments

We're interested in integrating SAM into HomebrewNLP, and straight-up copying the code without copyright or notice doesn't sit right with me.
How would you prefer us to cite you?
I propose adding a header to sam.py as it's done in Shampoo.

Until this is resolved, I will add sam.py with a default notice to our repository.

Hi, thank you very much for using this implementation! :) Adding a header with a link to this repository is absolutely fine, thanks :)