Commit 08a6dc8
authored
Flax: Flip sin to cos in time embeddings (huggingface#1149)
Flip sin to cos in t embeddings.
This was assumed in the previous implementation, but now the default is
the opposite.
Fixes huggingface#1145.1 parent 9d8943b commit 08a6dc8
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
0 commit comments