Recently I've been building a rec system (for what it feels like...

In my past life we found 128 bytes per embedding (32 floats, 64 half floats, or 1024 bits) to be enough. Two tricks I've found really effective:
Outcome are lower dim representations that are quite performant, with 64 dim (half floats) being a decent tradeoff of performance and efficiency.
Note: we've observed this method to be more performance empirically than just training 64 dimensional embeddings directly.
What this encourages the model to learn are zero centered embeddings where negative values don't matter. In practice during inference you can then threshold each dimension value at zero (1 if > 0) to product binary embeddings (e.g. 1024 bits) where hamming distance is nearly as performant as the float counterpart.

