facebookresearch / facebookresearch/SpinQuant

Training R4

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
428
Forks
93
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have had good success so far reproducing results training R1/R2.

I am wondering if you attempted to train per-layer R4 rotation?

Bonus question: why is the orthogonality contraint required? Would we not just be able to train over invertible matrices, such that:

```
AB = BA = I_n
```

and
```
y = x @ W.T = (x @ A) @ (W @ B.T).T
```

?

Thank you!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.