Labs · Inside the block

The sinusoidal table

Position as a fingerprint of sines and cosines at geometrically spaced frequencies.

dimension pairs (first 8 of 8) — divisor and wavelength grow geometrically
divisor 10000^(2i/d)period 2π·divisor
pair (0, 1)1.006.28
pair (2, 3)3.1619.87
pair (4, 5)10.0062.83
pair (6, 7)31.62198.69
pair (8, 9)100.00628.32
pair (10, 11)316.231986.92
pair (12, 13)1000.006283.19
pair (14, 15)3162.2819869.18

The sinusoidal PE matrix

Reads /api/positional-encoding/sinusoidal — loading

Computing…

The sinusoidal table — Labs — TransformerLab